Function at 0x411150
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
cmp dword [ecx + 8], 0
jne 0x411832
mov dword [esp + 0x30], ecx
lea esi, [esp + 0xc8]
push esi
mov dword [esp + 0x48], edx
call fcn.00444010
add esp, 4
push esi
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 0xc8]
xor ecx, ecx
mov ebx, 1
mov edi, 0
mov dword [esp + 0x70], eax
mov eax, 0x80000000
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000004
jb 0x4113b9
mov dword [esp + 0x48], eax
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 4
push 0x50
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4118d0
mov dword [esp + 8], 5
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov ebx, 0x80000000
mov edi, 0x80000000
mov dword [esp + 0x10], 0
nop word [eax + eax]
cmp ebx, eax
mov eax, ebx
adc edi, 0
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [esp], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 8]
jne 0x411235
lea eax, [esp + 8]
push eax
call fcn.00422f10
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov eax, esi
inc esi
shl eax, 4
mov dword [ecx + eax], edx
mov edx, dword [esp]
mov dword [ecx + eax + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + eax + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + eax + 0xc], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], esi
cmp ebx, eax
jae 0x41126f
cmp edi, eax
mov ebx, edi
jbe 0x411200
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push 0x30
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4118d9
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
cmp ecx, 3
jb 0x411367
mov ebx, dword [esp + 0xc]
mov esi, ecx
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
call fcn.00411b70
mov edx, dword [ebx + 0x24]
lea ecx, [esp + 0x14]
call fcn.00411b70
mov edx, dword [ebx + 0x28]
lea ecx, [esp + 0x14]
call fcn.00411b70
mov edx, dword [ebx + 0x2c]
lea ecx, [esp + 0x14]
call fcn.00411b70
shl esi, 4
add ebx, 0x30
lea edi, [esp + 0x14]
add esi, 0xffffffd0
mov dword [esp], esi
mov esi, 0x20
nop dword [eax]
test esi, esi
je 0x41133d
mov eax, dword [esp]
add eax, esi
cmp eax, 0x20
je 0x41133d
mov edx, dword [ebx]
mov ecx, edi
call fcn.00411b70
mov edx, dword [ebx + 4]
mov ecx, edi
call fcn.00411b70
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.00411b70
mov edx, dword [ebx + 0xc]
add ebx, 0x10
add esi, 0xfffffff0
mov ecx, edi
call fcn.00411b70
jmp 0x411300
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor edx, edx
test ecx, ecx
je 0x411367
nop dword [eax + eax]
cmp byte [eax + edx], 0
je 0x41135f
inc edx
cmp ecx, edx
jne 0x411350
mov edx, ecx
jmp 0x411367
cmp edx, ecx
ja 0x41191b
lea ecx, [esp + 0x78]
push edx
push eax
push ecx
call fcn.004df8a0
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x41183a
mov ebx, 1
xor edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41139f
push 1
push eax
push dword [esp + 0x20]
call main
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x4113b9
shl eax, 4
push 4
push eax
push dword [esp + 0x14]
call main
add esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], edi
xor eax, eax
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov eax, dword [0x593ab0]
mov ebx, ecx
mov edi, edx
movzx eax, byte [eax]
push 1
push 0xc
call fcn.00409a80
add esp, 8
test eax, eax
je 0x411899
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x14]
mov edx, esi
call fcn.00411b70
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.00411b70
lea ecx, [esp + 0x14]
mov edx, ebx
call fcn.00411b70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x411457
xor edx, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp byte [ecx + edx], 0
je 0x41144d
inc edx
cmp eax, edx
jne 0x411440
jmp 0x411457
cmp edx, eax
ja 0x4118e7
mov eax, edx
lea edx, [esp + 0x78]
push eax
push ecx
push edx
call fcn.004df8a0
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x411485
cmp si, 0xe
ja 0x4114a1
mov eax, esi
mov esi, dword [esi*4 + 0x570b8c]
mov edi, dword [eax*4 + 0x570bc8]
jmp 0x4114ab
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
test esi, esi
je 0x41186e
jns 0x4114ab
xor eax, eax
jmp 0x4118af
mov edi, 0x570ad2
mov esi, 7
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push esi
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4118aa
mov ebx, eax
push esi
push edi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edi, dword [esp]
test eax, eax
je 0x4114ed
push 1
push eax
push dword [esp + 0x20]
call main
add esp, 0xc
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xdc]
cmp byte [esp + 0x44], 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
je 0x41152e
lea ecx, [esp + 0x4c]
mov edx, ebx
call fcn.00411c00
inc ebx
jne 0x411570
xor ebx, ebx
mov eax, 8
jmp 0x41159c
test ebx, ebx
je 0x41155e
lea esi, [ebx*8]
cmp ebx, 0xfffffff
ja 0x4118f8
push 8
push esi
call fcn.00409ad0
add esp, 8
test eax, eax
jne 0x411563
mov eax, 8
jmp 0x4118fa
mov eax, 8
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
inc ebx
mov esi, ebx
shl esi, 6
cmp ebx, 0x1ffffff
ja 0x4118bb
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 8
push esi
call fcn.00409a80
add esp, 8
test eax, eax
je 0x4118bf
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x411794
shl eax, 3
mov esi, 1
lea ebx, [esp + 8]
jmp 0x411674
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0xb0]
mov ecx, edi
inc edi
inc esi
lea ebx, [esp + 8]
shl ecx, 6
movsd qword [eax + ecx + 0x38], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [eax + ecx + 0x30], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + ecx + 0x28], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], edi
add eax, 0xfffffff8
je 0x411794
mov dword [esp + 0x34], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x14], 0x570b70
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x20], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], fcn.004ea270
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.004cf490
add esp, 8
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.004d0ef0
add esp, 8
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004d0ef0
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp]
movsd xmm0, qword [esp + 8]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*8 - 8]
mov ecx, dword [ecx + esi*8 - 4]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
lea edi, [esp + 0x9c]
mov edx, dword [esp + 0x10]
movsd qword [edi], xmm0
movsd xmm0, qword [esp + 0x14]
mov dword [edi + 8], edx
mov dword [edi + 0x14], ebx
movsd qword [edi + 0xc], xmm0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x78], 0x80000000
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], eax
cmp edi, dword [esp + 0x38]
jne 0x4115e0
lea eax, [esp + 0x38]
push eax
call fcn.00422fb0
add esp, 4
jmp 0x4115e0
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
movsd qword [esp + 0x78], xmm0
test eax, eax
je 0x4117c9
shl eax, 3
push 8
push eax
push dword [esp + 0x34]
call main
add esp, 0xc
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x4117e4
push 1
push eax
push dword [esp + 0x70]
call main
add esp, 0xc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4117fb
push 1
push eax
push dword [esp + 0x64]
call main
add esp, 0xc
push esi
call fcn.00418350
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x41181b
shl eax, 6
push 8
push eax
push dword [esi + 4]
call main
add esp, 0xc
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov byte [esi + 0x1c], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
test edi, edi
je 0x411878
js 0x411906
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push edi
call fcn.00409a80
add esp, 8
test eax, eax
je 0x41190a
mov ebx, eax
jmp 0x41187d
mov ebx, 1
jmp 0x4114c8
mov ebx, 1
push edi
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x411390
jmp 0x41139f
push 0xc
push 1
call fcn.004ce340
add esp, 8
jmp 0x41192a
mov eax, 1
push esi
push eax
call fcn.004ce340
add esp, 8
jmp 0x41192a
xor eax, eax
jmp 0x4118c4
mov eax, 8
push esi
push eax
call fcn.004ce340
add esp, 8
jmp 0x41192a
push 0x50
push 4
call fcn.004ce340
push 0x30
push 1
call fcn.004ce340
add esp, 8
jmp 0x41192a
push 0x570b5c
push eax
push edx
call fcn.004df620
add esp, 0xc
jmp 0x41192a
xor eax, eax
push esi
push eax
call fcn.004ce340
add esp, 8
jmp 0x41192a
xor eax, eax
jmp 0x41190f
mov eax, 1
push edi
push eax
call fcn.004ce340
add esp, 8
jmp 0x41192a
push 0x570b4c
push ecx
push edx
call fcn.004df620
add esp, 0xc
ud2