Function at 0x140001f30
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x150
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140001f84
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
lea r9, [rsp + 0x160]
lea rdx, str.Faild_to_load_library_ntdllDll__n
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8d, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor eax, eax
add rsp, 0x150
pop rsi
ret
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140001fd3
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8d, [rsi + 0x34]
lea rdx, str.Faild_to_get_function_address_pGetWindowsOsVersion__n
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
xor eax, eax
add rsp, 0x150
pop rsi
ret
mov qword [rsp + 0x168], rbx
mov rbx, qword [0x14000d488]
mov qword [rsp + 0x170], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x104
mov rcx, rax
call rbx
xor edx, edx
mov rdi, rax
lea rax, [rsp + 0x30]
xorps xmm0, xmm0
lea ecx, [rdx + 2]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x140002010
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdx
lea rcx, [rsp + 0x30]
mov dword [rax + 0x18], edx
mov dword [rsp + 0x30], 0x11c
call rsi
mov rbx, qword [0x14000d488]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x11c
mov rcx, rax
call rbx
xor esi, esi
mov r8b, 1
mov edx, 0x80
xor ecx, ecx
mov rbx, rax
mov qword [rax], 0x11c
mov qword [rax + 8], rsi
mov dword [rax + 0x10], esi
mov dword [rax + 0x114], esi
mov word [rax + 0x118], si
mov byte [rax + 0x11a], 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 0x80
mov rcx, rbx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov rbx, qword [rsp + 0x168]
test eax, eax
mov eax, dword [rsp + 0x34]
jne 0x140002395
cmp eax, 5
jne 0x140002165
cmp dword [rsp + 0x38], 2
jne 0x1400025d3
test rdi, rdi
je 0x1400025d3
mov eax, 0x8000
cmp word [rsp + 0x148], ax
jne 0x140002135
lea rdx, str.Windows_Home_Server
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002120
jmp 0x1400025d0
lea rdx, str.Windows_Server_2003
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002150
jmp 0x1400025d0
cmp eax, 6
jne 0x140002285
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x1400021b5
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2008
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400021a0
jmp 0x1400025d0
cmp eax, 1
jne 0x1400021f5
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2008_R2
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400021e0
jmp 0x1400025d0
cmp eax, 2
jne 0x140002235
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2012
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002220
jmp 0x1400025d0
cmp eax, 3
jne 0x1400025d3
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2012_R2
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002270
jmp 0x1400025d0
cmp eax, 0xa
jne 0x1400025d3
cmp dword [rsp + 0x38], esi
jne 0x1400025d3
mov eax, dword [rsp + 0x3c]
cmp eax, 0x3839
jb 0x1400022f5
cmp eax, 0x4563
jae 0x1400022fc
cmp eax, 0x4f7c
jae 0x1400022f5
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2012
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400022e0
jmp 0x1400025d0
cmp eax, 0x4563
jb 0x140002345
cmp eax, 0x4f7c
jae 0x140002350
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2019
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002330
jmp 0x1400025d0
cmp eax, 0x4f7c
jb 0x1400025d3
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Server_2022
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
nop dword [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002380
jmp 0x1400025d0
cmp eax, 5
jne 0x140002435
mov eax, dword [rsp + 0x38]
cmp eax, 1
jne 0x1400023e5
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_xp
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400023d0
jmp 0x1400025d0
cmp eax, 2
jne 0x1400025d3
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_XP_Professional_x64_Edition
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002420
jmp 0x1400025d0
cmp eax, 6
jne 0x140002552
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x140002485
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_Vista
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002470
jmp 0x1400025d0
cmp eax, 1
jne 0x1400024c5
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_7
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400024b0
jmp 0x1400025d0
cmp eax, 2
jne 0x140002505
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_8
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400024f0
jmp 0x1400025d0
cmp eax, 3
jne 0x1400025d3
test rdi, rdi
je 0x1400025d3
lea rdx, str.Windows_8.1
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002540
jmp 0x1400025d0
cmp eax, 0xa
jne 0x1400025d3
cmp dword [rsp + 0x38], esi
jne 0x1400025d3
test rdi, rdi
je 0x1400025d3
cmp dword [rsp + 0x3c], 0x55f0
jae 0x1400025a2
lea rdx, str.Windows_10
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x140002590
jmp 0x1400025d0
lea rdx, str.Windows_11
cmp rdi, rdx
je 0x1400025d3
mov rcx, rdi
mov eax, 0x57
sub rdx, rdi
nop dword [rax]
mov word [rcx], ax
lea rcx, [rcx + 2]
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x1400025c0
mov word [rcx], si
mov rax, rdi
mov rdi, qword [rsp + 0x170]
add rsp, 0x150
pop rsi
ret