Function at 0x1400acf80
Capabilities:
Set socket configuration

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
mov rsi, qword [rcx + 0x10]
lea r13, [rsp + 0x60]
mov rbp, rcx
mov rbx, rdx
mov rcx, r13
call fcn.140085c20
movups xmm0, xmmword [rsp + 0x60]
lea rdx, [rsi + 8]
mov rcx, rbx
lea r8, [rsi + 0x98]
movups xmmword [rsi + 0x108], xmm0
call fcn.1400d0770
mov edi, eax
test eax, eax
jne 0x1400ad359
mov rdi, qword [rbp + 0x10]
mov edx, dword [rdi + 0x14]
lea rcx, [rdi + 0x18]
lea r9, [rdi + 0xfc]
lea r8, [rdi + 0xa0]
call fcn.14006f500
mov r12d, eax
test al, al
je 0x1400ad000
cmp dword [rsi + 8], 0x17
jne 0x1400ad0b7
jmp 0x1400ad053
mov r12, qword [sym.imp.msvcrt.dll__errno]
call r12
mov eax, dword [rax]
mov dword [rdi + 0x14c], eax
mov edi, 2
call r12
lea rdx, [rsp + 0x80]
mov r8d, 0x100
mov ecx, dword [rax]
call fcn.14008da50
mov qword [rsp + 0x58], rax
call r12
mov r9, qword [rsp + 0x58]
lea rdx, str.curl_sa_addr_inet_ntop___failed_with_errno__d:__s
mov rcx, rbx
mov r8d, dword [rax]
call fcn.14007ceb0
jmp 0x1400ad359
xor r8d, r8d
lea r9, [rsp + 0x74]
mov edx, 0x29
mov rcx, qword [rsi + 0x98]
mov dword [rsp + 0x74], r8d
mov r8d, 0x1b
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test rbx, rbx
je 0x1400ad0f4
test byte [rbx + 0x98e], 0x20
je 0x1400ad0f4
mov rax, qword [rbx + 0x1188]
test rax, rax
je 0x1400ad0a0
cmp dword [rax + 8], 0
jle 0x1400ad0f4
mov r9d, dword [rsi + 0xfc]
lea r8, [rsi + 0xa0]
lea rdx, str.__Trying___s_:_d...
jmp 0x1400ad0ec
test rbx, rbx
je 0x1400ad0f4
test byte [rbx + 0x98e], 0x20
je 0x1400ad0f4
mov rax, qword [rbx + 0x1188]
test rax, rax
je 0x1400ad0d7
cmp dword [rax + 8], 0
jle 0x1400ad0f4
mov r9d, dword [rsi + 0xfc]
lea r8, [rsi + 0xa0]
lea rdx, str.__Trying__s:_d...
mov rcx, rbx
call fcn.140083620
mov eax, dword [rsi + 8]
cmp eax, 2
sete dil
cmp eax, 0x17
sete al
or dil, al
je 0x1400ad12b
cmp dword [rsi + 0xc], 1
jne 0x1400ad129
test byte [rbx + 0x98f], 2
je 0x1400ad12b
mov rdx, qword [rsi + 0x98]
mov rcx, rbx
call fcn.1400d2680
jmp 0x1400ad12b
xor edi, edi
mov rcx, qword [rsi + 0x98]
call fcn.14008b470
test dil, dil
je 0x1400ad278
test byte [rbx + 0x990], 1
je 0x1400ad278
lea r9, [rsp + 0x78]
mov rdi, qword [rsi + 0x98]
mov edx, 0xffff
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x20], 4
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400ad1bc
test byte [rbx + 0x98e], 0x20
je 0x1400ad278
mov rax, qword [rbx + 0x1188]
test rax, rax
je 0x1400ad1a4
cmp dword [rax + 8], 0
jle 0x1400ad278
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__zd:_errno__d
mov r9d, eax
jmp 0x1400ad270
mov ecx, dword [rbx + 0x930]
mov dword [rsp + 0x80], 1
call fcn.1400b8900
mov ecx, dword [rbx + 0x934]
imul eax, eax, 0x3e8
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x84], eax
call fcn.1400b8900
xor edx, edx
xor ecx, ecx
mov r9d, 0xc
imul eax, eax, 0x3e8
mov dword [rsp + 0x28], edx
lea r8, [rsp + 0x80]
mov edx, 0x98000004
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x88], eax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1400ad278
test byte [rbx + 0x98e], 0x20
je 0x1400ad278
mov rax, qword [rbx + 0x1188]
test rax, rax
je 0x1400ad25d
cmp dword [rax + 8], 0
jle 0x1400ad278
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rdi
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__zd:_errno__d
mov r9d, eax
mov rcx, rbx
call fcn.140083620
cmp qword [rbx + 0x280], 0
jne 0x1400ad287
xor r12d, r12d
jmp 0x1400ad2ca
mov edx, 1
mov rcx, rbx
call fcn.14008afe0
mov rdx, qword [rsi + 0x98]
mov rcx, qword [rbx + 0x288]
xor r8d, r8d
call qword [rbx + 0x280]
xor edx, edx
mov rcx, rbx
mov edi, eax
call fcn.14008afe0
cmp edi, 2
je 0x1400ad2ca
test edi, edi
je 0x1400ad282
mov edi, 0x2a
jmp 0x1400ad359
mov eax, dword [rsi + 8]
cmp eax, 2
je 0x1400ad2d7
cmp eax, 0x17
jne 0x1400ad30d
lea rcx, [rsi + 0x18]
call fcn.140083dd0
mov r9d, dword [rsi + 8]
mov rdx, qword [rbp + 0x18]
mov rcx, rbx
mov r8, qword [rsi + 0x98]
mov dword [rsp + 0x20], eax
call fcn.1400a8ac0
mov edi, eax
test eax, eax
je 0x1400ad30d
cmp eax, 1
jne 0x1400ad359
mov edi, 7
jmp 0x1400ad359
mov rcx, qword [rsi + 0x98]
mov edx, 1
call fcn.1400b88b0
test eax, eax
jns 0x1400ad335
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, 1
mov dword [rsi + 0x14c], eax
jmp 0x1400ad359
cmp dword [rsi + 0xc], 2
mov al, byte [rsi + 0x150]
setne dl
shl edx, 3
and eax, 0xfffffff7
or eax, edx
mov byte [rsi + 0x150], al
test r12b, r12b
jne 0x1400ad385
xor edi, edi
jmp 0x1400ad3b0
mov r9, qword [rsi + 0x98]
cmp r9, 0xffffffffffffffff
je 0x1400ad3ab
mov rdx, qword [rbp + 0x18]
mov r8d, 1
mov rcx, rbx
call fcn.1400d0660
mov qword [rsi + 0x98], 0xffffffffffffffff
jmp 0x1400ad3ab
mov rcx, qword [rbp + 0x10]
mov rdx, rbx
call fcn.1400cf3d0
mov rcx, r13
call fcn.140085c20
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x118], xmm1
or byte [rbp + 0x24], 1
jmp 0x1400ad355
test rbx, rbx
je 0x1400ad3f6
test byte [rbx + 0x98e], 0x20
je 0x1400ad3f6
mov rax, qword [rbx + 0x1188]
test rax, rax
je 0x1400ad3cb
cmp dword [rax + 8], 0
jle 0x1400ad3f6
mov rax, qword [rbp]
cmp dword [rax + 0xc], 0
jle 0x1400ad3f6
mov rax, qword [rsi + 0x98]
mov r9d, edi
mov rdx, rbp
mov rcx, rbx
lea r8, str.cf_socket_open_______d__fd_zd
mov qword [rsp + 0x20], rax
call fcn.14008e230
mov eax, edi
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret