Function at 0x40a3a0
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 0x49eef1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x4c400c]
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 - 0x70], esi
mov dword [ebp - 0x74], 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
mov edi, 1
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x54], edi
mov ecx, dword [eax]
mov eax, dword [0x4cdc30]
cmp eax, dword [ecx + 4]
jle 0x40a479
push 0x4cdc30
call fcn.0043cd31
add esp, 4
cmp dword [0x4cdc30], 0xffffffff
jne 0x40a479
push 0x4a4a60
mov dword [0x4cdc38], 0
mov dword [0x4cdc48], 0
mov dword [0x4cdc4c], 0xf
call fcn.0043d188
add esp, 4
push 0x4cdc30
call fcn.0043cce7
add esp, 4
cmp dword [0x4cdc48], 0
jne 0x40a55e
lea ecx, [ebp - 0x8c]
call fcn.00418770
push 0x3a8
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00411d20
add esp, 4
lea eax, [ebp - 0x6c]
mov edi, 5
mov ecx, 0x4cdc38
mov dword [ebp - 0x54], edi
push eax
call fcn.0040c4f0
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x40a4f4
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a737
push edx
push ecx
call fcn.0043d19d
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, 8
jb 0x40a547
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a53d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a737
push edx
push ecx
call fcn.0043d19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
push 0x4cdc38
lea ecx, [ebp - 0x44]
call fcn.00405d30
lea eax, [ebp - 0x44]
or edi, 2
push eax
mov ecx, esi
mov dword [ebp - 0x54], edi
call fcn.0040c4f0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40a5b0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a741
push edx
push ecx
call fcn.0043d19d
add esp, 8
push 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x4b5684
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004060e0
mov dword [ebp - 4], 2
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 + 0x4c52a0]
je 0x40a629
inc eax
cmp eax, 0x10
jl 0x40a601
mov edx, dword [str.PROCESSOR_ARCHITECTURE_UNKNOWN]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a620
jmp 0x40a63c
mov edx, dword [eax*8 + 0x4c52a4]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a635
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004060e0
call fcn.00418600
mov ecx, eax
test ecx, ecx
jne 0x40a65a
mov eax, 0x4b5cf0
jmp 0x40a66a
cmp ecx, 1
mov eax, 0x4b5cf4
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 0x40a67f
mov edx, dword [esi]
push ecx
push eax
push edx
lea eax, [ebp - 0x44]
push str._s__s__s_
push eax
call fcn.004123f0
add esp, 0x14
mov ecx, esi
push eax
call fcn.0040c4f0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40a6cb
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a73c
push edx
push ecx
call fcn.0043d19d
add esp, 8
call fcn.00409e80
mov ecx, esi
test eax, eax
je 0x40a6dd
push str._999_
jmp 0x40a6e2
push str._000_
call fcn.0040c480
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40a717
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a70d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a741
push edx
push ecx
call fcn.0043d19d
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.0043cc06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00446380
call fcn.00446380
call fcn.00446380
int3