Function at 0x14008e1fb
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
movzx ebp, word [rdx]
test bp, bp
mov eax, 2
mov edx, 0x17
cmove edx, eax
lea r12, [rsp + 0x50]
mov rcx, r12
mov r8d, 1
mov r9d, 6
call sym.socket2::socket::Socket::new::hd39972090c80a155
cmp qword [r12], 0
je 0x14008e2b9
mov r9, qword [rsp + 0x58]
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea r13, [rsp + 0xd8]
mov r8d, 0xe
mov rcx, r13
call sym.hyper::client::connect::http::ConnectError::new::h996fcab40facbcde
mov rax, qword [r13]
mov rdi, qword [r13 + 8]
movups xmm0, xmmword [r13 + 0x10]
movaps xmmword [rsp + 0x80], xmm0
test rax, rax
je 0x14008e2c5
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x20], xmm0
mov dword [rsi + 8], 0x3b9aca01
jmp 0x14008e67c
mov qword [rsp + 0x78], rbx
mov rdi, qword [rsp + 0x58]
jmp 0x14008e2ca
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0xd8]
mov dword [r8], 1
mov rcx, rdi
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14008e324
mov ebx, dword [r15 + 0x48]
cmp ebx, 0x3b9aca00
je 0x14008e41b
mov r13, qword [r15 + 0x40]
mov rcx, rdi
mov edx, 8
mov r8d, 1
call sym.socket2::sys::setsockopt::h44f0df025ddc0c04
test rax, rax
je 0x14008e391
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::h33a28047951b588d
jmp 0x14008e41b
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea r9, [rax + 2]
lea rdx, [0x140261ab6]
lea rcx, [rsp + 0xd8]
mov r8d, 0x19
call sym.hyper::client::connect::http::ConnectError::new::h996fcab40facbcde
mov rax, qword [rsp + 0xd8]
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x60], rcx
test rax, rax
je 0x14008e2eb
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x160]
mov qword [rcx + 0x10], rdx
movaps xmm0, xmmword [rsp + 0x50]
jmp 0x14008e562
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov ecx, ebx
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 + 0xd8]
mov dword [r8], 1
mov dword [r8 + 4], edx
mov dword [r8 + 8], eax
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x98000004
mov r9d, 0xc
call sub.WS2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x14008e690
test bp, bp
je 0x14008e476
cmp byte [r15 + 0x56], 0
je 0x14008e4af
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 + 0xd8]
mov rcx, r12
call sym._ZN109__LT_socket2..sockaddr..SockAddr_u20_as_u20_core..convert..From_LT_core..net..socket_addr..SocketAddr_GT__GT_4from17hbbe
mov rcx, rdi
mov rdx, r12
call sym.socket2::socket::Socket::bind::hb06693c5ec854d93
jmp 0x14008e4ee
cmp byte [r15 + 0x51], 0
je 0x14008e4c5
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 + 0xd8]
mov rcx, r12
call sym._ZN109__LT_socket2..sockaddr..SockAddr_u20_as_u20_core..convert..From_LT_core..net..socket_addr..SocketAddr_GT__GT_4from17hbbe
mov rcx, rdi
mov rdx, r12
call sym.socket2::socket::Socket::bind::hb06693c5ec854d93
jmp 0x14008e4ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x5e], xmm0
movups xmmword [rsp + 0x54], xmm0
mov word [rsp + 0x50], 1
jmp 0x14008e4ce
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0xd8]
lea rdx, [rsp + 0x50]
mov rcx, r12
call sym._ZN109__LT_socket2..sockaddr..SockAddr_u20_as_u20_core..convert..From_LT_core..net..socket_addr..SocketAddr_GT__GT_4from17hbbe
mov rcx, rdi
mov rdx, r12
call sym.socket2::socket::Socket::bind::hb06693c5ec854d93
test rax, rax
mov rbx, qword [rsp + 0x78]
je 0x14008e58c
lea rdx, [0x140261acf]
lea rcx, [rsp + 0xd8]
mov r8d, 0x14
mov r9, rax
call sym.hyper::client::connect::http::ConnectError::new::h996fcab40facbcde
mov rax, qword [rsp + 0xd8]
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x90], rcx
test rax, rax
je 0x14008e58c
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x180]
mov qword [rcx + 0x10], rdx
movaps xmm0, xmmword [rsp + 0x80]
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, rdi
call fcn.1401a7cac
jmp 0x14008e67c
cmp byte [r15 + 0x68], 0
je 0x14008e5b3
mov rcx, rdi
mov edx, 4
mov r8d, 1
call sym.socket2::sys::setsockopt::h44f0df025ddc0c04
test rax, rax
je 0x14008e5b3
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::h33a28047951b588d
cmp qword [r15], 0
je 0x14008e5ea
mov rax, qword [r15 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rdi
mov edx, 0x1001
call sym.socket2::sys::setsockopt::h44f0df025ddc0c04
test rax, rax
je 0x14008e5ea
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::h33a28047951b588d
cmp qword [r15 + 0x10], 0
je 0x14008e622
mov rax, qword [r15 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rdi
mov edx, 0x1002
call sym.socket2::sys::setsockopt::h44f0df025ddc0c04
test rax, rax
je 0x14008e622
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::h33a28047951b588d
mov eax, dword [rsp + 0x200]
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsi], rbx
mov dword [rsi + 8], eax
movups xmm0, xmmword [rsp + 0x9c]
movups xmm1, xmmword [rsp + 0xac]
movups xmmword [rsi + 0xc], xmm0
movups xmmword [rsi + 0x1c], xmm1
mov eax, dword [rsp + 0xbc]
mov dword [rsi + 0x2c], eax
mov qword [rsi + 0x30], rdi
xor eax, eax
mov byte [rsi + 0x88], al
mov byte [rsi + 0x90], al
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x14008e317