Function at 0x461ba2
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x5df28b
call fcn.005d2642
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.0047be90
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00454a62
test al, al
je 0x461c13
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 0x5e266c
mov ecx, esi
call fcn.00403740
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.00454543
test al, al
je 0x461c8f
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.004544b9
test al, al
je 0x461ca9
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.0045483a
test al, al
je 0x461ccc
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 0x5e94e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x461d18
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x461d11
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.004546e1
test al, al
je 0x461d33
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.004546e1
test al, al
je 0x461d5c
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.0045483a
test al, al
je 0x461d78
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 0x461daa
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x461e7d
cmp eax, 1
jne 0x461da0
mov esi, str.WindowsXP
jmp 0x461e69
mov esi, str.WindowsServer2003
jmp 0x461e69
cmp eax, 6
jne 0x461e53
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x461e3c
sub eax, 1
je 0x461e35
sub eax, 1
jne 0x461e7d
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x461de4
mov esi, str.Windows8
jmp 0x461e69
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x461dda
cmp ecx, 0x1f13
je 0x461dda
cmp dword [ebp - 0x340], 0xa
jne 0x461e1c
cmp dword [ebp - 0x344], 0
jne 0x461e7d
cmp dword [ebp - 0x33c], 0x4e20
jae 0x461e64
mov esi, str.Windows10
jmp 0x461e69
cmp dword [ebp - 0x340], 6
jne 0x461e7d
cmp dword [ebp - 0x344], 3
jne 0x461e7d
mov esi, str.Windows8.1
jmp 0x461e69
mov esi, str.Windows7
jmp 0x461e69
cmp dword [ebp - 0x358], 1
jne 0x461e4c
mov esi, str.WindowsVista
jmp 0x461e69
mov esi, str.WindowsServer2008
jmp 0x461e69
cmp eax, 0xa
jne 0x461e7d
cmp dword [ebp - 0x348], 0x4e20
jb 0x461e7d
mov esi, str.Windows11
push esi
call fcn.0048cd3b
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00403000
call fcn.004546e1
test al, al
je 0x461e98
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.004546e1
test al, al
je 0x461ec1
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.0045483a
test al, al
je 0x461edd
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 0x5e266c
call fcn.00427b60
test eax, eax
jne 0x461f57
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0047be90
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.00407930
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x461f3b
mov eax, esi
jmp 0x461f48
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00403000
call fcn.004543ea
test al, al
je 0x461f70
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.00454726
test al, al
je 0x461f8f
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 0x461fbf
cmp word [ebp - 0x320], 0
jne 0x461fa3
xor eax, eax
jmp 0x461fb0
lea eax, [ebp - 0x320]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.00405290
mov eax, ebx
call fcn.005d25ec
ret