Function at 0x14003c94c
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x120], 0xfffffffffffffffe
mov r12, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
movzx edi, word [rdx]
test di, di
push 2
pop rax
push 0x17
pop r15
cmove r15d, eax
mov rax, qword [0x1401a71a0]
cmp rax, 3
jne 0x14003caf0
and dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x81
push 1
pop rdx
push 6
pop r8
mov ecx, r15d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14003ca03
mov qword [rbp + 0xe8], r12
lea r15, [rbp + 0xf0]
mov dword [r15], 1
mov byte [rbp + 0x11f], 1
mov qword [rbp + 0x110], rax
mov rcx, rax
mov edx, 0x8004667e
mov r8, r15
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14003ca67
xor edx, edx
jmp 0x14003ca6f
call fcn.140046524
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error_internal_exception__blocking_task_ran_twice.C:Users16956.cargo_registry_srcmirrors.ustc.edu.cn_12df342d903acd47_tokio_1.37.0_src_runtime_blocking_task.rs
lea r15, [rbp + 8]
push 0xe
pop r8
mov rcx, r15
mov r9, rax
call fcn.14003c652
mov rcx, qword [r15]
mov rax, qword [r15 + 8]
movups xmm0, xmmword [r15 + 0x10]
movaps xmmword [rbp + 0xf0], xmm0
test rcx, rcx
je 0x14003c9c6
movaps xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0x90], xmm0
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
movaps xmm0, xmmword [rbp + 0x90]
movups xmmword [rsi + 0x20], xmm0
mov dword [rsi + 8], 0x3b9aca01
jmp 0x14003cd1d
call fcn.140046524
mov rdx, rax
mov byte [rbp + 0x11f], 1
lea r8, [0x140128d6e]
lea rcx, [rbp + 8]
push 0x19
pop r9
call fcn.14003cec4
mov rax, qword [rbp + 8]
test rax, rax
je 0x14003caa8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp - 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rbp + 0x10]
jmp 0x14003ccf3
mov r12d, dword [r14 + 0x48]
cmp r12d, 0x3b9aca00
je 0x14003cbbe
mov r13, qword [r14 + 0x40]
mov byte [rbp + 0x11f], 1
push 8
pop rdx
push 1
pop r8
mov rcx, qword [rbp + 0x110]
call fcn.1400c796e
test rax, rax
je 0x14003cb27
mov byte [rbp + 0x11f], 1
mov rcx, rax
call fcn.14003803a
jmp 0x14003cbbe
lea rax, [rbp + 0xc8]
mov byte [rax], 1
lea r8, [rbp + 8]
mov qword [r8], rax
lea rax, str.C:Users16956.cargo_registry_srcmirrors.ustc.edu.cn_12df342d903acd47_socket2_0.5.7_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401a71a0]
lea r9, [0x140142028]
xor edx, edx
call fcn.1400ec810
jmp 0x14003c9a0
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r10d, 0xf4240
mov eax, r12d
xor edx, edx
div r10d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r9d, r9d
or r9d, eax
lea r8, [rbp + 8]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rbp + 0xf0], 0
mov byte [rbp + 0x11f], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r15
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
push 0xc
pop r9
mov rcx, qword [rbp + 0x110]
mov edx, 0x98000004
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x14003ce35
test di, di
je 0x14003cc21
cmp byte [r14 + 0x56], 0
je 0x14003cc63
mov eax, dword [r14 + 0x57]
mov ecx, dword [r14 + 0x63]
lea rdx, [rbp + 0xf0]
mov dword [rdx + 0x10], ecx
mov rcx, qword [r14 + 0x5b]
mov qword [rdx + 8], rcx
mov dword [rdx + 4], eax
and qword [rdx + 0x14], 0
and word [rdx + 0x1c], 0
mov word [rdx], 1
lea r15, [rbp + 8]
mov rcx, r15
call fcn.1400c7aa3
mov byte [rbp + 0x11f], 1
mov rcx, qword [rbp + 0x110]
mov rdx, r15
call fcn.1400c79a6
jmp 0x14003ccb0
cmp byte [r14 + 0x51], 0
je 0x14003cc7f
mov eax, dword [r14 + 0x52]
lea rdx, [rbp + 0xf0]
mov dword [rdx + 2], eax
and word [rdx + 6], 0
and word [rdx], 0
lea r15, [rbp + 8]
mov rcx, r15
call fcn.1400c7aa3
mov byte [rbp + 0x11f], 1
mov rcx, qword [rbp + 0x110]
mov rdx, r15
call fcn.1400c79a6
jmp 0x14003ccb0
xorps xmm0, xmm0
movups xmmword [rbp + 0xfe], xmm0
movups xmmword [rbp + 0xf4], xmm0
mov word [rbp + 0xf0], 1
jmp 0x14003cc87
and qword [rbp + 0xf0], 0
lea r15, [rbp + 8]
lea rdx, [rbp + 0xf0]
mov rcx, r15
call fcn.1400c7aa3
mov byte [rbp + 0x11f], 1
mov rcx, qword [rbp + 0x110]
mov rdx, r15
call fcn.1400c79a6
mov byte [rbp + 0x11f], 1
lea r8, [0x140128d87]
lea rcx, [rbp + 0xc8]
push 0x14
pop r9
mov rdx, rax
call fcn.14003cec4
mov rax, qword [rbp + 0xc8]
test rax, rax
je 0x14003cd32
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp - 0x30]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rcx], xmm0
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x28], rax
mov dword [rsi + 8], 0x3b9aca01
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ws2_32.dll_closesocket]
nop
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp byte [r14 + 0x68], 0
je 0x14003cd59
push 4
pop rdx
push 1
pop r8
mov rcx, qword [rbp + 0x110]
call fcn.1400c796e
test rax, rax
je 0x14003cd59
mov rcx, rax
call fcn.14003803a
cmp qword [r14], 0
je 0x14003cd94
mov rax, qword [r14 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, qword [rbp + 0x110]
mov edx, 0x1001
call fcn.1400c796e
test rax, rax
je 0x14003cd94
mov rcx, rax
call fcn.14003803a
cmp qword [r14 + 0x10], 0
je 0x14003cdd0
mov rax, qword [r14 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, qword [rbp + 0x110]
mov edx, 0x1002
call fcn.1400c796e
test rax, rax
je 0x14003cdd0
mov rcx, rax
call fcn.14003803a
mov eax, dword [rbp + 0x190]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0xb8], xmm1
movups xmmword [rbp + 0xa8], xmm0
mov rcx, qword [rbp + 0xe8]
mov qword [rsi], rcx
mov dword [rsi + 8], eax
movups xmm0, xmmword [rbp + 0xa4]
movups xmm1, xmmword [rbp + 0xb4]
movups xmmword [rsi + 0xc], xmm0
movups xmmword [rsi + 0x1c], xmm1
mov eax, dword [rbp + 0xc4]
mov dword [rsi + 0x2c], eax
mov rax, qword [rbp + 0x110]
mov qword [rsi + 0x30], rax
xor eax, eax
mov byte [rsi + 0x80], al
mov byte [rsi + 0x88], al
jmp 0x14003cd1d
call fcn.140046524
jmp 0x14003cadc