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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x1400ab020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rsi, rcx
lea r15, vtable.LogItem.0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x29], 7
xor r14d, r14d
mov qword [rbp - 0x31], r14
mov word [rbp - 0x41], r14w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov dword [rbp - 1], 1
mov dword [rbp + 3], 1
lea rdx, str._DBG___0x
lea rcx, [rbp - 0x49]
call fcn.14001cc00
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Send_message_called
call fcn.14001cc00
nop
lea rcx, [rbp - 0x49]
call fcn.14001c780
mov rax, qword [rdi]
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x59], r14d
mov eax, dword [rdi + 8]
mov dword [rbp - 0x55], eax
lea rcx, [rbp - 0x61]
call fcn.140030910
mov rcx, rax
lea rdx, [rbp + 7]
call fcn.140028360
mov rbx, rax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], r14
mov word [rbp - 0x41], r14w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov dword [rbp - 1], 1
mov dword [rbp + 3], 1
lea rdx, str._DBG___N_A_
lea rcx, [rbp - 0x49]
call fcn.14001cc00
mov rdx, rbx
mov rcx, rax
call fcn.14001cdd0
nop
lea rcx, [rbp - 0x49]
call fcn.14001c780
nop
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x14002c5fe
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0xffffffffffffffff
jbe 0x14002c5b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x14002c5f9
test cl, 0x1f
je 0x14002c5c9
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 0x14002c5d9
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 0x14002c5e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14002c5f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140055148
xor r9d, r9d
mov r8d, dword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, qword [rsi + 0x200]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp - 0x69], eax
cmp eax, 0xffffffff
jne 0x14002c700
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140032720
mov rdi, rax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], r14
mov word [rbp - 0x41], r14w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov dword [rbp - 1], 1
mov dword [rbp + 3], 3
lea rdx, str._ERR___0x
lea rcx, [rbp - 0x49]
call fcn.14001cc00
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Send_failed_with_error:
call fcn.14001cc00
mov rbx, rax
lea rcx, [rax + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.1400232f0
lea rcx, [rbx + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.1400232f0
nop
lea rcx, [rbp - 0x49]
call fcn.14001c780
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x14002c78e
inc r8
mov rdx, qword [rbp + 7]
call fcn.140022ad0
jmp 0x14002c78e
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], r14
mov word [rbp - 0x41], r14w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov dword [rbp - 1], 1
mov dword [rbp + 3], 2
lea rdx, str._INF___0x
lea rcx, [rbp - 0x49]
call fcn.14001cc00
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.Bytes_sent:
call fcn.14001cc00
mov rcx, rax
lea rdx, [rbp - 0x69]
call fcn.14001cad0
nop
lea rcx, [rbp - 0x49]
call fcn.14001c780
mov edx, 1
mov rcx, qword [rsi + 0x200]
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x14002c861
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140032720
mov rbx, rax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x29], 7
mov qword [rbp - 0x31], r14
mov word [rbp - 0x41], r14w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov dword [rbp - 1], 1
mov dword [rbp + 3], 3
lea rdx, str._ERR___0x
lea rcx, [rbp - 0x49]
call fcn.14001cc00
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.140027230
mov dword [rax + 0x48], 1
lea rdx, [0x14008f5dc]
mov rcx, rax
call fcn.14001cc00
mov rcx, rax
lea rdx, str.ClientSocket_send_shutdown_failed_with_error:
call fcn.14001cc00
mov rcx, rax
mov rdx, rbx
call fcn.14001c950
nop
lea rcx, [rbp - 0x49]
call fcn.14001c780
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x14002c861
inc r8
mov rdx, qword [rbp + 7]
call fcn.140022ad0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140054e30
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret