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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, r8
mov r15, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, 0x9c4
call fcn.140005c90
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rbp, [rax + 0x9c4]
mov qword [rsp + 0x50], rbp
xor edx, edx
mov r8d, 0x9c4
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], rbp
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
movabs r9, 0xb2f4fc0794908cf3
cmp rbx, 0x989680
jne 0x1400058cf
imul rbx, rcx, 0x64
jmp 0x14000593f
cmp rbx, 0x16e3600
jne 0x140005923
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x14000593f
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
movsxd r14, dword [rsp + 0xc0]
movabs r13, 0x7fffffffffffffff
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rsi, 0x989680
jne 0x140005972
imul rcx, rcx, 0x64
jmp 0x1400059eb
cmp rsi, 0x16e3600
jne 0x1400059d0
movabs r9, 0xb2f4fc0794908cf3
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x1400059eb
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r14
jge 0x140005aa9
mov r8d, ebp
sub r8d, edi
mov dword [rsp + 0x28], send
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x140005a85
lea rcx, [rsp + 0x38]
call fcn.1400011d0
mov rax, qword [rsp + 0x38]
movabs rcx, 0x7ffffffffff0bdbf
cmp rax, rcx
jge 0x140005a71
add rax, 0xf4240
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1400042d0
jmp 0x140005951
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.1400042d0
jmp 0x140005951
lea rdx, str.Send_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001720
lea rdx, [0x140001900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
test rdi, rdi
je 0x140005add
sub rbp, rdi
cmp rbp, 0x1000
jb 0x140005ad2
add rbp, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140005b02
mov rdi, rcx
mov rdx, rbp
mov rcx, rdi
call fcn.140005ccc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140005c70
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3