Function at 0x14012dee0
Capabilities:
Check os version

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x140
mov rbp, qword [rdx]
test rbp, rbp
je 0x14012e3ba
mov rbx, r8
mov r15, rdx
mov r12, rcx
mov rsi, qword [r8]
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x14012df5f
xor edi, edi
test eax, eax
jne 0x14012dfdf
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
lea rcx, [rdi + 0x90]
lea rdx, [0x140150e90]
call fcn.14013b2f0
mov byte [rdi + 0xe0], 1
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + rax*8]
movzx eax, byte [rcx + 0xdc]
movzx ecx, byte [rcx + 0xdd]
mov edx, ecx
test ax, ax
je 0x14012df8e
test cl, cl
je 0x14012dfc1
lea edx, [rcx - 1]
movzx ecx, cl
mov edi, dword [0x140221400]
mov rsi, qword gs:[0x58]
mov rdi, qword [rsi + rdi*8]
mov byte [rdi + 0xdd], dl
movzx ecx, cx
shl ecx, 8
movzx eax, ax
or eax, ecx
xor ecx, ecx
test cl, cl
jne 0x14012e198
jmp 0x14012dfd7
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
call qword [rax + reloc.WS2_32.dll_recv]
mov cl, 1
xor eax, eax
test cl, cl
jne 0x14012e198
shl eax, 8
movzx edi, cl
or edi, eax
mov rax, qword [rbp + 0x30]
test al, 2
jne 0x14012e106
test al, 4
jne 0x14012e35c
mov r14d, edi
shr r14d, 0x10
test al, 1
jne 0x14012e004
test al, 1
je 0x14012e042
jmp 0x14012e077
mov rdx, qword [rbx]
mov rcx, qword [rdx]
cmp rcx, qword [rbp + 0x20]
je 0x14012e377
mov rax, qword [rbp + 0x30]
nop dword [rax + rax]
mov rcx, rax
and rcx, 0xfffffffffffffffe
lock cmpxchg qword [rbp + 0x30], rcx
jne 0x14012e020
test al, 2
jne 0x14012e2c4
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
call qword [rax + 0x18]
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
call qword [rax]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x30]
nop word [rax + rax]
mov rcx, rax
or rcx, 1
lock cmpxchg qword [rbp + 0x30], rcx
jne 0x14012e060
test al, 2
jne 0x14012e106
shr edi, 8
test dil, dil
je 0x14012e198
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xe0]
cmp eax, 1
je 0x14012e0d7
test eax, eax
jne 0x14012e198
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
lea rcx, [rsi + 0x90]
lea rdx, [0x140150e90]
call fcn.14013b2f0
mov byte [rsi + 0xe0], 1
mov eax, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xdc], 1
mov byte [rax + 0xdd], r14b
mov qword [r12 + 0x60], 5
jmp 0x14012e365
mov rbx, qword [rbp + 0x98]
mov qword [rbp + 0x98], 4
cmp rbx, 4
je 0x14012e35c
movups xmm0, xmmword [rbp + 0x88]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbp + 0x78]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x38]
movups xmm1, xmmword [rbp + 0x48]
movups xmm2, xmmword [rbp + 0x58]
movups xmm3, xmmword [rbp + 0x68]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0xa0]
movups xmm1, xmmword [rbp + 0xb0]
movups xmm2, xmmword [rbp + 0xc0]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm2
cmp rbx, 4
je 0x14012e35c
cmp rbx, 5
jne 0x14012e1a6
mov qword [r12 + 0x60], 5
jmp 0x14012e365
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x130], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x110], xmm3
movaps xmmword [rsp + 0x100], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xd0], xmm2
lock dec qword [rbp]
jne 0x14012e233
mov rcx, qword [r15]
call fcn.1401204a0
mov qword [r15], 0
movaps xmm0, xmmword [rsp + 0x130]
movups xmmword [r12 + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x120]
movups xmmword [r12 + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movups xmmword [r12 + 0x30], xmm3
movups xmmword [r12 + 0x20], xmm2
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmm2, xmmword [rsp + 0xd0]
movups xmmword [r12 + 0x68], xmm0
movups xmmword [r12 + 0x78], xmm1
movups xmmword [r12 + 0x88], xmm2
mov qword [r12 + 0x60], rbx
jmp 0x14012e365
lock or qword [rbp + 0x30], 1
mov rbx, qword [rbp + 0x98]
mov qword [rbp + 0x98], 4
cmp rbx, 4
je 0x14012e348
movups xmm0, xmmword [rbp + 0x88]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbp + 0x78]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x38]
movups xmm1, xmmword [rbp + 0x48]
movups xmm2, xmmword [rbp + 0x58]
movups xmm3, xmmword [rbp + 0x68]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0xa0]
movups xmm1, xmmword [rbp + 0xb0]
movups xmm2, xmmword [rbp + 0xc0]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0xa0], xmm2
xor ecx, ecx
mov edx, r14d
call fcn.1401559c0
cmp rbx, 4
jne 0x14012e192
mov qword [r12 + 0x60], 4
add rsp, 0x140
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rdx + 8]
mov rsi, qword [rcx]
cmp rsi, qword [rdx]
jne 0x14012e014
mov rsi, qword [rdx + 8]
cmp qword [rcx + 8], rsi
jne 0x14012e014
mov rsi, qword [rcx + 0x10]
cmp rsi, qword [rdx + 0x10]
jne 0x14012e014
mov rcx, qword [rcx + 0x18]
cmp rcx, qword [rdx + 0x18]
jne 0x14012e014
jmp 0x14012dffe
lea rax, str.called_after_complete
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x20], 0
lea rax, method..virtual_32
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rdx, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.32.0_src_synconeshot.rs
lea rcx, [rsp + 0x20]
call fcn.14016f2f0
ud2