Function at 0x1403c7d60
Capabilities:
Set socket configuration

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x180
mov rbx, qword [rcx + 0x10]
lea r14, [rsp + 0x60]
mov rdi, rcx
mov rsi, rdx
mov rcx, r14
call fcn.14032e250
movups xmm0, xmmword [rsp + 0x60]
lea rdx, [rbx + 8]
mov rcx, rsi
lea r8, [rbx + 0x98]
movups xmmword [rbx + 0x148], xmm0
call fcn.14043ff80
mov r12d, eax
mov ebp, eax
test eax, eax
jne 0x1403c8096
mov rbp, qword [rdi + 0x10]
mov edx, dword [rbp + 0x14]
lea rcx, [rbp + 0x18]
lea r9, [rbp + 0x110]
lea r8, [rbp + 0xe0]
call fcn.140317630
mov r13d, eax
test al, al
je 0x1403c7e20
cmp dword [rbx + 8], 0x17
lea rdx, str.__Trying__s:_d...
jne 0x1403c7e73
xor r8d, r8d
mov edx, 0x29
lea r9, [rsp + 0x74]
mov rcx, qword [rbx + 0x98]
mov dword [rsp + 0x74], r8d
mov r8d, 0x1b
mov dword [rsp + 0x20], 4
call qword [sym.imp.ws2_32.dll_setsockopt]
lea rdx, str.__Trying___s_:_d...
jmp 0x1403c7e73
mov r12, qword [sym.imp.msvcrt.dll__errno]
call r12
mov eax, dword [rax]
mov dword [rbp + 0x178], eax
mov ebp, 2
call r12
lea rdx, [rsp + 0x80]
mov r8d, 0x100
mov ecx, dword [rax]
call fcn.140335b60
mov qword [rsp + 0x58], rax
call r12
mov r9, qword [rsp + 0x58]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov rcx, rsi
mov r8d, dword [rax]
call fcn.140324010
jmp 0x1403c8096
mov r9d, dword [rbx + 0x110]
mov rcx, rsi
lea r8, [rbx + 0xe0]
call fcn.14032c350
mov eax, dword [rbx + 8]
mov rcx, qword [rbx + 0x98]
cmp eax, 2
je 0x1403c7e9d
cmp eax, 0x17
jne 0x1403c7ed2
cmp dword [rbx + 0xc], 1
jne 0x1403c7ed2
test byte [rsi + 0xa37], 2
je 0x1403c7ebe
mov rdx, rcx
mov rcx, rsi
call fcn.140492e20
mov rcx, qword [rbx + 0x98]
call fcn.140333ea0
test byte [rsi + 0xa38], 1
je 0x1403c7fc8
jmp 0x1403c7edc
call fcn.140333ea0
jmp 0x1403c7fc8
lea r9, [rsp + 0x78]
mov rbp, qword [rbx + 0x98]
mov edx, 0xffff
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x20], 4
mov r8d, 8
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
jns 0x1403c7f27
mov r8, rbp
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d
mov rcx, rsi
call fcn.14032c350
jmp 0x1403c7fc8
mov ecx, dword [rsi + 0x9bc]
mov dword [rsp + 0x80], 1
call fcn.1403d2ce0
mov ecx, dword [rsi + 0x9c0]
imul eax, eax, 0x3e8
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x84], eax
call fcn.1403d2ce0
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, rbp
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 0x1403c7fc8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, ebp
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
mov rcx, rsi
mov r9d, eax
call fcn.14032c350
cmp qword [rsi + 0x270], 0
jne 0x1403c7fd7
xor r13d, r13d
jmp 0x1403c8017
mov edx, 1
mov rcx, rsi
call fcn.1403338e0
mov rdx, qword [rbx + 0x98]
mov rcx, qword [rsi + 0x278]
xor r8d, r8d
call qword [rsi + 0x270]
xor edx, edx
mov rcx, rsi
mov ebp, eax
call fcn.1403338e0
cmp ebp, 2
je 0x1403c8017
test ebp, ebp
je 0x1403c7fd2
mov ebp, 0x2a
jmp 0x1403c8096
mov eax, dword [rbx + 8]
cmp eax, 2
je 0x1403c8024
cmp eax, 0x17
jne 0x1403c805a
lea rcx, [rbx + 0x18]
call fcn.14032cb50
mov r9d, dword [rbx + 8]
mov rdx, qword [rdi + 0x18]
mov rcx, rsi
mov r8, qword [rbx + 0x98]
mov dword [rsp + 0x20], eax
call fcn.1403c0370
mov ebp, eax
test eax, eax
je 0x1403c805a
cmp eax, 1
jne 0x1403c8096
mov ebp, 7
jmp 0x1403c8096
mov rcx, qword [rbx + 0x98]
mov edx, 1
call fcn.1403d2c70
test r13b, r13b
je 0x1403c80c7
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call fcn.14043ea10
mov rcx, r14
call fcn.14032e250
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x158], xmm1
or byte [rdi + 0x24], 1
jmp 0x1403c80c7
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
jne 0x1403c80a8
mov r12d, ebp
jmp 0x1403c80c7
mov rdx, qword [rdi + 0x18]
mov r8d, 1
mov rcx, rsi
call fcn.14043fe90
mov qword [rbx + 0x98], 0xffffffffffffffff
jmp 0x1403c80a3
mov rax, qword [rbx + 0x98]
mov r9d, r12d
mov rdx, rdi
mov rcx, rsi
lea r8, str.cf_socket_open_______d__fd_qd
mov qword [rsp + 0x20], rax
call fcn.140336370
mov eax, r12d
add rsp, 0x180
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret