Function at 0x4047f9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x48
pop eax
push 0x41
pop ecx
push 0x52
pop esi
push 0x44
pop edx
push 0x57
mov word [ebp - 0x8c], ax
pop eax
push 0x45
mov word [ebp - 0x84], ax
pop eax
push 0x5c
pop ebx
push 0x53
mov word [ebp - 0x7e], ax
mov word [ebp - 0x78], ax
pop eax
push 0x43
mov word [ebp - 0x76], ax
mov word [ebp - 0x86], dx
mov word [ebp - 0x7a], dx
pop edx
push 0x49
mov word [ebp - 0x8a], cx
mov word [ebp - 0x82], cx
pop ecx
push 0x50
pop eax
push 0x54
mov word [ebp - 0x6e], ax
pop eax
push 0x4f
mov word [ebp - 0x6c], ax
pop eax
push 0x4e
mov word [ebp - 0x68], ax
pop eax
push 0x53
mov word [ebp - 0x66], ax
pop eax
push 0x79
mov edi, dword [ebp + 8]
mov word [ebp - 0x62], ax
pop eax
push 0x73
mov word [ebp - 0x60], ax
pop eax
push 0x74
mov word [ebp - 0x7c], bx
mov word [ebp - 0x64], bx
pop ebx
push 0x65
mov word [ebp - 0x70], cx
mov word [ebp - 0x6a], cx
pop ecx
push 0x6d
mov word [ebp - 0x5e], ax
pop eax
push 0x5c
mov word [ebp - 0x58], ax
pop eax
push 0x6e
mov word [ebp - 0x56], ax
pop eax
mov word [ebp - 0x88], si
mov word [ebp - 0x80], si
mov word [ebp - 0x74], dx
mov word [ebp - 0x72], si
mov word [ebp - 0x5c], bx
mov word [ebp - 0x5a], cx
mov word [ebp - 0x54], dx
mov word [ebp - 0x52], cx
mov word [ebp - 0x50], ax
mov word [ebp - 0x4e], bx
push 0x72
pop ebx
push 0x61
pop esi
push 0x6c
pop eax
push 0x50
mov word [ebp - 0x48], ax
pop eax
push 0x6f
pop edx
push 0x63
pop ecx
push 0x65
mov word [ebp - 0x46], ax
pop eax
push 0x73
mov word [ebp - 0x3e], ax
pop eax
push 0x5c
mov word [ebp - 0x3c], ax
mov word [ebp - 0x3a], ax
pop eax
push 0x30
mov word [ebp - 0x34], ax
pop eax
push 0x50
mov word [ebp - 0x32], ax
xor eax, eax
mov word [ebp - 0x30], ax
pop eax
push 0x65
mov word [ebp - 0x2c], ax
mov word [ebp - 0x40], cx
mov word [ebp - 0x26], cx
pop ecx
push 0x73
pop eax
push 0x4e
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], ax
pop eax
push 0x6d
mov word [ebp - 0x1a], ax
pop eax
push 0x53
mov word [ebp - 0x16], ax
pop eax
push 0x74
mov word [ebp - 0x12], ax
pop eax
push 0x69
mov word [ebp - 0x10], ax
pop eax
push 0x6e
mov word [ebp - 0xc], ax
pop eax
push 0x67
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
push 0x20019
mov word [ebp - 6], ax
lea eax, [edi + 0x108]
push 0x100
push eax
mov word [ebp - 0x4c], bx
lea eax, [ebp - 0x2c]
mov word [ebp - 0x4a], si
mov word [ebp - 0x44], bx
mov word [ebp - 0x42], dx
mov word [ebp - 0x38], dx
mov word [ebp - 0x36], bx
mov word [ebp - 0x2a], bx
mov word [ebp - 0x28], dx
mov word [ebp - 0x24], cx
mov word [ebp - 0x1e], dx
mov word [ebp - 0x1c], bx
mov word [ebp - 0x18], si
mov word [ebp - 0x14], cx
mov word [ebp - 0xe], bx
push eax
lea eax, [ebp - 0x8c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404a35
push 0x24
call fcn.004618ae
add esp, 0x1c
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esi + 0x14]
push esi
mov dword [edi + 0x208], ecx
call fcn.0046189d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret