Function at 0x411170
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 0x4a6756
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4cd00c]
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.004108f0
push eax
mov ecx, esi
call fcn.0040abe0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x411226
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41121c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113a8
push edx
push ecx
call fcn.0044434d
add esp, 8
push 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x4bd704
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040a9e0
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 + 0x4ce2c0]
je 0x41129a
inc eax
cmp eax, 0x10
jl 0x411277
mov edx, dword [str.PROCESSOR_ARCHITECTURE_UNKNOWN]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411291
jmp 0x4112ad
mov edx, dword [eax*8 + 0x4ce2c4]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4112a6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040a9e0
call fcn.0041c150
mov ecx, eax
test ecx, ecx
jne 0x4112cb
mov eax, 0x4be560
jmp 0x4112db
cmp ecx, 1
mov eax, 0x4be564
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 0x4112f0
mov edx, dword [esi]
push ecx
push eax
push edx
lea eax, [ebp - 0x44]
push str._s__s__s_
push eax
call fcn.00417000
add esp, 0x14
mov ecx, esi
push eax
call fcn.0040abe0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x41133c
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113ad
push edx
push ecx
call fcn.0044434d
add esp, 8
call fcn.00410bb0
mov ecx, esi
test eax, eax
je 0x41134e
push str._999_
jmp 0x411353
push str._000_
call fcn.0040ab20
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x411388
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41137e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4113b2
push edx
push ecx
call fcn.0044434d
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.00443db6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00447297
call fcn.00447297
call fcn.00447297
int3