Function at 0x43595c
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x5abfc1
call fcn.0042d04a
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.0044b370
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004364ca
test al, al
je 0x4359da
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 0x62be94
call fcn.00402d70
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.004362e7
test al, al
je 0x435a57
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.004362e7
test al, al
je 0x435a76
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.00436599
test al, al
je 0x435a9f
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 str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x435aeb
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435ae4
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.00436104
test al, al
je 0x435b0c
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 - 0x350]
cmp edi, 5
jne 0x435b3e
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x435c11
cmp eax, 1
jne 0x435b34
mov esi, str.WindowsXP
jmp 0x435bfd
mov esi, str.WindowsServer2003
jmp 0x435bfd
cmp edi, 6
jne 0x435be7
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x435bd0
sub eax, 1
je 0x435bc9
sub eax, 1
jne 0x435c11
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x435b78
mov esi, str.Windows8
jmp 0x435bfd
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x435b6e
cmp ecx, 0x1f13
je 0x435b6e
cmp dword [ebp - 0x340], 0xa
jne 0x435bb0
cmp dword [ebp - 0x344], 0
jne 0x435c11
cmp dword [ebp - 0x33c], 0x4e20
jae 0x435bf8
mov esi, str.Windows10
jmp 0x435bfd
cmp dword [ebp - 0x340], 6
jne 0x435c11
cmp dword [ebp - 0x344], 3
jne 0x435c11
mov esi, str.Windows8.1
jmp 0x435bfd
mov esi, str.Windows7
jmp 0x435bfd
cmp dword [ebp - 0x358], 1
jne 0x435be0
mov esi, str.WindowsVista
jmp 0x435bfd
mov esi, str.WindowsServer2008
jmp 0x435bfd
cmp edi, 0xa
jne 0x435c11
cmp dword [ebp - 0x348], 0x4e20
jb 0x435c11
mov esi, str.Windows11
push esi
call fcn.00459845
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00403090
call fcn.00436104
test al, al
je 0x435c38
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 - 0x350]
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x62be94
call fcn.00430892
test eax, eax
jne 0x435cac
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0044b370
push dword [ebp - 0x348]
lea eax, [ebp - 0x218]
push dword [ebp - 0x34c]
push edi
push str.Windows_d._d._d
push eax
call fcn.004065c0
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x435c90
mov eax, esi
jmp 0x435c9d
lea eax, [ebp - 0x218]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00403090
call fcn.0043677c
test al, al
je 0x435cda
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 0x435d0a
cmp word [ebp - 0x320], 0
jne 0x435cee
xor eax, eax
jmp 0x435cfb
lea eax, [ebp - 0x320]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.00406130
mov eax, ebx
call fcn.0042cff4
ret