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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0x88]
lea rbp, [rdx + 0x40]
mov qword [rdx + 0x70], rax
lea r14, [rdx + 0xa0]
mov dword [rdx + 8], 3
xorps xmm0, xmm0
mov qword [rdx + 0x80], r8
mov r13, r9
movups xmmword [rbp], xmm0
mov rdi, r8
mov rbx, rdx
movups xmmword [rbp + 0x10], xmm0
test dword [r8 + 0x58], 0x80000
mov rsi, rcx
je 0x1800a9ae8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [r14], rax
test rax, rax
je 0x1800a9cf7
or rax, 1
lea r15, [rbx + 0xa8]
mov qword [rbx + 0x58], rax
mov qword [r15], 0xffffffffffffffff
jmp 0x1800a9aef
lea r15, [rdx + 0xa8]
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x88]
mov rcx, qword [rdi + 0x110]
xor eax, eax
mov qword [rsp + 0x30], rax
mov rdx, r13
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x1800a9b8e
test dword [rdi + 0x58], 0x20000
je 0x1800a9c15
xor r14d, r14d
mov qword [rbx + 0x60], r14
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x1800a9b65
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x1800a9b65
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x1800a9b65
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
mov qword [rbx + 0x68], r14
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1800a9cce
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x1800a9cd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800a9c07
xor r14d, r14d
mov qword [rbx + 0x60], r14
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x1800a9bd0
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x1800a9bd0
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x1800a9bd0
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jg 0x1800a9bee
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov qword [rbp], rax
jmp 0x1800a9b68
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbp], rax
jmp 0x1800a9b68
lea r14, [rbx + 0xa0]
lea r15, [rbx + 0xa8]
mov edx, dword [rsp + 0x80]
mov rcx, r13
call fcn.180098710
mov qword [rbx + 0x60], rax
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x1800a9c56
mov eax, dword [rdi + 0x58]
test al, 4
jne 0x1800a9c56
or eax, 4
mov dword [rdi + 0x58], eax
test al, 8
je 0x1800a9c56
mov rax, qword [rdi + 8]
inc dword [rax + 8]
inc dword [rsi + 0x20]
mov rax, qword [rbx + 0x60]
add qword [rdi + 0x60], rax
test dword [rdi + 0x58], 0x80000
je 0x1800a9cd6
mov rdx, qword [r14]
lea r8, [0x1800aad10]
mov dword [rsp + 0x28], ntohs
mov r9, rbx
mov rcx, r15
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x1800a9cd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1800a9cb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cdqe
xor r14d, r14d
mov qword [rbp], rax
jmp 0x1800a9b68
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
xor r14d, r14d
mov qword [rbp], rax
jmp 0x1800a9b68
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.1800d1ec0
int3