Function at 0x43def0
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x579aa2
call fcn.00474262
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.00452070
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0043a8a9
test al, al
je 0x43df6d
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.0043a5b2
test al, al
je 0x43df8c
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.0043a6c6
test al, al
je 0x43dfb1
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 0x5d31f4
call fcn.00421580
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.0043a70b
test al, al
je 0x43e03c
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.0043aa02
test al, al
je 0x43e05e
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 0x43e0aa
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e0a3
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.0043a681
test al, al
je 0x43e0cd
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.0043a81f
test al, al
je 0x43e0f2
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 0x43e124
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x43e1ce
cmp eax, 1
jne 0x43e11a
mov esi, str.WindowsXP
jmp 0x43e1ba
mov esi, str.WindowsServer2003
jmp 0x43e1ba
cmp eax, 6
jne 0x43e1ce
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x43e1a7
sub eax, 1
je 0x43e1a0
sub eax, 1
jne 0x43e1ce
mov ecx, dword [ebp - 0x34c]
cmp ecx, 0x1ebb
jne 0x43e15b
mov esi, str.Windows8
jmp 0x43e1ba
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x43e154
cmp ecx, 0x1f13
je 0x43e154
cmp dword [ebp - 0x340], 0xa
jne 0x43e187
cmp dword [ebp - 0x344], 0
jne 0x43e1ce
mov esi, str.Windows10
jmp 0x43e1ba
cmp dword [ebp - 0x340], 6
jne 0x43e1ce
cmp dword [ebp - 0x344], 3
jne 0x43e1ce
mov esi, str.Windows8.1
jmp 0x43e1ba
mov esi, str.Windows7
jmp 0x43e1ba
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x43e1ba
mov esi, str.WindowsServer2008
push esi
call fcn.00462543
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.004217f0
call fcn.0043a681
test al, al
je 0x43e1f1
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.0043a81f
test al, al
je 0x43e216
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 0x5d31f4
call fcn.0043d0ca
test eax, eax
jne 0x43e290
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00452070
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.004230f0
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x43e274
mov eax, esi
jmp 0x43e281
lea eax, [ebp - 0x218]
push eax
call fcn.00462543
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004217f0
call fcn.0043a70b
test al, al
je 0x43e2ae
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.0043a49e
test al, al
je 0x43e2c7
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.0043aa47
test al, al
je 0x43e2e4
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 0x43e318
cmp word [ebp - 0x320], 0
jne 0x43e2f8
xor eax, eax
jmp 0x43e305
lea eax, [ebp - 0x320]
push eax
call fcn.00462543
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00421cd0
mov eax, dword [ebp - 0x338]
call fcn.0047421d
ret