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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rdi, qword [0x140485900]
mov r15, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r13d, r13d
mov rax, qword [rdi]
mov qword [rsp + 0x98], rax
xor eax, eax
lea rax, [rcx + 0x30]
mov r12, rcx
mov rsi, rdx
mov qword [rsp + 0x48], rax
mov rcx, rax
lea rbx, [r12 + 0x78]
lea r14, [r12 + 0x1b8]
call r15
pxor xmm0, xmm0
lea rdi, [0x14037a7e0]
movups xmmword [rsp + 0x60], xmm0
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14022a6da
mov rax, rsi
xor edx, edx
mov r10, qword [rbx + 0x30]
div r8
shl rdx, 4
add rdx, r10
mov rcx, qword [rdx]
cmp rcx, rbx
je 0x14022a6da
mov rax, qword [rdx + 8]
mov rax, qword [rax]
cmp rcx, rax
jne 0x14022a5bc
jmp 0x14022a6da
mov rcx, qword [rcx]
cmp rax, rcx
je 0x14022a6da
cmp rsi, qword [rcx + 0x10]
jne 0x14022a5b0
cmp rbx, rcx
je 0x14022a6da
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14022a669
mov r8, qword [rsp + 0x68]
xor r10d, r10d
jmp 0x14022a5fb
mov qword [r8 + 0x20], rax
mov rdx, qword [rcx + 0x18]
mov r8, rax
test rdx, rdx
je 0x14022a652
mov rax, rdx
mov dword [rax + 0x38], 0x3e3
mov qword [rax + 0x40], rdi
mov qword [rax + 0x48], 3
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x14022a630
mov r11, qword [rdx + 0x20]
mov qword [rcx + 0x18], r11
test r11, r11
je 0x14022a750
mov qword [rdx + 0x20], 0
mov qword [rax + 0x20], 0
test r8, r8
jne 0x14022a5e8
mov rdx, qword [rcx + 0x18]
mov rbp, rax
mov r10d, 1
mov r8, rax
test rdx, rdx
jne 0x14022a5f8
mov qword [rsp + 0x68], rax
test r10b, r10b
je 0x14022a661
mov qword [rsp + 0x60], rbp
mov r8, qword [rbx + 0x38]
mov r10, qword [rbx + 0x30]
mov rax, qword [rcx + 0x10]
xor edx, edx
div r8
shl rdx, 4
add r10, rdx
mov rax, qword [r10]
mov r8, qword [r10 + 8]
cmp rax, rcx
jne 0x14022a89d
cmp r8, rcx
jne 0x14022a898
mov qword [r10 + 8], rbx
add rdx, qword [rbx + 0x30]
mov rax, qword [rdx + 8]
mov qword [rdx], rax
mov qword [rcx + 0x10], 0
mov rax, qword [rbx + 0x18]
mov r8, qword [rcx]
cmp rax, rcx
je 0x14022a6cf
cmp rax, r8
je 0x14022a6cf
mov rdx, rcx
mov rcx, rax
call sym.std::__detail::_List_node_base::_M_transfer_std::__detail::_List_node_base__std::__detail::_List_node_base_
add qword [rbx + 0x28], 1
sub qword [rbx + 0x10], 1
sub qword [rbx - 8], 1
mov r13d, 1
add rbx, 0x50
cmp r14, rbx
jne 0x14022a573
mov rdi, qword [r12 + 0x28]
mov rbp, qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov rbx, qword [rsp + 0x60]
jmp 0x14022a728
mov qword [rbx + 0x20], 0
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x30], 1
mov rcx, qword [rdi + 0x28]
call rbp
test eax, eax
je 0x14022a828
mov rbx, rsi
test rbx, rbx
je 0x14022a760
mov rsi, qword [rbx + 0x20]
mov qword [rsp + 0x60], rsi
test rsi, rsi
jne 0x14022a700
mov qword [rsp + 0x68], 0
jmp 0x14022a700
mov qword [rcx + 0x20], 0
jmp 0x14022a628
test r13b, r13b
je 0x14022a7ed
lea rax, [rsp + 0x5b]
mov rcx, qword [r12 + 0x60]
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x5c]
mov r8d, 1
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
lea rcx, [rsp + 0x80]
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [0x140485900]
mov rax, qword [rsp + 0x98]
sub rax, qword [rdi]
jne 0x14022a90d
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rdi + 0x60]
mov r14, rax
mov rcx, rax
call r15
mov qword [rbx + 0x20], 0
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x14022a8c8
mov qword [rax + 0x20], rbx
mov qword [rdi + 0x98], rbx
test rsi, rsi
jne 0x14022a870
mov eax, 1
xchg dword [rdi + 0x58], eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14022a6f3
mov rax, qword [rdi + 0x98]
pxor xmm0, xmm0
mov qword [rax + 0x20], rsi
mov rax, qword [rsp + 0x68]
movups xmmword [rsp + 0x60], xmm0
mov qword [rdi + 0x98], rax
jmp 0x14022a859
cmp rax, rcx
je 0x14022a8b8
cmp r8, rcx
jne 0x14022a6a1
mov rax, qword [rcx + 8]
mov qword [r10 + 8], rax
jmp 0x14022a6a1
mov rax, qword [rcx]
mov qword [r10], rax
jmp 0x14022a6a1
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
jmp 0x14022a854
call dbg.__stack_chk_fail
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop dword [rax]