Function at 0x4a0220
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x570e56
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x50], eax
call fcn.00462d70
mov esi, dword [esp + 0xe0]
mov edi, eax
test esi, esi
jne 0x4a0288
mov al, 1
jmp 0x4a0549
xorps xmm0, xmm0
mov dword [esp + 0xbc], 0
movdqu xmmword [esp + 0xac], xmm0
mov dword [esp + 0xac], 0x44473c
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov byte [esp + 0xbc], 0
movdqu xmmword [esp + 0x98], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x98], 0x44473c
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0xa8], 0
lea eax, [esp + 0x74]
mov byte [esp + 0xcc], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x24]
sub eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
je 0x4a04df
push 1
push dword [esp + 0xec]
push esi
push dword [esp + 0x78]
call fcn.0049fb60
xor cl, cl
mov dword [esp + 0x54], eax
add esp, 0x10
mov byte [esp + 0x73], cl
xorps xmm0, xmm0
mov esi, dword [eax]
movlpd qword [esp + 0x48], xmm0
cmp esi, dword [eax + 4]
je 0x4a04df
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
lea esp, [esp]
movzx ecx, word [esi]
mov edi, dword [esi]
mov ax, cx
shr ax, 0xc
and ecx, 0xfff
movzx eax, ax
mov dword [esp + 0x54], eax
mov eax, dword [esi + 4]
shrd edi, eax, 4
mov eax, ecx
cdq
and edi, 0xfffff000
mov ecx, eax
mov eax, edx
add ecx, edi
mov dword [esp + 0x6c], ecx
mov ecx, 0
adc eax, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
cmp edi, eax
jne 0x4a03ec
cmp ecx, dword [esp + 0x5c]
je 0x4a0421
lea ecx, [esp + 0xac]
call fcn.00472140
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], 0
call fcn.00462d70
push dword [esp + 0x68]
lea ecx, [esp + 0xb0]
mov eax, dword [eax + 0x24]
add eax, edi
push eax
call fcn.004720f0
mov eax, edi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add ecx, eax
mov eax, 0
adc eax, dword [esp + 0x5c]
add edx, 4
adc dword [esp + 0x64], 0
cmp dword [esp + 0x64], eax
jb 0x4a046b
ja 0x4a0448
cmp edx, ecx
jbe 0x4a046b
call fcn.00462d70
mov ecx, dword [esp + 0x68]
push ecx
mov eax, dword [eax + 0x24]
add eax, edi
add eax, ecx
lea ecx, [esp + 0x9c]
push eax
call fcn.004720f0
mov byte [esp + 0x73], 1
mov eax, dword [esp + 0x54]
movzx eax, ax
cmp eax, 0xa
ja case.0x4a0482.5
movzx eax, byte [eax + 0x4a0648]
jmp dword [eax*4 + 0x4a0638]
call fcn.00462d70
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x24]
add dword [ecx + eax], edx
jmp case.0x4a0482.0
call fcn.00462d70
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x24]
add dword [ecx + eax], edx
adc dword [ecx + eax + 4], 0
cmp byte [esp + 0x73], 0
je 0x4a04cf
lea ecx, [esp + 0x98]
call fcn.00472140
xor cl, cl
mov byte [esp + 0x73], cl
mov eax, dword [esp + 0x44]
add esi, 8
cmp esi, dword [eax + 4]
jne 0x4a03a0
lea ecx, [esp + 0xac]
call fcn.00472140
mov byte [esp + 0x73], 1
cmp byte [esp + 0xa8], 0
mov byte [esp + 0xcc], 0
mov dword [esp + 0x98], 0x44473c
je 0x4a0519
lea ecx, [esp + 0x98]
call fcn.00472140
cmp byte [esp + 0xbc], 0
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xac], 0x44473c
je 0x4a0545
lea ecx, [esp + 0xac]
call fcn.00472140
mov al, byte [esp + 0x73]
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0054a992
add esp, 0xc4
ret 0x18
movzx eax, word [0x5a146f]
mov ecx, dword [esp + 0x50]
push eax
call fcn.004b9e60
push eax
lea ecx, [esp + 0x10]
call fcn.0045e2a0
movzx eax, word [0x5a1483]
mov ecx, dword [esp + 0x50]
push eax
mov byte [esp + 0xd0], 2
call fcn.004b9e60
push eax
lea ecx, [esp + 0x2c]
call fcn.0045e2a0
lea eax, [esp + 0xc]
mov byte [esp + 0xcc], 3
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0046e4f0
add esp, 0xc
mov dword [esp + 0x28], 0x4442f8
cmp dword [esp + 0x40], 0x10
jb 0x4a05e9
push dword [esp + 0x2c]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0xc], 0x4442f8
jb 0x4a0619
push dword [esp + 0x10]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x73], 0
jmp 0x4a04f0