Function at 0x4cf00a
Capabilities:
Get system information on windows

Disassembly:
test eax, eax
je 0x4ceeed
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x74c648]
cmp ebp, eax
jb 0x4cefd8
mov ebx, dword [0x74c64c]
lea edx, [eax + ebx]
cmp ebp, edx
jae 0x4cefd8
mov esi, dword [0x74c654]
add ebx, ebp
xor edx, edx
sub ebx, eax
lea ecx, [esi - 1]
mov esi, dword [0x74c658]
mov eax, ebx
div esi
mov edx, dword [0x74c65c]
cmp ebx, esi
jb 0x4cec92
mov ebx, eax
shr ebx, 3
jmp 0x4cec84
test al, 1
jne 0x4cefa0
mov ebx, eax
sub ecx, 1
shr eax, 1
je 0x4cec92
shr ebx, 4
movzx esi, byte [edx + ebx]
mov ebx, eax
and ebx, 7
bt esi, ebx
jae 0x4cec70
mov esi, ecx
mov eax, ebp
mov ecx, edx
mov edx, esi
call fcn.004cea60
test eax, eax
je 0x4cefbc
mov ecx, dword [0x74c660]
mov edx, esi
mov eax, ebp
call fcn.004ce980
mov eax, dword [0x74c650]
mov edx, ebp
lea eax, [eax + esi*4]
call fcn.004ce8a0
jmp 0x4cee98
mov ebx, dword [0x74c660]
movzx eax, byte [ebx + eax]
mov dword [esp + 0x24], ebx
bt eax, ecx
jb 0x4ceee5
mov eax, 0xffffffff
mov ecx, esi
mov ebx, dword [esp + 0x1c]
shl eax, cl
not eax
mov dword [esp + 0x2c], eax
and eax, edx
imul eax, ebx
mov ebx, dword [esp + 0x28]
add ebx, eax
je 0x4ceee5
xor edx, edx
div dword [esp + 0x1c]
add eax, edi
mov edi, dword [esp + 0x20]
mov edx, eax
shr eax, 3
xor edx, 1
movzx edi, byte [edi + eax]
mov ecx, edx
and ecx, 7
bt edi, ecx
jae 0x4cef30
mov edi, dword [esp + 0x24]
movzx eax, byte [edi + eax]
bt eax, ecx
jb 0x4cef30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
and edx, eax
mov eax, dword [esp + 0x28]
imul edx, ecx
add eax, edx
cmp ebp, eax
jne 0x4cef30
mov ecx, edi
mov edx, esi
mov eax, ebp
call fcn.004cea60
test eax, eax
jne 0x4cef4c
mov ecx, dword [esp + 0x20]
mov eax, ebp
mov edx, esi
call fcn.004ce980
mov eax, dword [ebp]
test eax, eax
je 0x4ced8a
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov eax, dword [ebp]
test eax, eax
je 0x4cedcc
mov eax, dword [eax + 4]
mov edx, dword [0x74c650]
cmp eax, edx
jb 0x4cedb0
mov ecx, dword [0x74c654]
lea edx, [edx + ecx*4]
cmp eax, edx
jb 0x4cedcc
mov edx, dword [0x74c648]
cmp eax, edx
jb 0x4ceeee
add edx, dword [0x74c64c]
cmp eax, edx
jae 0x4ceeee
mov ecx, dword [0x74c660]
mov edx, esi
mov eax, ebp
call fcn.004cea60
test eax, eax
jne 0x4cef0a
mov ecx, dword [0x74c65c]
mov eax, ebx
mov edx, esi
call fcn.004ce980
mov eax, dword [ebx]
test eax, eax
je 0x4cedfe
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov eax, dword [ebx]
test eax, eax
je 0x4cee3f
mov eax, dword [eax + 4]
mov edx, dword [0x74c650]
cmp eax, edx
jb 0x4cee23
mov ecx, dword [0x74c654]
lea edx, [edx + ecx*4]
cmp eax, edx
jb 0x4cee3f
mov edx, dword [0x74c648]
cmp eax, edx
jb 0x4ceeee
add edx, dword [0x74c64c]
cmp eax, edx
jae 0x4ceeee
sub esi, 1
mov eax, ebx
cmp ebp, ebx
cmovae eax, ebp
cmova ebp, ebx
mov edx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [0x74c660]
mov eax, ebp
call fcn.004cea60
test eax, eax
jne 0x4cef68
mov ecx, dword [0x74c65c]
mov edx, esi
mov eax, ebp
call fcn.004ce7c0
mov eax, dword [0x74c650]
mov edx, ebp
lea ebx, [eax + esi*4]
mov eax, ebx
call fcn.004ce8a0
cmp ebp, dword [ebx]
jne 0x4cef84
mov edx, dword [0x74c648]
mov ecx, esi
mov eax, ebp
mov edi, 1
mov ebx, dword [0x74c64c]
shl edi, cl
sub eax, edx
mov dword [esp + 0x28], edx
xor edx, edx
shr ebx, cl
div ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [0x74c65c]
mov dword [esp + 0x20], ebx
add eax, edi
mov ecx, eax
shr eax, 3
xor ecx, 1
movzx ebx, byte [ebx + eax]
mov edx, ecx
and ecx, 7
bt ebx, ecx
jb 0x4cecd0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
ret
mov dword [esp + 8], 0x196
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_WITHIN_FREELIST_temp2__p_next___WITHIN_ARENA_temp2__p_next_
call fcn.004cba60
mov dword [esp + 8], 0x2bc
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__sh_testbit_ptr__list__sh.bitmalloc_
call fcn.004cba60
lea esi, cs:[esi]
nop
mov dword [esp + 8], 0x2b7
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_ptr__sh_find_my_buddy_buddy__list_
call fcn.004cba60
mov dword [esp + 8], 0x2b9
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__sh_testbit_ptr__list__sh.bitmalloc_
call fcn.004cba60
mov dword [esp + 8], 0x2c7
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__sh_testbit_ptr__list__sh.bitmalloc_
call fcn.004cba60
mov dword [esp + 8], 0x2ca
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_sh.freelist_list___ptr
call fcn.004cba60
mov dword [esp + 8], 0x14c
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__bit__1___0
call fcn.004cba60
mov dword [esp + 8], 0x2b1
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_sh_testbit_ptr__list__sh.bittable_
call fcn.004cba60
mov dword [esp + 8], 0x2ac
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_WITHIN_ARENA_ptr_
call fcn.004cba60
lea esi, cs:[esi]
lea esi, [esi]
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [0x74c66c]
test ecx, ecx
je 0x4cf038
lea esp, [ebp - 0x10]
xor ebx, ebx
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call fcn.004de360
mov dword [0x74c668], eax
test eax, eax
je 0x4cf023
pxor xmm0, xmm0
movups xmmword [0x74c650], xmm0
movups xmmword [0x74c640], xmm0
movups xmmword [0x74c658], xmm0
test ebx, ebx
je 0x4cf34a
lea eax, [ebx - 1]
test eax, ebx
jne 0x4cf32e
cmp esi, 8
jbe 0x4cf250
lea eax, [esi - 1]
test eax, esi
jne 0x4cf382
xor edx, edx
mov eax, ebx
mov dword [0x74c64c], ebx
div esi
mov dword [0x74c658], esi
add eax, eax
mov edi, eax
mov dword [0x74c664], eax
shr edi, 3
je 0x4cf260
bsr eax, eax
mov dword [0x74c654], eax
shl eax, 2
mov dword [esp + 8], 0x1cf
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], eax
call fcn.004ce500
mov dword [0x74c650], eax
test eax, eax
je 0x4cf3ba
mov dword [esp + 8], 0x1d4
mov dword [esp + 4], str..._crypto_mem_sec.c
mov eax, dword [0x74c664]
shr eax, 3
mov dword [esp], eax
call fcn.004ce500
mov dword [0x74c65c], eax
test eax, eax
je 0x4cf39e
mov dword [esp + 8], 0x1d9
mov dword [esp + 4], str..._crypto_mem_sec.c
mov eax, dword [0x74c664]
shr eax, 3
mov dword [esp], eax
call fcn.004ce500
mov dword [0x74c660], eax
test eax, eax
je 0x4cf366
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0x38]
mov eax, dword [0x74c64c]
sub esp, 4
lea edi, [esi + esi]
add eax, edi
mov dword [0x74c644], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x74c640], eax
sub esp, 0x10
test eax, eax
je 0x4cf300
mov ecx, dword [0x74c65c]
add eax, esi
xor edx, edx
mov ebx, 1
mov dword [0x74c648], eax
call fcn.004ce7c0
mov edx, dword [0x74c648]
mov eax, dword [0x74c650]
call fcn.004ce8a0
lea ecx, [ebp - 0x40]
mov dword [esp + 4], esi
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov eax, dword [0x74c640]
mov dword [esp], eax
mov dword [ebp - 0x4c], edx
call edx
lea ecx, [ebp - 0x40]
sub esp, 0x10
cmp eax, 1
mov dword [esp + 0xc], ecx
adc ebx, 0
mov dword [esp + 4], esi
neg esi
mov dword [esp + 8], 1
mov eax, dword [0x74c64c]
lea eax, [edi + eax - 1]
and eax, esi
add eax, dword [0x74c640]
mov esi, 2
mov dword [esp], eax
mov edx, dword [ebp - 0x4c]
call edx
sub esp, 0x10
test eax, eax
mov eax, dword [0x74c64c]
cmove ebx, esi
mov dword [esp + 4], eax
mov eax, dword [0x74c648]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov dword [0x74c66c], 1
sub esp, 8
test eax, eax
cmove ebx, esi
lea esp, [ebp - 0x10]
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov esi, 8
jmp 0x4cf086
xor eax, eax
mov dword [esp], eax
mov dword [esp + 8], 0x244
mov dword [esp + 4], str..._crypto_mem_sec.c
call fcn.004ce2f0
mov dword [esp + 8], 0x245
mov dword [esp + 4], str..._crypto_mem_sec.c
mov eax, dword [0x74c65c]
mov dword [esp], eax
call fcn.004ce2f0
mov dword [esp + 8], 0x246
mov dword [esp + 4], str..._crypto_mem_sec.c
mov eax, dword [0x74c660]
mov dword [esp], eax
call fcn.004ce2f0
mov eax, dword [0x74c640]
test eax, eax
je 0x4cf2c7
mov edx, dword [0x74c644]
test edx, edx
jne 0x4cf310
mov eax, dword [0x74c668]
pxor xmm0, xmm0
movups xmmword [0x74c650], xmm0
movups xmmword [0x74c640], xmm0
movups xmmword [0x74c658], xmm0
mov dword [esp], eax
call fcn.004de440
mov dword [0x74c668], 0
jmp 0x4cf023
mov eax, dword [0x74c650]
jmp 0x4cf262
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
sub esp, 0xc
jmp 0x4cf2c7
mov dword [esp + 8], 0x1a9
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__size___size___1____0
call fcn.004cba60
mov dword [esp + 8], 0x1a8
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_size___0
call fcn.004cba60
mov dword [esp + 8], 0x1da
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_sh.bitmalloc___NULL
call fcn.004cba60
mov dword [esp + 8], 0x1be
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:__minsize___minsize___1____0
call fcn.004cba60
mov dword [esp + 8], 0x1d5
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_sh.bittable___NULL
call fcn.004cba60
mov dword [esp + 8], 0x1d0
mov dword [esp + 4], str..._crypto_mem_sec.c
mov dword [esp], str.assertion_failed:_sh.freelist___NULL
call fcn.004cba60
lea esi, cs:[esi]
nop