Reverse Engineering for Beginners

(avery) #1
APPENDIX E. SOME MSVC LIBRARY FUNCTIONS APPENDIX E. SOME MSVC LIBRARY FUNCTIONS

Appendix E


Some MSVC library functions


llin function name stands for “long long”, e.g., a 64-bit data type.

name meaning
__alldiv signed division
__allmul multiplication
__allrem remainder of signed division
__allshl shift left
__allshr signed shift right
__aulldiv unsigned division
__aullrem remainder of unsigned division
__aullshr unsigned shift right

Multiplication and shift left procedures are the same for both signed and unsigned numbers, hence there is only one function
for each operation here.

The source code of these function can be found in the installedMSVS, inVC/crt/src/intel/*.asm.
Free download pdf