Function at 0x405600
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 0x42080d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x74
mov eax, dword [0x42c080]
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.0040e5bc
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 0x405666
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404680
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 0x40579d
mov edx, 0x5299dc
call fcn.00404b10
add esp, 4
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00406ed0
add esp, 4
mov ecx, 0x52aef0
push eax
call fcn.00406970
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4056f9
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4056ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058a5
push ecx
push edx
call fcn.00408559
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 0x405743
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405739
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058a5
push ecx
push edx
call fcn.00408559
add esp, 8
push 0x58
mov edx, 0x529970
lea ecx, [ebp - 0x80]
call fcn.00404be0
add esp, 4
mov ecx, 0x5299e8
push eax
call fcn.004068e0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x405858
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40584e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058aa
jmp 0x40584e
mov edx, 0x529aa8
call fcn.00404b10
add esp, 4
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00406ed0
add esp, 4
mov ecx, 0x52aef0
push eax
call fcn.00406970
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4057fc
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4057f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058af
push ecx
push edx
call fcn.00408559
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 0x405842
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405838
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058af
push ecx
push edx
call fcn.00408559
add esp, 8
push 0x4c
mov edx, 0x42cb18
jmp 0x40574a
push ecx
push edx
call fcn.00408559
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x405888
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40587e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058aa
push ecx
push edx
call fcn.00408559
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.00408516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e3d9
call fcn.0040e3d9
call fcn.0040e3d9
int3