Function at 0x46280c
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
imul eax, eax, 0x10000
jae 0x46285a
call fcn.004032b0
mov dword [ebp - 0x14], eax
imul eax, dword [ebp - 0x1c], 0x10000
jno 0x46286b
call fcn.004032b0
sub dword [ebp - 0x14], eax
jae 0x462875
call fcn.004032b0
mov eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0x20]
imul dword [ebp - 0x20]
jae 0x462887
call fcn.004032b0
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 0x4628cf
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x4628cf
push 0x8000
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
add dword [ebp - 0x1c], 1
jno 0x4628ca
call fcn.004032b0
jmp 0x462962
cmp dword [ebp - 0x18], 0
jne 0x46296c
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 0x462952
mov eax, dword [ebp - 0x50]
and eax, 4
cmp eax, 4
jne 0x462952
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 0x462952
cmp eax, dword [ecx]
jne 0x462952
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 0x462952
cmp eax, dword [ecx + 0x110]
jne 0x462952
mov eax, dword [ebp - 0x14]
add eax, 8
mov edx, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402d00
je 0x46296c
add dword [ebp - 0x1c], 1
jno 0x46295d
call fcn.004032b0
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0x14
jle 0x462841
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x4629ed
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x462a1d
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.00402c54
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 0x462a1d
cmp dword [ebp - 0x14], 0
je 0x462a1d
mov eax, dword [ebp - 0x14]
add dword [eax + 0x108], 1
jno 0x462a04
call fcn.004032b0
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