Function at 0x4036f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447e28
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4624c8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4624c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
call fcn.00403d90
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x38]
xor eax, eax
mov dword [esp + 0x4c], 7
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.00405dd0
lea eax, [esp + 0x14]
mov dword [esp + 0x80], 0
push eax
xor bh, bh
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0x14], 9
mov eax, dword [esp + 0x10]
sete bl
sub eax, 0x259
je 0x403986
sub eax, 2
je 0x403902
sub eax, 0x18d
jne 0x403843
mov esi, str.Win10
cmp bl, 1
jne 0x403878
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
push 0x463688
mov ecx, edi
call fcn.00404f90
test al, al
jne 0x4038b9
cmp dword [edi + 0x380], 0x3e8
je 0x40381c
cmp bl, 1
jne 0x4038c8
sub esp, 0x18
lea eax, [esp + 0x50]
mov ecx, esp
push eax
call fcn.00404460
push 0x463a48
mov ecx, edi
call fcn.00404f90
test al, al
jne 0x4038f3
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push esi
cmovae eax, dword [esp + 0x3c]
push eax
push str.__Will_not_install__s_on__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x14
cmp dword [esp + 0x4c], 8
jb 0x403856
push dword [esp + 0x38]
call fcn.004213f0
add esp, 4
mov al, bh
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00430d5f
mov esp, ebp
pop ebp
ret 0x10
test bl, bl
jne 0x4037e4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
push 0x463868
mov ecx, edi
call fcn.00404f90
test al, al
je 0x4037e4
mov dword [edi + 0x380], 0x3e8
jmp 0x403a15
test bl, bl
jne 0x40381c
sub esp, 0x18
lea eax, [esp + 0x50]
mov ecx, esp
push eax
call fcn.00404460
push 0x463c28
mov ecx, edi
call fcn.00404f90
test al, al
je 0x40381c
mov dword [edi + 0x380], 0x25b
jmp 0x403a15
mov esi, str.Win8.1
cmp bl, 1
jne 0x403936
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
jmp 0x403808
test bl, bl
jne 0x40381c
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
push 0x463c28
mov ecx, edi
call fcn.00404f90
test al, al
je 0x40381c
mov dword [edi + 0x380], 0x25b
jmp 0x403a15
mov esi, str.Win7
cmp bl, 1
jne 0x4039ca
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
push 0x463fe8
mov ecx, edi
call fcn.00404f90
test al, al
jne 0x403a0b
jmp 0x40381c
test bl, bl
jne 0x40381c
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x58]
push eax
call fcn.00405dd0
push 0x463e08
mov ecx, edi
call fcn.00404f90
test al, al
je 0x40381c
mov dword [edi + 0x380], 0x259
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push esi
cmovae eax, dword [esp + 0x3c]
mov bh, 1
push eax
push str._Will_install__s_on__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x14
lea eax, [esp + 0x50]
push dword [edi + 0x380]
push 0x4545a0
push eax
call fcn.00405d00
add esp, 0xc
lea eax, [esp + 0x50]
lea ecx, [edi + 4]
push eax
push str.HIGHEST_OS_MATCH
call fcn.004198c0
jmp 0x403843