Function at 0x4cfcec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4cfd29
mov eax, dword [ebp - 0xc]
push eax
push 0x3000
mov eax, dword [ebp - 8]
push eax
push 0
call dword [0x4ec45c]
mov dword [ebp - 0x10], eax
jmp 0x4cfeb0
lea eax, [ebp - 0x70]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jb 0x4cfeb0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
ja 0x4cfeb0
push 0x1c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4ec468]
test eax, eax
je 0x4cfeb0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jae 0x4cfe19
push 0x1c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4ec468]
test eax, eax
je 0x4cfeb0
cmp dword [ebp - 0x3c], 0x10000
jne 0x4cfe07
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
jb 0x4cfe07
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 8]
jb 0x4cfe07
cmp dword [ebp - 0x1c], 0
jne 0x4cfdcb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jmp 0x4cfddd
mov eax, dword [ebp - 0x28]
dec eax
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
dec edx
not edx
and eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x3000
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4ec45c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cfeb0
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jb 0x4cfd8c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jbe 0x4cfeb0
push 0x1c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4ec468]
test eax, eax
je 0x4cfeb0
cmp dword [ebp - 0x3c], 0x10000
jne 0x4cfe9e
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
jb 0x4cfe9e
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 8]
jb 0x4cfe9e
cmp dword [ebp - 0x1c], 0
jne 0x4cfe66
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
jmp 0x4cfe78
mov eax, dword [ebp - 0x28]
dec eax
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
dec edx
not edx
and eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x3000
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4ec45c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cfeb0
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
ja 0x4cfe2b
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret