Function at 0x40d260
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 0x4a43b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x54], 1
call fcn.0040c3b0
push eax
mov ecx, esi
call fcn.00407130
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40d316
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d30c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d498
push edx
push ecx
call fcn.0044235d
add esp, 8
push 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x4bb6f4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00407620
mov dword [ebp - 4], 1
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x50]
xor eax, eax
cmp ecx, dword [eax*8 + 0x4cd2c0]
je 0x40d38a
inc eax
cmp eax, 0x10
jl 0x40d367
mov edx, dword [str.PROCESSOR_ARCHITECTURE_UNKNOWN]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d381
jmp 0x40d39d
mov edx, dword [eax*8 + 0x4cd2c4]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d396
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407620
call fcn.0041d260
mov ecx, eax
test ecx, ecx
jne 0x40d3bb
mov eax, 0x4bc5c0
jmp 0x40d3cb
cmp ecx, 1
mov eax, 0x4bc5c4
mov edx, str.unknown
cmovne eax, edx
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov edx, esi
cmovae ecx, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 0x10
jb 0x40d3e0
mov edx, dword [esi]
push ecx
push eax
push edx
lea eax, [ebp - 0x44]
push str._s__s__s_
push eax
call fcn.004172d0
add esp, 0x14
mov ecx, esi
push eax
call fcn.00407130
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40d42c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d422
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d49d
push edx
push ecx
call fcn.0044235d
add esp, 8
call fcn.0040ccd0
mov ecx, esi
test eax, eax
je 0x40d43e
push str._999_
jmp 0x40d443
push str._000_
call fcn.00407070
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40d478
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d46e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d4a2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004452a7
call fcn.004452a7
call fcn.004452a7
int3