Function at 0x42b360
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x59e4fd
call fcn.005964ca
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.00440e80
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00423b7b
test al, al
je 0x42b3de
pop edx
push edx
pop eax
push edi
push edi
pop edx
push ecx
push edx
push edi
push esp
push ecx
pop esi
push esi
pop esp
pop esi
push ebx
pop ebx
pop eax
pop edi
push ebp
pop eax
pop esi
pop esp
push esi
pop ebp
pop edx
push ebp
pop esp
pop ecx
push eax
xor ebx, ebx
mov ecx, dword [ebp - 0x338]
push 0x5a1460
call fcn.00401a40
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call fcn.00423998
test al, al
je 0x42b45b
pop esi
push edi
pop ecx
pop eax
pop eax
push esp
push ecx
pop eax
push edi
pop esi
pop ebp
pop edi
pop esi
push eax
push edx
pop eax
pop ebx
pop edi
pop ecx
pop esp
call fcn.00423998
test al, al
je 0x42b47a
pop ebp
push ecx
push edi
push ebp
pop ebx
pop edi
pop edx
push esp
pop ebp
push esp
push edi
pop edi
pop eax
push esi
push edi
pop edi
push edi
pop esi
pop ebp
pop edi
pop edi
pop eax
call fcn.00423c4a
test al, al
je 0x42b4a3
push edx
pop esp
pop ecx
pop esp
pop esi
pop ecx
pop edi
pop ebp
push edi
pop esi
pop eax
push eax
pop ebp
push ecx
push eax
push ebp
push ecx
push esi
pop eax
pop eax
push ecx
push ebp
push esi
push ebx
pop ebp
push ecx
push ebp
pop eax
pop esp
push esp
push esp
pop eax
push 0x5a5060
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42b4ef
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b4e8
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.004237b5
test al, al
je 0x42b510
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
mov edi, dword [ebp - 0x34c]
cmp edi, 5
jne 0x42b542
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x42b603
cmp eax, 1
jne 0x42b538
mov esi, str.WindowsXP
jmp 0x42b5ef
mov esi, str.WindowsServer2003
jmp 0x42b5ef
cmp edi, 6
jne 0x42b603
mov eax, dword [ebp - 0x348]
sub eax, 0
je 0x42b5dc
sub eax, 1
je 0x42b5d5
sub eax, 1
jne 0x42b603
mov ecx, dword [ebp - 0x350]
cmp ecx, 0x1ebb
jne 0x42b57d
mov esi, str.Windows8
jmp 0x42b5ef
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x42b576
cmp ecx, 0x1f13
je 0x42b576
cmp dword [ebp - 0x340], 0xa
jne 0x42b5bc
cmp dword [ebp - 0x344], 0
jne 0x42b603
cmp dword [ebp - 0x33c], 0x4e20
jae 0x42b5b5
mov esi, str.Windows10
jmp 0x42b5ef
mov esi, str.Windows11
jmp 0x42b5ef
cmp dword [ebp - 0x340], 6
jne 0x42b603
cmp dword [ebp - 0x344], 3
jne 0x42b603
mov esi, str.Windows8.1
jmp 0x42b5ef
mov esi, str.Windows7
jmp 0x42b5ef
cmp dword [ebp - 0x358], 1
mov esi, str.WindowsVista
je 0x42b5ef
mov esi, str.WindowsServer2008
push esi
call fcn.00450cbb
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00403c20
call fcn.004237b5
test al, al
je 0x42b62a
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
mov edi, dword [ebp - 0x34c]
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x5a1460
call fcn.0042b17d
test eax, eax
jne 0x42b69e
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00440e80
push dword [ebp - 0x350]
lea eax, [ebp - 0x218]
push dword [ebp - 0x348]
push edi
push str.Windows_d._d._d
push eax
call fcn.00407ea0
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x42b682
mov eax, esi
jmp 0x42b68f
lea eax, [ebp - 0x218]
push eax
call fcn.00450cbb
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00403c20
call fcn.00423e2d
test al, al
je 0x42b6cc
pop eax
pop ebx
push edx
pop ebx
pop ebp
push eax
pop esp
pop esp
pop ecx
pop esi
push edx
pop ecx
push esp
push edx
push ebx
pop ebx
pop ebp
push eax
pop edi
pop esp
push esp
pop ebp
pop esi
push eax
pop ecx
pop edi
push edx
pop edx
push esi
pop ebp
push edi
mov ebx, dword [ebp - 0x338]
cmp dword [ebp + 0xc], 0
je 0x42b6fc
cmp word [ebp - 0x320], 0
jne 0x42b6e0
xor eax, eax
jmp 0x42b6ed
lea eax, [ebp - 0x320]
push eax
call fcn.00450cbb
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.004039d0
mov eax, ebx
call fcn.00596485
ret