Function at 0x42b4a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f592
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x627a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x360], edx
mov esi, ecx
mov dword [ebp - 0x33c], esi
mov dword [ebp - 0x358], esi
push 0x118
mov dword [ebp - 4], 0
lea eax, [ebp - 0x334]
push 0
mov dword [ebp - 0x35c], 0
push eax
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x338], 0x11c
call fcn.00576f50
add esp, 0xc
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00436390
test al, al
je 0x42b54e
fistp dword [ebp*8 + 0x5c831839]
xor eax, dword [esi - 0x4c8da09e]
xor eax, 0x2ad6264b
nop
rcl bh, cl
xor eax, 0xc2241186
test byte [ebx], bl
hlt
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42b574
mov eax, dword [esi]
jmp 0x42b576
mov eax, esi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, esi
push 0x619488
call fcn.00403d10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x354], eax
movzx eax, byte [ebp - 0x21e]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x34c], eax
call fcn.00436780
test al, al
je 0x42b608
mov ah, 0xfc
invalid
scasb al, byte es:[edi]
pop ecx
ret 0xc117
call fcn.00436400
test al, al
je 0x42b629
mov edx, 0xee2b6a62
push cs
xor esp, eax
dec edi
sub ecx, edx
sti
pop ss
or byte [ebx], bl
js 0x42b696
dec ecx
sti
invalid
call fcn.00435de0
test al, al
je 0x42b64a
mov edi, 0xe027fb51
je 0x42b5f1
ficom word [ecx + 0x12]
add al, 0xce
repne insd dword es:[edi], dx
jo 0x42b5e4
dec eax
sal byte [edi + 0xfe27fb3], 0x21
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42b696
push 0x61c418
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b68f
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x350]
push ecx
call eax
movzx eax, word [ebp - 0x344]
mov dword [ebp - 0x344], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00436160
test al, al
je 0x42b6af
jo 0x42b6e4
int3
mov esi, dword [ebp - 0x354]
cmp esi, 5
jne 0x42b76d
mov eax, dword [ebp - 0x34c]
test eax, eax
je 0x42b6e1
mov ecx, dword [ebp - 0x33c]
cmp eax, 1
jne 0x42b763
push str.WindowsXP
call fcn.00403920
mov ebx, dword [ebp - 0x340]
cld
invalid
call fcn.00436160
test al, al
je 0x42b706
dec eax
retf 0x3fca
mov edi, dword [ebp - 0x33c]
mov ecx, edi
push 0x619488
call fcn.0040c060
test eax, eax
jne 0x42b8f4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00576f50
push ebx
push dword [ebp - 0x34c]
lea eax, [ebp - 0x218]
push esi
push str.Windows_d._d._d
push eax
call fcn.00408f60
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x42b8cd
xor ecx, ecx
jmp 0x42b8e5
push str.WindowsServer2003
jmp 0x42b6dc
cmp esi, 6
jne 0x42b89d
mov eax, dword [ebp - 0x34c]
sub eax, 0
je 0x42b87a
sub eax, 1
je 0x42b86a
mov ebx, dword [ebp - 0x340]
sub eax, 1
jne 0x42b6e7
cmp ebx, 0x1ebb
jne 0x42b7ba
mov ecx, dword [ebp - 0x33c]
push str.Windows8
call fcn.00403920
jmp 0x42b6e7
lea eax, [ebx - 0x1ee6]
cmp eax, 0x25
ja 0x42b7da
mov ecx, dword [ebp - 0x33c]
push str.Windows8
call fcn.00403920
jmp 0x42b6e7
cmp ebx, 0x1f13
jne 0x42b7f7
mov ecx, dword [ebp - 0x33c]
push str.Windows8
call fcn.00403920
jmp 0x42b6e7
mov eax, dword [ebp - 0x350]
cmp eax, 0xa
jne 0x42b83f
cmp dword [ebp - 0x348], 0
jne 0x42b6e7
cmp dword [ebp - 0x344], 0x4e20
mov ecx, dword [ebp - 0x33c]
jae 0x42b830
push str.Windows10
call fcn.00403920
jmp 0x42b6e7
push str.Windows11
call fcn.00403920
jmp 0x42b6e7
cmp eax, 6
jne 0x42b6e7
cmp dword [ebp - 0x348], 3
jne 0x42b6e7
mov ecx, dword [ebp - 0x33c]
push str.Windows8.1
call fcn.00403920
jmp 0x42b6e7
mov ecx, dword [ebp - 0x33c]
push str.Windows7
jmp 0x42b6dc
cmp dword [ebp - 0x358], 1
mov ecx, dword [ebp - 0x33c]
jne 0x42b893
push str.WindowsVista
jmp 0x42b6dc
push str.WindowsServer2008
jmp 0x42b6dc
cmp esi, 0xa
jne 0x42b6e1
mov ebx, dword [ebp - 0x340]
cmp ebx, 0x4e20
jb 0x42b6e7
mov ecx, dword [ebp - 0x33c]
push str.Windows11
call fcn.00403920
jmp 0x42b6e7
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b8d6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00403d10
call fcn.00436860
test al, al
je 0x42b91a
mov esp, 0x247be96a
mov ebp, 0xedf64267
adc eax, 0x40d9790f
xchg dh, ah
xchg edi, eax
fisttp qword [edx + 0x47655b0e]
invalid
call fcn.00435f30
test al, al
je 0x42b947
or dword [ebp - 0xdc7010b], ebp
cmpsb byte [esi], byte es:[edi]
retf 0xbf30
cmp dword [ebp - 0x360], 0
je 0x42b985
cmp word [ebp - 0x324], 0
jne 0x42b95e
xor ecx, ecx
jmp 0x42b976
lea ecx, [ebp - 0x324]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b967
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x324]
mov ecx, edi
push eax
call fcn.0040be00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00570ea9
mov esp, ebp
pop ebp
ret