Function at 0x14002c2e0
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 [0x1400a8020]
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.14001ccb0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Send_message_called
call fcn.14001ccb0
nop
lea rcx, [rbp - 0x49]
call fcn.14001c830
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.14002ffe0
mov rcx, rax
lea rdx, [rbp + 7]
call fcn.140028410
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.14001ccb0
mov rdx, rbx
mov rcx, rax
call fcn.14001ce80
nop
lea rcx, [rbp - 0x49]
call fcn.14001c830
nop
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x14002c48e
inc rax
mov rcx, qword [rbp + 7]
cmp rax, 0xffffffffffffffff
jbe 0x14002c445
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x14002c489
test cl, 0x1f
je 0x14002c459
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 0x14002c469
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 0x14002c479
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14002c486
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.140052608
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 0x14002c590
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140031df0
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.14001ccb0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Send_failed_with_error:
call fcn.14001ccb0
mov rbx, rax
lea rcx, [rax + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.1400233a0
lea rcx, [rbx + 0x28]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.1400233a0
nop
lea rcx, [rbp - 0x49]
call fcn.14001c830
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x14002c61e
inc r8
mov rdx, qword [rbp + 7]
call fcn.140022b80
jmp 0x14002c61e
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.14001ccb0
mov dword [rax + 0x48], r14d
mov rdx, rsi
mov rcx, rax
call fcn.1400272e0
mov dword [rax + 0x48], 1
lea rdx, [0x14008c62c]
mov rcx, rax
call fcn.14001ccb0
mov rcx, rax
lea rdx, str.Bytes_sent:
call fcn.14001ccb0
mov rcx, rax
lea rdx, [rbp - 0x69]
call fcn.14001cb80
nop
lea rcx, [rbp - 0x49]
call fcn.14001c830
mov rcx, rsi
call fcn.14002c9d0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400522f0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret