Function at 0x4c1a70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
mov edx, 0x10000
mul edx
jae 0x4c1abf
call fcn.00404574
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x1c], 0x10000
jno 0x4c1ad0
call fcn.00404574
sub dword [ebp - 0x14], eax
jae 0x4c1ada
call fcn.00404574
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0x20]
mul dword [ebp - 0x20]
jae 0x4c1aec
call fcn.00404574
mov dword [ebp - 0x14], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4c1b34
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x4c1b34
push 0x8000
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
add dword [ebp - 0x1c], 1
jno 0x4c1b2f
call fcn.00404574
jmp 0x4c1bc7
cmp dword [ebp - 0x18], 0
jne 0x4c1bd1
push 0x1c
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [ebp - 0x58], 0x118
jb 0x4c1bb7
mov eax, dword [ebp - 0x50]
and eax, 4
cmp eax, 4
jne 0x4c1bb7
mov eax, dword [ebp - 0x10]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx + 4]
jne 0x4c1bb7
cmp eax, dword [ecx]
jne 0x4c1bb7
mov eax, dword [ebp - 0x10]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x114]
jne 0x4c1bb7
cmp eax, dword [ecx + 0x110]
jne 0x4c1bb7
mov eax, dword [ebp - 0x14]
add eax, 8
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403dc8
je 0x4c1bd1
add dword [ebp - 0x1c], 1
jno 0x4c1bc2
call fcn.00404574
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0x14
jle 0x4c1aa5
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x4c1c52
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x4c1c82
mov eax, dword [ebp - 0x10]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
add eax, 8
mov edx, dword [ebp - 4]
call fcn.00403d1c
mov eax, dword [ebp - 0x10]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x108], 1
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x4c1c82
cmp dword [ebp - 0x14], 0
je 0x4c1c82
mov eax, dword [ebp - 0x14]
add dword [eax + 0x108], 1
jno 0x4c1c69
call fcn.00404574
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x108]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret