Function at 0x441f26
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x580789
call fcn.0042c498
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x118
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x330]
push ecx
mov dword [ebp - 0x354], ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x334], 0x11c
call fcn.0044ea80
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00431516
test al, al
je 0x441fa3
push eax
push ebx
pop esp
push edx
push edx
pop eax
push ecx
pop ebp
push esp
pop ebx
pop esi
push ebp
pop eax
pop ecx
push edx
push ebp
pop eax
pop eax
push ebx
push esp
push ecx
pop ecx
push esi
pop edx
push ecx
push edi
pop eax
push ebx
push ebp
pop edi
push esp
call fcn.0043121f
test al, al
je 0x441fc2
pop esi
push ecx
pop ebp
push ebp
pop eax
pop esi
push ebx
push ebx
push ebx
pop eax
pop ebx
push edi
pop eax
push edi
pop esp
pop edx
push ebp
push eax
push eax
pop edi
push edi
push edx
call fcn.00431333
test al, al
je 0x441fe7
pop ebx
pop ebp
pop edx
push edx
push ebp
pop ebx
pop ebx
pop edx
push ebx
push edi
push ebx
pop edx
pop edi
push edx
push ebp
push esp
push ecx
pop eax
push ebx
pop eax
push ecx
pop eax
pop edx
pop edi
push edi
push ecx
push edi
pop ebp
mov ecx, dword [ebp - 0x338]
push 0x582524
call fcn.0041fc8f
xor eax, eax
mov dword [ebp - 0x354], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x350], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x348], eax
call fcn.00431378
test al, al
je 0x442072
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
call fcn.0043166f
test al, al
je 0x442094
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4420e0
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4420d9
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004312ee
test al, al
je 0x442103
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043148c
test al, al
je 0x442128
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x44215a
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x442204
cmp eax, 1
jne 0x442150
mov esi, str.WindowsXP
jmp 0x4421f0
mov esi, str.WindowsServer2003
jmp 0x4421f0
cmp eax, 6
jne 0x442204
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x4421dd
sub eax, 1
je 0x4421d6
sub eax, 1
jne 0x442204
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0x1ebb
jne 0x442191
mov esi, str.Windows8
jmp 0x4421f0
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x44218a
cmp ecx, 0x1f13
je 0x44218a
cmp dword [ebp - 0x340], 0xa
jne 0x4421bd
cmp dword [ebp - 0x344], 0
jne 0x442204
mov esi, str.Windows10
jmp 0x4421f0
cmp dword [ebp - 0x340], 6
jne 0x442204
cmp dword [ebp - 0x344], 3
jne 0x442204
mov esi, str.Windows8.1
jmp 0x4421f0
mov esi, str.Windows7
jmp 0x4421f0
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x4421f0
mov esi, str.WindowsServer2008
push esi
call fcn.004525b1
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.004202e4
call fcn.004312ee
test al, al
je 0x442227
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043148c
test al, al
je 0x44224c
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x582524
call fcn.00423a31
test eax, eax
jne 0x4422c6
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0044ea80
push dword [ebp - 0x34c]
mov eax, dword [ebp - 0x350]
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00421d2b
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x4422aa
mov eax, esi
jmp 0x4422b7
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004202e4
call fcn.00431378
test al, al
je 0x4422e4
pop edx
pop ebp
pop eax
push ecx
pop edx
push edx
pop edi
push eax
pop ebx
push esp
pop esi
push ebp
pop eax
pop ebx
pop edi
pop eax
push ebx
push edx
push ebx
push edi
pop eax
call fcn.0043110b
test al, al
je 0x4422fd
pop ecx
push ebp
pop ebp
push eax
pop ebp
pop ecx
push ebp
pop ecx
push edx
pop edi
pop edx
push eax
pop edx
pop edx
pop ecx
pop eax
call fcn.004316b4
test al, al
je 0x44231a
pop esi
push ecx
pop edx
pop edx
push ebx
pop ebx
pop ecx
push edx
pop esi
pop ebp
push esi
push esi
pop esi
push ebp
push edi
pop ebx
push ebx
pop edi
pop ebp
pop esi
cmp dword [ebp + 0xc], 0
je 0x44234e
cmp word [ebp - 0x320], 0
jne 0x44232e
xor eax, eax
jmp 0x44233b
lea eax, [ebp - 0x320]
push eax
call fcn.004525b1
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00420e5e
mov eax, dword [ebp - 0x338]
call fcn.0042c453
ret