Function at 0x47fc84
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 0x47fcd3
call fcn.00404574
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x1c], 0x10000
jno 0x47fce4
call fcn.00404574
sub dword [ebp - 0x14], eax
jae 0x47fcee
call fcn.00404574
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0x20]
mul dword [ebp - 0x20]
jae 0x47fd00
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 0x47fd48
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x47fd48
push 0x8000
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
add dword [ebp - 0x1c], 1
jno 0x47fd43
call fcn.00404574
jmp 0x47fddb
cmp dword [ebp - 0x18], 0
jne 0x47fde5
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 0x47fdcb
mov eax, dword [ebp - 0x50]
and eax, 4
cmp eax, 4
jne 0x47fdcb
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 0x47fdcb
cmp eax, dword [ecx]
jne 0x47fdcb
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 0x47fdcb
cmp eax, dword [ecx + 0x110]
jne 0x47fdcb
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 0x47fde5
add dword [ebp - 0x1c], 1
jno 0x47fdd6
call fcn.00404574
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0x14
jle 0x47fcb9
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x47fe66
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x47fe96
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 0x47fe96
cmp dword [ebp - 0x14], 0
je 0x47fe96
mov eax, dword [ebp - 0x14]
add dword [eax + 0x108], 1
jno 0x47fe7d
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