Function at 0x140006ac0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400d08c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
xor edx, edx
mov r8d, 0x114
lea rcx, [rsp + 0x70]
call fcn.140085470
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
test eax, eax
jns 0x140006b3d
mov byte [rdi], 1
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, select
lea rdx, str.NT_SUCCESS_FAIL
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
cmp ecx, 0xa
jne 0x140006ea0
test eax, eax
jne 0x140006f70
mov eax, dword [rsp + 0x7c]
cmp eax, 0x55f0
jb 0x140006bf3
sub eax, 0x55f0
je 0x140006bcb
sub eax, 0x26d
je 0x140006ba3
sub eax, ecx
jne case.0x140006dae.18976
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_11_23H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_11_22H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_11_21H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
cmp eax, 0x47ba
ja 0x140006d87
je 0x140006d5f
cmp eax, 0x3ad7
ja 0x140006cce
je 0x140006ca6
cmp eax, 0x2800
je 0x140006c7e
cmp eax, 0x295a
je 0x140006c56
cmp eax, 0x3839
jne case.0x140006dae.18976
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1607_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1511_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1507_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1703_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
cmp eax, 0x3fab
je 0x140006d37
cmp eax, 0x42ee
je 0x140006d0f
cmp eax, 0x4563
jne case.0x140006dae.18976
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1809_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1803_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1709_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1903_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
add eax, 0xffffb5e1
cmp eax, 0x46
ja case.0x140006dae.18976
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x7044]
mov ecx, dword [rdx + rax*4 + 0x7028]
add rcx, rdx
jmp rcx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_1909_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_2004_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_20H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_21H1_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_21H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, setsockopt
lea rdx, str.Windows_10_22H2_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
cmp ecx, 6
jne 0x140006f70
cmp eax, 3
jne 0x140006ed6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, ntohl
lea rdx, str.Windows_8.1_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
cmp eax, 2
jne 0x140006f03
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 0xa
lea rdx, str.Windows_8_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
cmp eax, 1
jne case.0x140006dae.18976
mov eax, dword [rsp + 0x7c]
sub eax, 0x1db0
je 0x140006f48
sub eax, 1
jne case.0x140006dae.18976
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Windows_7_SP1_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Windows_7_SP0_n
mov rcx, rbx
call fcn.14000c200
jmp 0x140007000
mov byte [rdi], 1
lea rdx, str.Unknown_ndwMajorVersion:__n_dwMinorVersion:__ndwBuildNumber:_
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], 0x40
mov dword [rsp + 0x60], ecx
movabs rcx, 0x2000000000000000
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x64], eax
movabs rax, 0x2000000000000004
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x68], eax
movabs rax, 0x2000000000000008
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 3
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000e1e0
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400633b0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret