Function at 0x1400d42d0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140467f78]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 8], 0xffffffffffffffff
mov r15, r9
mov esi, dword [rsp + 0xb0]
mov rbp, r8
mov r14, rdx
mov rbx, rcx
je 0x1400d431d
lea rdx, str.L4SocketTcpConnected::Attach_failed__INVALID_SOCKET___m_Socket_n
mov ecx, 1
call fcn.1400d3f90
xor al, al
jmp 0x1400d461a
mov qword [rsp + 0x58], rdi
mov qword [rcx + 8], r14
test rbp, rbp
je 0x1400d4585
cmp qword [rcx + 0x58], 0
je 0x1400d4357
lea rdx, str.L4SocketTcpConnected::Attach_failed__NULL___m_pConnectionSSL_n
mov ecx, 1
call fcn.1400d3f90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor al, al
jmp 0x1400d4615
call fcn.1400ec050
mov rcx, rax
call fcn.1400e6f80
mov rdi, rax
test rax, rax
jne 0x1400d439e
lea rdx, str.L4SecureSocketLayerContextCreate_failed__SSL_context_cannot_be_created_n
lea ecx, [rax + 1]
call fcn.1400d3f90
lea rdx, str.L4SocketTcpConnected::Attach_failed__L4SecureSocketLayerContextCreate_n
mov qword [rbx + 0x50], rdi
lea ecx, [rdi + 1]
call fcn.1400d3f90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor al, al
jmp 0x1400d4615
mov dword [rsp + 0x38], esi
lea rdx, str.L4SecureSocketLayerContextCreate_CountPipelines_requested:_d_CountPipelines_requested:_d_CountPipelines_requested:_d_CountPipelines_requested:_d_CountPipelines_requested:_d_CountPipelines_requested:_d_n
mov dword [rsp + 0x30], esi
mov r9d, esi
mov dword [rsp + 0x28], esi
mov r8d, esi
mov ecx, 0x10
mov dword [rsp + 0x20], esi
call fcn.1400d3f90
xor r9d, r9d
mov r8d, esi
mov rcx, rdi
lea edx, [r9 + 0x7e]
call fcn.1400e67f0
cmp eax, 1
je 0x1400d43f3
mov r9d, esi
lea rdx, str.L4SecureSocketLayerContextCreate_SSL_CTX_set_max_pipelines_failed__ReturnValue:_d_CountPipelines_requested:_d_n
mov r8d, eax
mov ecx, 1
call fcn.1400d3f90
mov edx, 0x2000000
mov rcx, rdi
call fcn.1400e7620
cmp rax, 1
je 0x1400d4417
lea rdx, str.L4SecureSocketLayerContextCreate_disabling_SSLV3_failed__n
mov ecx, 1
call fcn.1400d3f90
mov edx, 0x4000000
mov rcx, rdi
call fcn.1400e7620
cmp rax, 1
je 0x1400d443b
lea rdx, str.L4SecureSocketLayerContextCreate_disabling_TLSV1_failed__n
mov ecx, 1
call fcn.1400d3f90
mov edx, 0x10000000
mov rcx, rdi
call fcn.1400e7620
cmp rax, 1
je 0x1400d445f
lea rdx, str.L4SecureSocketLayerContextCreate_disabling_TLSV1.1_failed__n
mov ecx, 1
call fcn.1400d3f90
lea rdx, [0x1400d72b0]
mov qword [rbx + 0x50], rdi
mov rcx, rdi
call fcn.1400e7640
mov rdx, r15
mov rcx, rdi
call fcn.1400e7650
mov rcx, qword [rbx + 0x50]
call fcn.1400e8870
mov rsi, rax
test rax, rax
jne 0x1400d44a2
lea rdx, str.L4SecureSocketLayerConnectionAccept_failed__SSL_new_n
lea ecx, [rax + 1]
call fcn.1400d3f90
jmp 0x1400d4558
mov edx, r14d
mov rcx, rsi
call fcn.1400e9250
test eax, eax
jne 0x1400d44c4
xor edx, edx
mov rcx, rsi
call fcn.1400e85a0
lea rdx, str.L4SecureSocketLayerConnectionAccept_failed__SSL_set_fd_Error:_d_n
jmp 0x1400d4543
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rdi + rbp], 0
jne 0x1400d44d0
mov rax, qword [0x140469038]
cmp rdi, rax
ja 0x1400d4514
cmp rax, 0x10
mov qword [0x140469030], rdi
lea r14, [0x140469020]
mov r8, rdi
cmovae r14, qword [0x140469020]
mov rdx, rbp
mov rcx, r14
call fcn.1402ad790
mov byte [r14 + rdi], 0
jmp 0x1400d4526
mov r9, rbp
lea rcx, [0x140469020]
mov rdx, rdi
call fcn.1400d5aa0
mov rcx, rsi
call fcn.1400e77b0
test eax, eax
jg 0x1400d4581
mov edx, eax
mov rcx, rsi
call fcn.1400e85a0
lea rdx, str.L4SecureSocketLayerConnectionAccept_failed__SSL_accept_Error:_d_n
mov r8d, eax
mov ecx, 1
call fcn.1400d3f90
mov rcx, rsi
call fcn.1400e7f00
lea rdx, str.L4SocketTcpConnected::Attach_failed__L4SecureSocketLayerConnectionAccept_n
mov qword [rbx + 0x58], 0
mov ecx, 1
call fcn.1400d3f90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor al, al
jmp 0x1400d4615
mov qword [rbx + 0x58], rsi
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x44]
lea r9, [rbx + 0x28]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x44], 4
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x1400d45c3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.L4SocketTcpConnected::Attach_getsockopt_SO_SNDBUF_failed___d_n
jmp 0x1400d45f9
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x40]
mov edx, 6
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x20], 1
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1400d4613
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.L4SocketTcpConnected::Attach_setsockopt_TCP_NODELAY_failed___d_n
mov r8d, eax
mov ecx, 1
call fcn.1400d3f90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor al, al
jmp 0x1400d4615
mov al, 1
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402ab320
add rsp, 0x60
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret