Function at 0x43d3be
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x5ae04e
call fcn.00431b4a
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x118
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x330]
push ebx
mov dword [ebp - 0x354], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0043590d
test al, al
je 0x43d43e
push ebx
push ebx
push esi
pop edi
push ebx
pop edx
pop ebx
pop edx
pop ebp
push ecx
pop esp
pop esi
push ebx
push esp
push esi
pop edx
pop ecx
push esi
push ebx
pop esp
push edi
push ecx
push esp
pop ecx
pop ebp
push edi
pop esp
push esi
push edi
pop esp
pop esi
pop ebp
xor ebx, ebx
mov ecx, dword [ebp - 0x338]
push 0x5b0700
call fcn.00409990
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 - 0x33c], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x34c], eax
call fcn.00435af0
test al, al
je 0x43d4b7
push ecx
push ecx
pop ebp
pop esi
push edi
pop ecx
pop ebx
pop eax
pop ebx
push edi
push edi
push ecx
pop esi
pop ecx
pop edi
pop edi
call fcn.00435b35
test al, al
je 0x43d4de
push ebp
push ecx
pop eax
push eax
pop edx
push esp
pop esp
pop ebp
pop esp
push esi
pop edi
pop edi
pop eax
pop ebp
push edi
pop eax
pop ecx
pop ecx
push ecx
pop esi
push esp
pop edi
pop esi
pop ebp
pop esi
pop edx
pop esi
pop esi
pop ebx
pop esi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43d52a
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43d523
lea ecx, [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x344]
push ecx
call eax
movzx eax, word [ebp - 0x340]
mov dword [ebp - 0x340], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00435bbf
test al, al
je 0x43d547
push ebp
push ebx
push esp
push esp
push esp
pop ecx
push ebx
pop esi
push edi
push ebx
pop eax
pop ebp
push ebx
push eax
pop ecx
pop esp
push edi
push esi
push ebp
pop eax
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x43d579
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x43d679
cmp eax, 1
jne 0x43d56f
mov esi, str.WindowsXP
jmp 0x43d641
mov esi, str.WindowsServer2003
jmp 0x43d641
cmp eax, 6
jne 0x43d65f
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x43d62e
sub eax, 1
je 0x43d627
mov ebx, dword [ebp - 0x33c]
sub eax, 1
jne 0x43d67f
cmp ebx, 0x1ebb
je 0x43d5c4
lea eax, [ebx - 0x1ee6]
cmp eax, 0x25
jbe 0x43d5c4
cmp ebx, 0x1f13
jne 0x43d5cb
mov esi, str.Windows8
jmp 0x43d60f
cmp dword [ebp - 0x344], 0xa
jne 0x43d5f8
cmp dword [ebp - 0x348], 0
jne 0x43d67f
cmp dword [ebp - 0x340], 0x4e20
jae 0x43d672
mov esi, str.Windows10
jmp 0x43d60f
cmp dword [ebp - 0x344], 6
jne 0x43d67f
cmp dword [ebp - 0x348], 3
jne 0x43d67f
mov esi, str.Windows8.1
push esi
call fcn.0045c456
mov edi, dword [ebp - 0x338]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408220
jmp 0x43d685
mov esi, str.Windows7
jmp 0x43d641
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x43d641
mov esi, str.WindowsServer2008
push esi
call fcn.0045c456
mov edi, dword [ebp - 0x338]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408220
mov ebx, dword [ebp - 0x33c]
jmp 0x43d685
mov ebx, dword [ebp - 0x33c]
cmp eax, 0xa
jne 0x43d67f
cmp ebx, 0x4e20
jb 0x43d67f
mov esi, str.Windows11
jmp 0x43d60f
mov ebx, dword [ebp - 0x33c]
mov edi, dword [ebp - 0x338]
call fcn.00435bbf
test al, al
je 0x43d6a2
push ebp
push ebx
push esp
push esp
push esp
pop ecx
push ebx
pop esi
push edi
push ebx
pop eax
pop ebp
push ebx
push eax
pop ecx
pop esp
push edi
push esi
push ebp
pop eax
push 0x5b0700
mov ecx, edi
call fcn.004347c1
test eax, eax
jne 0x43d710
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044e770
mov eax, dword [ebp - 0x350]
push ebx
push dword [ebp - 0x34c]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00408530
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x43d6f4
xor eax, eax
jmp 0x43d701
lea eax, [ebp - 0x218]
push eax
call fcn.0045c456
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00408220
call fcn.00435952
test al, al
je 0x43d72f
pop esp
push edi
push ebp
pop ebx
pop ebp
pop edx
push edx
push ebp
pop edx
push ebp
push ebx
push ebx
push ebp
push esi
push edi
push edi
push ebx
pop esp
pop ebx
pop eax
push esi
pop esi
call fcn.0043590d
test al, al
je 0x43d75d
pop esp
push ebp
pop edx
push ecx
push ebp
pop ebx
pop edx
push ebx
push ecx
push esi
push ebx
push ebx
pop esp
push esp
pop edx
push esp
push edi
pop esi
pop esi
push edx
pop edi
pop ecx
push ebp
push esp
pop esi
pop ebp
pop esi
push ebp
pop eax
pop ecx
push esp
mov edi, dword [ebp - 0x338]
cmp dword [ebp + 0xc], 0
je 0x43d78d
cmp word [ebp - 0x320], 0
jne 0x43d771
xor eax, eax
jmp 0x43d77e
lea eax, [ebp - 0x320]
push eax
call fcn.0045c456
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, edi
push eax
call fcn.00407da0
mov eax, edi
call fcn.00431af4
ret