Function at 0x447930
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474138
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edx, dword [esi + 0x248]
mov eax, dword [esi + 0x240]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x240]
push edx
push ebx
call eax
add esi, 0xc
call fcn.00431a90
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], ebx
mov dword [esi + 4], 4
cmp ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ebx
jge 0x447b4e
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + ebx*4]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ecx
xor esi, esi
cmp word [edx + esi*2], 0
je 0x4479d2
inc esi
jmp 0x4479c8
lea eax, [esi + 1]
cmp eax, ecx
je 0x447a33
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004596ad
add esp, 4
cmp dword [ebp - 0x1c], 0
mov ebx, eax
jle 0x447a1a
xor eax, eax
lea esp, [esp]
xor ecx, ecx
cmp eax, ecx
jge 0x447a11
mov cx, word [edi + eax*2]
mov word [ebx + eax*2], cx
inc eax
jmp 0x447a00
push edi
call fcn.0045a013
add esp, 4
xor edx, edx
xor eax, eax
mov word [ebx + eax*2], dx
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 1]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
mov ecx, edi
movzx eax, word [edx]
mov word [ecx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x447a35
mov dword [ebp - 0x20], esi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_CharUpperW]
test esi, esi
jne 0x447a7a
push edi
call fcn.0045a013
add esp, 4
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
shl eax, 4
add eax, dword [ebp + 0x10]
cmp word [edi], 0x42
jne 0x447b27
mov eax, 1
cmp esi, eax
jge 0x447a9b
mov eax, esi
test esi, esi
jle 0x447ab2
sub esi, eax
lea ecx, [esi + esi + 2]
push ecx
lea edx, [edi + eax*2]
push edx
push edi
call fcn.0045d530
add esp, 0xc
mov dword [ebp - 0x20], esi
lea ebx, [ebp - 0x34]
lea edi, [ebp - 0x24]
call fcn.004478c0
mov esi, eax
test esi, esi
je 0x447ae5
mov eax, dword [ebp - 0x24]
push eax
call fcn.0045a013
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
add eax, 0x240
call fcn.00442790
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0045a013
mov ebx, dword [ebp - 0x14]
add esp, 4
inc ebx
jmp 0x4479a7
mov ecx, dword [ebp + 8]
add ecx, 0xc
push eax
push ecx
mov ecx, edi
call fcn.00431af0
mov esi, eax
push edi
test esi, esi
jne 0x447ac7
mov byte [ebp - 4], al
call fcn.0045a013
add esp, 4
inc ebx
jmp 0x4479a7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10