Function at 0x1400325c6
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov rdi, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
movzx r13d, word [rdx]
test r13w, r13w
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov rax, qword [0x14017e040]
cmp rax, 3
jne 0x140032a40
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14003269b
lea r8, [rsp + 0xb0]
mov dword [r8], 1
mov rcx, r14
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400326ff
mov ebp, dword [r15 + 0x48]
cmp ebp, 0x3b9aca00
je 0x1400327f1
mov r12, qword [r15 + 0x40]
mov rcx, r14
mov edx, 8
mov r8d, 1
call fcn.1400b8936
test rax, rax
je 0x140032764
mov rcx, rax
call fcn.1400322bb
jmp 0x1400327f1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea r9, [rax + 2]
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea r12, [rsp + 0xb0]
mov r8d, 0xe
mov rcx, r12
call fcn.14003222d
mov rax, qword [r12]
mov r14, qword [r12 + 8]
movups xmm0, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x50], xmm0
test rax, rax
je 0x140032639
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r14
mov dword [rsi + 8], 0x3b9aca01
jmp 0x140032a2c
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea r9, [rax + 2]
lea rdx, [0x14011856e]
lea rcx, [rsp + 0xb0]
mov r8d, 0x19
call fcn.14003222d
mov rax, qword [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rcx
test rax, rax
je 0x14003265e
mov rcx, qword [rsp + 0x60]
mov qword [rsi + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x140032922
mov ecx, 0x3e8
mov rax, r12
mul rcx
mov ecx, ebp
imul rcx, rcx, 0x431bde83
shr rcx, 0x32
add rcx, rax
adc rdx, 0
mov eax, 0xffffffff
cmp rcx, rax
cmovae rcx, rax
xor eax, eax
neg rdx
mov edx, 0
sbb edx, edx
or edx, ecx
lea r8, [rsp + 0xb0]
mov dword [r8], 1
mov dword [r8 + 4], edx
mov dword [r8 + 8], eax
lea rcx, [rsp + 0x50]
mov dword [rcx], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x140032a79
test r13w, r13w
je 0x14003284d
cmp byte [r15 + 0x56], 0
je 0x140032886
mov eax, dword [r15 + 0x57]
mov ecx, dword [r15 + 0x63]
lea rdx, [rsp + 0x50]
mov dword [rdx + 0x10], ecx
mov rcx, qword [r15 + 0x5b]
mov qword [rdx + 8], rcx
mov dword [rdx + 4], eax
mov qword [rdx + 0x14], 0
mov word [rdx + 0x1c], 0
mov word [rdx], 1
lea r12, [rsp + 0xb0]
mov rcx, r12
call fcn.1400b89c8
mov rcx, r14
mov rdx, r12
call fcn.1400b8974
jmp 0x1400328c5
cmp byte [r15 + 0x51], 0
je 0x14003289c
mov eax, dword [r15 + 0x52]
lea rdx, [rsp + 0x50]
mov dword [rdx + 2], eax
xor eax, eax
mov word [rdx + 6], ax
mov word [rdx], ax
lea r12, [rsp + 0xb0]
mov rcx, r12
call fcn.1400b89c8
mov rcx, r14
mov rdx, r12
call fcn.1400b8974
jmp 0x1400328c5
xorps xmm0, xmm0
movups xmmword [rsp + 0x5e], xmm0
movups xmmword [rsp + 0x54], xmm0
mov word [rsp + 0x50], 1
jmp 0x1400328a5
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0xb0]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1400b89c8
mov rcx, r14
mov rdx, r12
call fcn.1400b8974
test rax, rax
je 0x14003293e
lea rdx, [0x140118587]
lea rcx, [rsp + 0xb0]
mov r8d, 0x14
mov r9, rax
call fcn.14003222d
mov rax, qword [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x70], xmm0
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x80], rcx
test rax, rax
je 0x14003293e
mov rcx, qword [rsp + 0x80]
mov qword [rsi + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 8], 0x3b9aca01
mov rcx, r14
call sub.ws2_32.dll_closesocket
jmp 0x140032a2c
cmp byte [r15 + 0x68], 0
je 0x140032965
mov rcx, r14
mov edx, 4
mov r8d, 1
call fcn.1400b8936
test rax, rax
je 0x140032965
mov rcx, rax
call fcn.1400322bb
cmp qword [r15], 0
je 0x14003299c
mov rax, qword [r15 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r14
mov edx, 0x1001
call fcn.1400b8936
test rax, rax
je 0x14003299c
mov rcx, rax
call fcn.1400322bb
cmp qword [r15 + 0x10], 0
je 0x1400329d4
mov rax, qword [r15 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r14
mov edx, 0x1002
call fcn.1400b8936
test rax, rax
je 0x1400329d4
mov rcx, rax
call fcn.1400322bb
mov eax, dword [rsp + 0x1a0]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0xa0], xmm1
movups xmmword [rsp + 0x90], xmm0
mov ecx, dword [rsp + 0xac]
mov dword [rsi + 0x2c], ecx
movups xmm0, xmmword [rsp + 0x9c]
movups xmmword [rsi + 0x1c], xmm0
movups xmm0, xmmword [rsp + 0x8c]
movups xmmword [rsi + 0xc], xmm0
mov qword [rsi], rdi
mov dword [rsi + 8], eax
mov qword [rsi + 0x30], r14
xor eax, eax
mov byte [rsi + 0x88], al
mov byte [rsi + 0x90], al
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x70]
mov byte [rax], 1
lea r8, [rsp + 0xb0]
mov qword [r8], rax
lea rax, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_socket2_0.5.5_src_sys_windows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14017e040]
lea r9, [0x1401319b0]
xor edx, edx
call fcn.1400ba010
jmp 0x14003260b
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x14003268e