Function at 0x4053c0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4203bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x74
mov eax, dword [0x42b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.WINDIR
call fcn.0040e1c3
mov edx, eax
mov dword [ebp - 0x1c], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405426
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404670
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x50], 9
lea ecx, [ebp - 0x80]
push 9
jne 0x40555d
mov edx, 0x5a1fdc
call fcn.00404a20
add esp, 4
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00406b70
add esp, 4
mov ecx, 0x5a34f0
push eax
call fcn.00406730
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4054b9
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4054af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405665
push ecx
push edx
call fcn.004081f9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x405503
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4054f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405665
push ecx
push edx
call fcn.004081f9
add esp, 8
push 0x58
mov edx, 0x5a1f70
lea ecx, [ebp - 0x80]
call fcn.00404af0
add esp, 4
mov ecx, 0x5a1fe8
push eax
call fcn.004066a0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x405618
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40560e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40566a
jmp 0x40560e
mov edx, 0x5a20a8
call fcn.00404a20
add esp, 4
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00406b70
add esp, 4
mov ecx, 0x5a34f0
push eax
call fcn.00406730
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4055bc
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40566f
push ecx
push edx
call fcn.004081f9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x405602
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40566f
push ecx
push edx
call fcn.004081f9
add esp, 8
push 0x4c
mov edx, 0x42bb18
jmp 0x40550a
push ecx
push edx
call fcn.004081f9
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x405648
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40563e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40566a
push ecx
push edx
call fcn.004081f9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004081b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e07b
call fcn.0040e07b
call fcn.0040e07b
int3