Function at 0x42b552
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x59d3ca
call fcn.00594fd1
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x338], esi
push 0x118
push ebx
mov dword [ebp - 0x354], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x334], 0x11c
call fcn.0043ffd0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004277dc
test al, al
je 0x42b5c4
pop esp
push edx
push ebx
push ecx
push esp
pop ebp
pop esp
pop ebx
pop edi
push ebp
push eax
pop ebx
push edi
push edx
pop esp
pop ecx
pop eax
pop eax
xor ebx, ebx
push 0x619730
mov ecx, esi
call fcn.004015d0
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 - 0x348], 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 - 0x34c], eax
call fcn.004277dc
test al, al
je 0x42b643
pop esp
pop ebp
pop edx
push esp
pop ecx
push ecx
pop esp
pop ecx
pop eax
pop ebx
push eax
pop esi
pop edx
push eax
pop ebp
push edx
pop ebp
push esp
push ebp
push ecx
pop ebx
push ecx
push edi
push eax
push ebp
push ebx
call fcn.00427a04
test al, al
je 0x42b662
push ebx
push edi
push ebp
pop ebx
push eax
push ebp
push eax
push ecx
push esi
pop esp
push esp
pop eax
pop ebx
pop esp
push ecx
pop ebx
pop eax
pop esi
pop ecx
pop eax
push esp
pop esp
call fcn.00427797
test al, al
je 0x42b686
pop edx
push esp
pop ebx
push edi
push ecx
push ebp
push ecx
push edx
push ebx
pop edx
push edx
pop edi
pop ebp
push esp
push edx
pop ebx
push ecx
push edi
pop esi
push edx
pop ebx
pop edx
push eax
pop ebp
pop esi
push esp
pop ebp
push 0x5a0c38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42b6d2
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b6cb
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.0042752a
test al, al
je 0x42b6f7
push esi
push ebx
pop edi
pop ebp
pop ecx
pop edx
push ecx
pop edx
pop ebx
push esi
pop ecx
pop ecx
pop edi
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop edi
pop ebx
pop edx
pop esp
push edi
push ecx
pop esi
pop ecx
pop esi
push esi
call fcn.0042752a
test al, al
je 0x42b71c
pop esp
push esi
pop edx
pop esp
pop esi
push edx
push edi
push ecx
pop ecx
push esi
push ecx
push ecx
pop eax
pop esi
pop ecx
pop ecx
push eax
push edx
pop esi
push esi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop ebp
call fcn.00427347
test al, al
je 0x42b739
pop eax
pop ecx
pop edi
pop edi
push ecx
push edi
pop ecx
pop ebp
pop ecx
pop ecx
pop esp
push edx
push ebx
push esi
pop eax
pop edi
push esi
push eax
pop ecx
push edi
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x42b76b
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x42b83e
cmp eax, 1
jne 0x42b761
mov esi, str.WindowsXP
jmp 0x42b82a
mov esi, str.WindowsServer2003
jmp 0x42b82a
cmp eax, 6
jne 0x42b814
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x42b7fd
sub eax, 1
je 0x42b7f6
sub eax, 1
jne 0x42b83e
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x42b7a5
mov esi, str.Windows8
jmp 0x42b82a
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x42b79b
cmp ecx, 0x1f13
je 0x42b79b
cmp dword [ebp - 0x340], 0xa
jne 0x42b7dd
cmp dword [ebp - 0x344], 0
jne 0x42b83e
cmp dword [ebp - 0x33c], 0x4e20
jae 0x42b825
mov esi, str.Windows10
jmp 0x42b82a
cmp dword [ebp - 0x340], 6
jne 0x42b83e
cmp dword [ebp - 0x344], 3
jne 0x42b83e
mov esi, str.Windows8.1
jmp 0x42b82a
mov esi, str.Windows7
jmp 0x42b82a
cmp dword [ebp - 0x358], 1
jne 0x42b80d
mov esi, str.WindowsVista
jmp 0x42b82a
mov esi, str.WindowsServer2008
jmp 0x42b82a
cmp eax, 0xa
jne 0x42b83e
cmp dword [ebp - 0x348], 0x4e20
jb 0x42b83e
mov esi, str.Windows11
push esi
call fcn.0044f873
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00401820
call fcn.0042752a
test al, al
je 0x42b863
push esi
push ebx
pop edi
pop ebp
pop ecx
pop edx
push ecx
pop edx
pop ebx
push esi
pop ecx
pop ecx
pop edi
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop edi
pop ebx
pop edx
pop esp
push edi
push ecx
pop esi
pop ecx
pop esi
push esi
call fcn.0042752a
test al, al
je 0x42b888
pop esp
push esi
pop edx
pop esp
pop esi
push edx
push edi
push ecx
pop ecx
push esi
push ecx
push ecx
pop eax
pop esi
pop ecx
pop ecx
push eax
push edx
pop esi
push esi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop ebp
call fcn.00427347
test al, al
je 0x42b8a5
pop eax
pop ecx
pop edi
pop edi
push ecx
push edi
pop ecx
pop ebp
pop ecx
pop ecx
pop esp
push edx
push ebx
push esi
pop eax
pop edi
push esi
push eax
pop ecx
push edi
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x619730
call fcn.0042a667
xor edi, edi
test eax, eax
jne 0x42b91f
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0043ffd0
push dword [ebp - 0x348]
mov eax, dword [ebp - 0x350]
push dword [ebp - 0x34c]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00406d50
add esp, 0x20
cmp word [ebp - 0x218], di
jne 0x42b903
mov eax, edi
jmp 0x42b910
lea eax, [ebp - 0x218]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00401820
call fcn.004278ab
test al, al
je 0x42b948
pop ecx
pop esi
push edx
pop esp
pop eax
push esi
push edi
pop esp
push edi
push esi
push esi
push eax
push ebx
pop eax
pop eax
pop ecx
pop eax
push esp
push esp
pop ecx
push eax
push edx
pop ecx
push esp
push esp
push edi
push ebp
push ebx
push edx
pop esi
push esi
push edx
cmp dword [ebp + 0xc], 0
je 0x42b976
cmp word [ebp - 0x320], 0
je 0x42b967
lea eax, [ebp - 0x320]
push eax
call fcn.0044f873
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.004048e0
mov eax, ebx
call fcn.00594f8c
ret