Function at 0x423f8c
Capabilities:
Check os version

Disassembly:
push 0x350
mov eax, 0x599019
call fcn.00410ff3
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x338], edi
push 0x118
push ebx
mov dword [ebp - 0x354], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x35c], edi
mov dword [ebp - 0x334], 0x11c
call fcn.00431720
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004155a2
test al, al
je 0x423ffc
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.00415a37
test al, al
je 0x424017
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
xor ebx, ebx
push 0x59b670
mov ecx, edi
call fcn.0040135f
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.004157ca
test al, al
je 0x424093
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.00415449
test al, al
je 0x4240b6
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x424102
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4240fb
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.004159f2
test al, al
je 0x424125
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.004158de
test al, al
je 0x42413f
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.004155e7
test al, al
je 0x42415a
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov eax, dword [ebp - 0x350]
cmp eax, 5
jne 0x42418c
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x42425f
cmp eax, 1
jne 0x424182
mov esi, str.WindowsXP
jmp 0x42424b
mov esi, str.WindowsServer2003
jmp 0x42424b
cmp eax, 6
jne 0x424235
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x42421e
sub eax, 1
je 0x424217
sub eax, 1
jne 0x42425f
mov ecx, dword [ebp - 0x348]
cmp ecx, 0x1ebb
jne 0x4241c6
mov esi, str.Windows8
jmp 0x42424b
lea eax, [ecx - 0x1ee6]
cmp eax, 0x25
jbe 0x4241bc
cmp ecx, 0x1f13
je 0x4241bc
cmp dword [ebp - 0x340], 0xa
jne 0x4241fe
cmp dword [ebp - 0x344], 0
jne 0x42425f
cmp dword [ebp - 0x33c], 0x4e20
jae 0x424246
mov esi, str.Windows10
jmp 0x42424b
cmp dword [ebp - 0x340], 6
jne 0x42425f
cmp dword [ebp - 0x344], 3
jne 0x42425f
mov esi, str.Windows8.1
jmp 0x42424b
mov esi, str.Windows7
jmp 0x42424b
cmp dword [ebp - 0x358], 1
jne 0x42422e
mov esi, str.WindowsVista
jmp 0x42424b
mov esi, str.WindowsServer2008
jmp 0x42424b
cmp eax, 0xa
jne 0x42425f
cmp dword [ebp - 0x348], 0x4e20
jb 0x42425f
mov esi, str.Windows11
push esi
call fcn.00434fd1
pop ecx
mov ecx, dword [ebp - 0x338]
push eax
push esi
call fcn.00401f62
call fcn.004159f2
test al, al
je 0x424282
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.004158de
test al, al
je 0x42429c
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.004155e7
test al, al
je 0x4242b7
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov ebx, dword [ebp - 0x338]
mov ecx, ebx
push 0x59b670
call fcn.00405c82
test eax, eax
jne 0x424331
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00431720
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.00402189
add esp, 0x20
cmp word [ebp - 0x218], si
jne 0x424315
mov eax, esi
jmp 0x424322
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00401f62
call fcn.004155a2
test al, al
je 0x424355
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.004158de
test al, al
je 0x42437c
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
mov ebx, dword [ebp - 0x338]
cmp dword [ebp + 0xc], 0
je 0x4243ac
cmp word [ebp - 0x320], 0
jne 0x424390
xor eax, eax
jmp 0x42439d
lea eax, [ebp - 0x320]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x320]
mov ecx, ebx
push eax
call fcn.00401cf3
mov eax, ebx
call fcn.00410fae
ret