Function at 0x140162030
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, 0x68
mov qword [rsp + 0x48], r9
mov rsi, rdx
mov qword [rsp + 0x28], rcx
lea rdx, [rdx + 0x18]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov r9b, 1
call fcn.140155f90
mov rax, qword [rsp + 0x50]
cmp rax, 2
jne 0x140162090
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xd0]
cmp rcx, 0x7fffffff
mov edx, 0x7fffffff
cmovb edx, ecx
mov dword [rsp + 0x34], edx
jmp 0x1401620fa
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14021dfcd
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14021dfcd
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r9b, 1
call fcn.140155f90
mov rax, qword [rsp + 0x50]
cmp rax, 2
mov rsi, r15
je 0x140162073
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
cmp rax, 1
je 0x1401622a9
cmp dword [rsi], 1
jne 0x14016232d
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x34]
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x140162150
mov ecx, eax
shr ecx, 8
mov edx, eax
shr edx, 0x10
mov r15d, eax
sar r15d, 0x1f
movzx r14d, al
xor ebp, ebp
jmp 0x1401621a7
call sub.WS2_32.dll_WSAGetLastError
mov r15d, eax
mov ecx, eax
call fcn.140144e80
mov ebp, 1
cmp al, 0xa
jne 0x1401621a0
mov rax, qword [rsi + 8]
test rax, rax
je 0x1401621a0
mov rcx, qword [rax]
mov rdx, qword [rax + 0x10]
lock add qword [rdx], 1
jle 0x140162347
add rcx, 0x10
mov r8, qword [rax + 8]
mov r9b, byte [rax + 0x18]
call fcn.140080990
mov r14, rax
cmp r14b, 3
jne 0x1401621f0
nop dword [rax]
xor r14d, r14d
xor ecx, ecx
xor edx, edx
shl rdx, 0x10
shl ecx, 8
movzx r12d, cx
or r12, rdx
or r12, r14
test rbp, rbp
je 0x1401622fc
xor ebx, ebx
test r14b, r14b
je 0x140162210
cmp r14b, 1
je 0x1401621e0
mov al, byte [rbx + 0x10]
cmp al, 0xa
je 0x140162220
jmp 0x1401622c2
mov rax, r12
shr rax, 8
cmp al, 0xa
je 0x140162220
jmp 0x1401622c2
mov rbx, rdx
mov r15, r14
shr r15, 0x20
mov r12, r14
test r14b, r14b
jne 0x1401621c8
nop word cs:[rax + rax]
mov ecx, r15d
call fcn.140144e80
cmp al, 0xa
jne 0x1401622c2
mov r15, rsi
mov rcx, qword [rsi + 0x20]
and r13d, 3
mov rax, qword [rcx]
xor r13, 0xf
movzx edx, dil
shl rdx, 0x10
nop word [rax + rax]
mov rbp, rax
shr rbp, 0x10
cmp bpl, dil
jne 0x140162266
mov ebp, r13d
and ebp, eax
mov esi, eax
and esi, 0x7f000000
or rsi, rdx
or rbp, rsi
lock cmpxchg qword [rcx], rbp
jne 0x140162240
cmp r14b, 2
jb 0x1401620d1
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
call qword [rax]
mov rax, qword [rbx + 8]
cmp qword [rax + 8], 0
je 0x1401620bf
mov rdi, qword [rbx]
cmp qword [rax + 0x10], 0x11
jb 0x1401620ad
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rdi - 8]
mov rcx, rax
xor edx, edx
jmp 0x1401620ba
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], r13
mov qword [rax + 0x10], rdi
jmp 0x14016207f
movzx eax, r14b
mov rdx, qword [rsp + 0x28]
mov qword [rdx], 1
shl r15, 0x20
mov ecx, r12d
and ecx, 0xffff0000
or rcx, r15
and r12d, 0xff00
or r12, rcx
or r12, rax
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], rbx
jmp 0x14016207f
shl r15, 0x20
mov eax, r12d
and eax, 0xffff0000
or rax, r15
and r12d, 0xff00
or r12, rax
or r12, r14
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
mov qword [rax + 8], r12
jmp 0x14016207f
lea rcx, [0x1402aeff1]
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.4.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14001f9d0
ud2
ud2