Function at 0x140056bf2
Capabilities:
Set socket configuration

Disassembly:
push r14
push r13
push rsi
push rbp
push rbx
sub rsp, 0x50
mov r14, rdx
mov r13, rcx
mov dword [rsp + 0x40], 1
xor ebx, ebx
test r13, r13
mov dword [rsp + 0x44], 0
je 0x140056edc
mov rsi, r13
test r14, r14
je 0x140056efa
mov rcx, rsi
mov edx, 0x60
call fcn.14000afa0
mov rbp, rax
test rbp, rbp
je 0x140056ee9
mov rax, qword [rsi + 0x1aa0]
test rax, rax
je 0x140056ec1
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x140056ec1
mov r10, qword [rax + 0x38]
test r10, r10
je 0x140056ec1
mov rdx, qword [rax + 0x40]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x60]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x68]
test rdx, rdx
je 0x140056ec1
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x140056ec1
mov rax, qword [rax + 0x78]
test rax, rax
je 0x140056ec1
mov rdx, qword [rsi + 0x1a98]
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r8d, 0x17
mov r9d, 1
call r10
mov dword [rbp], eax
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x140056e75
mov dword [rbp + 8], 1
mov rdx, qword [rsi + 0x1aa0]
test rdx, rdx
je 0x140056e11
mov r9, qword [rdx + 0x28]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x30]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x38]
test r9, r9
je 0x140056e11
mov r10, qword [rdx + 0x40]
test r10, r10
je 0x140056e11
mov r9, qword [rdx + 0x48]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x50]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x58]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x60]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x68]
test r9, r9
je 0x140056e11
mov r9, qword [rdx + 0x70]
test r9, r9
je 0x140056e11
mov rdx, qword [rdx + 0x78]
test rdx, rdx
je 0x140056e11
mov rdx, qword [rsi + 0x1a98]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov r8d, eax
mov dword [rsp + 0x30], 4
lea r11, [rsp + 0x40]
mov r9d, 6
mov qword [rsp + 0x28], r11
call r10
test eax, eax
jl 0x140056df3
mov qword [r14], rbp
mov eax, ebx
add rsp, 0x50
pop rbx
pop rbp
pop rsi
pop r13
pop r14
ret
mov rcx, r13
mov edx, pe_nt_image_headers64
lea r8, str.sgslun6NewSock:_Unable_to_set_TCP_NODELAY_to_communication_endpoint_n
xor r9d, r9d
call fcn.14001f070
mov ebx, 2
jmp 0x140056de5
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 6
mov r8d, 1
call qword [sym.imp.orauts.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140056de2
call qword [sym.imp.orauts.dll_WSAGetLastError]
mov dword [rsp + 0x44], eax
mov rcx, rsi
mov qword [rsp + 0x28], 0
lea r8, str.sgslun6NewSock:_setsockopt_failed_for_TCP_NODELAY__OS_error__d_n
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov edx, 0x7fffffff
mov r9d, reloc.WS2_32.dll_listen
call fcn.14001f070
mov ebx, 2
jmp 0x140056de5
call qword [sym.imp.orauts.dll_WSAGetLastError]
mov dword [rsp + 0x44], eax
mov rcx, r13
mov qword [rsp + 0x28], 0
lea r8, str.sgslun6NewSock:_Unable_to_create_communication_endpoint__OS_error_d_n
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov edx, 0x7fffffff
mov r9d, reloc.WS2_32.dll_listen
call fcn.14001f070
mov ebx, 2
mov rcx, r13
mov rdx, rbp
call fcn.14000adf4
jmp 0x140056de5
mov ecx, 0x17
mov edx, 1
xor r8d, r8d
call qword [sym.imp.orauts.dll_socket]
mov dword [rbp], eax
jmp 0x140056d07
call fcn.140006c40
mov rsi, rax
jmp 0x140056c21
mov eax, 5
add rsp, 0x50
pop rbx
pop rbp
pop rsi
pop r13
pop r14
ret
mov eax, 3
add rsp, 0x50
pop rbx
pop rbp
pop rsi
pop r13
pop r14
ret