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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x20], rcx
mov rdi, qword [rdx + 0x10]
mov r14, qword [rdx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x18013a515
mov rax, qword [rsp + 0xb0]
mov rcx, qword [r8]
mov qword [rsp + 0x38], rcx
cmp rax, 0x7fffffff
mov r12d, 0x7fffffff
cmovb r12, rax
mov r13, qword [rdx + 0x20]
jmp 0x18013a374
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180246f98]
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, qword [rsp + 0x38]
mov r9b, 1
call fcn.180139af0
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x18013a531
mov rsi, qword [rsp + 0x28]
cmp al, 2
je 0x18013a548
movzx ebp, byte [rsp + 0x30]
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x18013a55a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rbx, rax
shl rbx, 0x20
or rbx, 2
mov ecx, eax
call fcn.18011b850
cmp al, 0xd
jne 0x18013a430
test r13, r13
je 0x18013a430
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
lock inc qword [rax]
jle 0x18013a58f
add rcx, 0x10
mov rdx, qword [r13 + 8]
mov r8, qword [r13 + 0x10]
movzx r9d, byte [r13 + 0x18]
call fcn.18007ed70
test rax, rax
cmovne rbx, rax
mov r15d, ebx
and r15d, 3
lea rcx, [0x18013a5b0]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
mov r15d, ebx
and r15d, 3
lea rcx, [0x18013a5b0]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
movzx eax, byte [rbx + 0x10]
cmp al, 0xd
je 0x18013a4a0
jmp 0x18013a56e
movzx eax, byte [rbx + 0xf]
cmp al, 0xd
je 0x18013a4a0
jmp 0x18013a56e
mov rcx, rbx
shr rcx, 0x20
call fcn.18011b850
cmp al, 0xd
je 0x18013a4a0
jmp 0x18013a56e
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
jne 0x18013a56e
movzx ecx, bpl
and esi, 3
mov rax, qword [rdi + 0x40]
shl rcx, 0x10
xor rsi, 0x7f00000f
nop word cs:[rax + rax]
mov rdx, rax
shr rdx, 0x10
cmp bpl, dl
jne 0x18013a4db
mov edx, eax
and edx, esi
or rdx, rcx
lock cmpxchg qword [rdi + 0x40], rdx
jne 0x18013a4c0
cmp r15d, 1
jne 0x18013a374
lea rbp, [rbx - 1]
mov rsi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rsi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x18013a362
cmp qword [rbx + 0x10], 0x11
jb 0x18013a350
mov rsi, qword [rsi - 8]
jmp 0x18013a350
mov r8, qword [r8]
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r9b, 1
call fcn.180139af0
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x18013a53f
mov rax, qword [rsp + 0x20]
mov qword [rax], 2
jmp 0x18013a57e
cmp al, 2
jne 0x18013a593
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rsi
jmp 0x18013a57e
cdqe
mov rcx, qword [rsp + 0x20]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x18013a57e
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rbx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, [0x1802343c7]
lea r8, str.C:UsersDadoodze.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.1_srciopoll_evented.rs
mov edx, 0x2b
call fcn.18019ad80
ud2