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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1400a7038]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rsi, rcx
lea r15, vtable.LogItem.0
mov qword [rsp + 0x70], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x20]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ff90
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 1
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x70]
call fcn.140020c20
xor r12d, r12d
mov dword [rax + 0x68], r12d
mov rdx, rsi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Send_message_called
call fcn.140020c20
nop
lea rcx, [rsp + 0x70]
call fcn.140020720
cmp dword [rdi + 8], 0x14
jb 0x14002f604
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi]
call fcn.14002a270
mov rbx, rax
mov qword [rsp + 0x70], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ff90
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 1
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140020e30
nop
lea rcx, [rsp + 0x70]
call fcn.140020720
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14002f25b
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f256
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f256
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055f30
xor r9d, r9d
mov r8d, dword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, qword [rsi + 0x208]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x20], eax
cmp eax, 0xffffffff
jne 0x14002f3c6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.1400365d0
mov rbx, rax
mov qword [rsp + 0x70], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ff90
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 3
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x70]
call fcn.140020c20
mov dword [rax + 0x68], r12d
mov rdx, rsi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Send_failed_with_error:
call fcn.140020c20
mov r14, rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002f345
mov rdx, qword [rbx]
lea rdi, [rbx + 0x10]
lea rcx, [rax + 0x28]
mov r8, qword [rdi]
call fcn.140026f40
cmp qword [rbx + 0x18], 8
jb 0x14002f35f
mov rbx, qword [rbx]
lea rcx, [r14 + 0x48]
mov r8, qword [rdi]
mov rdx, rbx
call fcn.140026f40
nop
lea rcx, [rsp + 0x70]
call fcn.140020720
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14002f480
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f3bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f3bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055f30
jmp 0x14002f480
mov qword [rsp + 0x70], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ff90
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 2
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x70]
call fcn.140020c20
mov dword [rax + 0x68], r12d
mov rdx, rsi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.Bytes_sent:
call fcn.140020c20
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.140020b20
nop
lea rcx, [rsp + 0x70]
call fcn.140020720
mov edx, 1
mov rcx, qword [rsi + 0x208]
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x14002f5d9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.1400365d0
mov rbx, rax
mov qword [rsp + 0x70], r15
call fcn.1400201b0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400264e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001ff90
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400264e0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ff90
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 3
lea rdx, [0x140093ce4]
lea rcx, [rsp + 0x70]
call fcn.140020c20
mov dword [rax + 0x68], r12d
mov rdx, rsi
mov rcx, rax
call fcn.140029240
mov dword [rax + 0x68], 1
lea rdx, [0x140093ce8]
mov rcx, rax
call fcn.140020c20
mov rcx, rax
lea rdx, str.ClientSocket_send_shutdown_failed_with_error:
call fcn.140020c20
mov rsi, rax
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002f561
mov rdx, qword [rbx]
lea rdi, [rbx + 0x10]
lea rcx, [rax + 0x28]
mov r8, qword [rdi]
call fcn.140026f40
cmp qword [rbx + 0x18], 8
jb 0x14002f57b
mov rbx, qword [rbx]
lea rcx, [rsi + 0x48]
mov r8, qword [rdi]
mov rdx, rbx
call fcn.140026f40
nop
lea rcx, [rsp + 0x70]
call fcn.140020720
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14002f5d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f5d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055f30
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140055f10
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x80]
call fcn.1400347f0
nop
lea rdx, str.Unable_to_cast___not_enough_data_in_the_buffer
mov rcx, rax
call fcn.140032540
mov rdx, rax
lea rcx, [rbp]
call fcn.140029730
lea rdx, [0x1400a2cf0]
lea rcx, [rbp]
call sub.VCRUNTIME140.dll__CxxThrowException
int3