Function at 0x140035aa0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1400c3030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rsi, rcx
lea r15, vtable.LogItem.0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x39], 7
xor r14d, r14d
mov qword [rbp - 0x41], r14
mov word [rbp - 0x51], r14w
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
mov dword [rbp - 0x11], 1
mov dword [rbp - 0xd], 1
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x59]
call fcn.1400257b0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Send_message_called
call fcn.1400257b0
nop
lea rcx, [rbp - 0x59]
call fcn.140025350
mov rax, qword [rbx]
mov qword [rbp - 0x71], rax
mov dword [rbp - 0x69], r14d
mov eax, dword [rbx + 8]
mov dword [rbp - 0x65], eax
lea rcx, [rbp - 0x71]
call fcn.14003b020
mov rcx, rax
lea rdx, [rbp + 7]
call fcn.140031590
nop
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r14
mov word [rbp - 0x51], r14w
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
mov dword [rbp - 0x11], 1
mov dword [rbp - 0xd], 1
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.140025970
nop
lea rcx, [rbp - 0x59]
call fcn.140025350
nop
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x140035c30
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0x1000
jb 0x140035c2b
test cl, 0x1f
je 0x140035bfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140035c0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140035c1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140035c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400605c0
xor r9d, r9d
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, qword [rsi + 0x200]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp - 0x79], eax
cmp eax, 0xffffffff
jne 0x140035d32
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.14003d600
mov rdi, rax
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r14
mov word [rbp - 0x51], r14w
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
mov dword [rbp - 0x11], 1
mov dword [rbp - 0xd], 3
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x59]
call fcn.1400257b0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Send_failed_with_error:
call fcn.1400257b0
mov rbx, rax
lea rcx, [rax + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.14002ca60
lea rcx, [rbx + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.14002ca60
nop
lea rcx, [rbp - 0x59]
call fcn.140025350
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x140035dc0
inc r8
mov rdx, qword [rbp + 7]
call fcn.14002bfa0
jmp 0x140035dc0
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r14
mov word [rbp - 0x51], r14w
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
mov dword [rbp - 0x11], 1
mov dword [rbp - 0xd], 2
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x59]
call fcn.1400257b0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.Bytes_sent:
call fcn.1400257b0
mov rcx, rax
lea rdx, [rbp - 0x79]
call fcn.140025690
nop
lea rcx, [rbp - 0x59]
call fcn.140025350
mov edx, 1
mov rcx, qword [rsi + 0x200]
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x140035eb1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.14003d600
mov rdi, rax
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x39], 7
mov qword [rbp - 0x41], r14
mov word [rbp - 0x51], r14w
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r14
mov word [rbp - 0x31], r14w
mov dword [rbp - 0x11], 1
mov dword [rbp - 0xd], 3
lea rdx, [0x1400a5d24]
lea rcx, [rbp - 0x59]
call fcn.1400257b0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140030060
mov dword [rax + 0x48], 1
lea rdx, [0x1400a5d28]
mov rcx, rax
call fcn.1400257b0
mov rcx, rax
lea rdx, str.ClientSocket_send_shutdown_failed_with_error:
call fcn.1400257b0
mov rbx, rax
lea rcx, [rax + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.14002ca60
lea rcx, [rbx + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.14002ca60
nop
lea rcx, [rbp - 0x59]
call fcn.140025350
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x140035eb1
inc r8
mov rdx, qword [rbp + 7]
call fcn.14002bfa0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400602a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret