Function at 0x42c8f8
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x598d29
call fcn.00590558
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor edi, edi
mov dword [ebp - 0x338], esi
push 0x118
push edi
mov dword [ebp - 0x354], edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x334], 0x11c
call fcn.0043afd0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0042b9fa
test al, al
je 0x42c969
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
push 0x615ac8
mov ecx, esi
call fcn.004026c0
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], edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x340], edi
mov dword [ebp - 0x344], edi
mov dword [ebp - 0x33c], edi
mov dword [ebp - 0x34c], eax
call fcn.0042b4db
test al, al
je 0x42c9e5
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
call fcn.0042b451
test al, al
je 0x42c9ff
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0042b7d2
test al, al
je 0x42ca22
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42ca6e
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ca67
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.0042b679
test al, al
je 0x42ca89
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.0042b679
test al, al
je 0x42cab2
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0042b7d2
test al, al
je 0x42cace
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x42cb00
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x42cbd3
cmp eax, 1
jne 0x42caf6
mov esi, str.WindowsXP
jmp 0x42cbbf
mov esi, str.WindowsServer2003
jmp 0x42cbbf
cmp eax, 6
jne 0x42cba9
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x42cb92
sub eax, 1
je 0x42cb8b
sub eax, 1
jne 0x42cbd3
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x42cb3a
mov esi, str.Windows8
jmp 0x42cbbf
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x42cb30
cmp ecx, 0x1f13
je 0x42cb30
cmp dword [ebp - 0x340], 0xa
jne 0x42cb72
cmp dword [ebp - 0x344], 0
jne 0x42cbd3
cmp dword [ebp - 0x33c], 0x4e20
jae 0x42cbba
mov esi, str.Windows10
jmp 0x42cbbf
cmp dword [ebp - 0x340], 6
jne 0x42cbd3
cmp dword [ebp - 0x344], 3
jne 0x42cbd3
mov esi, str.Windows8.1
jmp 0x42cbbf
mov esi, str.Windows7
jmp 0x42cbbf
cmp dword [ebp - 0x358], 1
jne 0x42cba2
mov esi, str.WindowsVista
jmp 0x42cbbf
mov esi, str.WindowsServer2008
jmp 0x42cbbf
cmp eax, 0xa
jne 0x42cbd3
cmp dword [ebp - 0x348], 0x4e20
jb 0x42cbd3
mov esi, str.Windows11
push esi
call fcn.0044a7dd
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.004029e0
call fcn.0042b679
test al, al
je 0x42cbee
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.0042b679
test al, al
je 0x42cc17
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0042b7d2
test al, al
je 0x42cc33
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x615ac8
call fcn.0042000b
test eax, eax
jne 0x42ccad
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043afd0
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.004078b0
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x42cc91
mov eax, esi
jmp 0x42cc9e
lea eax, [ebp - 0x218]
push eax
call fcn.0044a7dd
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004029e0
call fcn.0042b382
test al, al
je 0x42ccc6
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.0042b6be
test al, al
je 0x42cce5
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
mov ebx, dword [ebp - 0x338]
cmp dword [ebp + 0xc], 0
je 0x42cd15
cmp word [ebp - 0x320], 0
jne 0x42ccf9
xor eax, eax
jmp 0x42cd06
lea eax, [ebp - 0x320]
push eax
call fcn.0044a7dd
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.00407140
mov eax, ebx
call fcn.00590513
ret