Function at 0x14002a7cb
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov r13, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
movzx edi, word [rdx]
test di, di
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov eax, dword [0x140149040]
cmp eax, 4
jne 0x14002aca2
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 0x14002a8a5
lea r12, [rsp + 0xe0]
mov dword [r12], 1
mov rcx, r14
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14002a8f9
mov ebp, dword [r15 + 0x48]
cmp ebp, 0x3b9aca00
je 0x14002a9d5
mov qword [rsp + 0x50], r13
mov r13, qword [r15 + 0x40]
mov rcx, r14
mov edx, 8
mov r8d, 1
call sym.socket2::sys::setsockopt::hc28b044cf69dbd68
test rax, rax
je 0x14002a946
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hd61e91d8e24677e7
jmp 0x14002a9d0
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 r14, [rsp + 0x58]
mov r8d, 0xe
mov rcx, r14
call sym.hyper::client::connect::http::ConnectError::new::h024d4f65b1cfc2e6
mov rax, qword [r14]
mov r14, qword [r14 + 8]
test rax, rax
je 0x14002a83a
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r14
mov dword [rsi + 8], 0x3b9aca01
jmp 0x14002ac8e
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea r9, [rax + 2]
lea rdx, [0x1400f699e]
mov rbp, r13
lea r13, [rsp + 0x58]
mov r8d, 0x19
mov rcx, r13
call sym.hyper::client::connect::http::ConnectError::new::h024d4f65b1cfc2e6
mov rax, qword [r13]
mov r13, rbp
test rax, rax
je 0x14002a863
mov rcx, qword [rsp + 0x70]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rsp + 0x60]
jmp 0x14002ab84
mov ecx, 0x3e8
mov rax, r13
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 + 0x58]
mov dword [r8], 1
mov dword [r8 + 4], edx
mov dword [r8 + 8], eax
mov dword [rsp + 0xe0], 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, r14
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x14002acbf
mov r13, qword [rsp + 0x50]
test di, di
je 0x14002aa39
cmp byte [r15 + 0x56], 0
je 0x14002aa8c
mov eax, dword [r15 + 0x57]
lea rdx, [rsp + 0x58]
mov dword [rdx + 8], eax
mov rax, qword [r15 + 0x5b]
mov qword [rdx + 0xc], rax
mov eax, dword [r15 + 0x63]
mov dword [rdx + 0x14], eax
mov qword [rdx], 0x17
xorps xmm0, xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x68], xmm0
mov qword [rdx + 0x78], 0
mov dword [rdx + 0x80], 0x1c
jmp 0x14002ab3a
cmp byte [r15 + 0x51], 0
je 0x14002aae3
mov eax, dword [r15 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0x58]
movups xmmword [rdx + 0x70], xmm0
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x10], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov qword [rdx + 8], 0
mov dword [rdx + 0x80], 0x10
jmp 0x14002ab3a
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x58], 0x17
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0xd8], 0x1c
jmp 0x14002ab35
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x60], 0
mov dword [rsp + 0xd8], 0x10
lea rdx, [rsp + 0x58]
mov rcx, r14
call sym.socket2::socket::Socket::bind::hd51589c900c9e0fa
test rax, rax
je 0x14002aba0
lea rdx, [0x1400f69b7]
lea r12, [rsp + 0xe0]
mov r8d, 0x14
mov rcx, r12
mov r9, rax
call sym.hyper::client::connect::http::ConnectError::new::h024d4f65b1cfc2e6
mov rax, qword [r12]
test rax, rax
je 0x14002aba0
mov rcx, qword [rsp + 0xf8]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rsp + 0xe8]
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 8], 0x3b9aca01
mov rcx, r14
call fcn.1400d768c
jmp 0x14002ac8e
cmp byte [r15 + 0x68], 0
je 0x14002abc7
mov rcx, r14
mov edx, 4
mov r8d, 1
call sym.socket2::sys::setsockopt::hc28b044cf69dbd68
test rax, rax
je 0x14002abc7
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hd61e91d8e24677e7
cmp qword [r15], 0
je 0x14002abfe
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 sym.socket2::sys::setsockopt::hc28b044cf69dbd68
test rax, rax
je 0x14002abfe
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hd61e91d8e24677e7
mov edi, dword [rsp + 0x190]
cmp qword [r15 + 0x10], 0
je 0x14002ac3d
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 sym.socket2::sys::setsockopt::hc28b044cf69dbd68
test rax, rax
je 0x14002ac3d
mov rcx, rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hd61e91d8e24677e7
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x118], xmm1
movups xmmword [rsp + 0x108], xmm0
mov qword [rsi], r13
mov dword [rsi + 8], edi
movups xmm0, xmmword [rsp + 0x104]
movups xmm1, xmmword [rsp + 0x114]
movups xmmword [rsi + 0xc], xmm0
movups xmmword [rsi + 0x1c], xmm1
mov eax, dword [rsp + 0x124]
mov dword [rsi + 0x2c], eax
mov qword [rsi + 0x30], r14
xor eax, eax
mov byte [rsi + 0x80], al
mov byte [rsi + 0x88], al
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x4f]
mov byte [rax], 1
lea rcx, [rsp + 0xe0]
mov qword [rcx], rax
call sym.std::sys::sync::once::futex::Once::call::hfd2f3331bbec4c75
jmp 0x14002a80c
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x14002a898