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

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rdi
push r13
sub rsp, 0x68
mov rdi, qword [r8 + 0xe8]
mov r13, r8
mov qword [rax + 0x10], rbx
mov ebx, ecx
mov qword [rax - 0x28], r12
xor r12d, r12d
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x20], rdi
test ecx, ecx
jne 0x7ff7aa67edce
mov qword [rax - 0x20], rsi
mov rsi, qword [r8 + 0x20]
mov qword [rax - 0x18], rbp
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
test rsi, rsi
je 0x7ff7aa67ed81
movdqa xmm6, xmmword [0x7ff7aa72da60]
mov rax, qword [rsi + 0x18]
lea r15, [rsi + 0x18]
test rax, rax
je 0x7ff7aa67eb85
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x7ff7aa67eb76
inc rbx
jmp 0x7ff7aa67eb87
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x7ff7aa67eb96
mov ebp, 0x10
jmp 0x7ff7aa67eba4
cmp eax, 0x17
jne 0x7ff7aa67ed6f
mov ebp, 0x1c
cmp qword [rsi + 0x20], 0
je 0x7ff7aa67ed6f
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x7ff7aa67ed6f
cmp rax, rbp
jb 0x7ff7aa67ed6f
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [section._________1]
mov rdi, rax
test rax, rax
je 0x7ff7aa67ed90
mov ecx, dword [rsi]
lea r14, [rax + 0x18]
mov dword [rax], ecx
mov r8, rbp
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rdi + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x7ff7aa67ed4f
mov rdx, qword [rdi + 0x20]
xor eax, eax
add rdx, rbp
mov qword [r14], rdx
test rbx, rbx
je 0x7ff7aa67ed47
cmp rbx, 4
jb 0x7ff7aa67ed30
mov r9, qword [r15]
lea r8, [rdx - 1]
lea rcx, [rbx - 1]
add r8, rbx
lea rcx, [r9 + rcx*2]
cmp rdx, rcx
ja 0x7ff7aa67ec60
cmp r8, r9
jae 0x7ff7aa67ed30
cmp rdx, r15
ja 0x7ff7aa67ec6e
cmp r8, r15
jae 0x7ff7aa67ed30
cmp rdx, r14
ja 0x7ff7aa67ec7c
cmp r8, r14
jae 0x7ff7aa67ed30
cmp rbx, 0x20
jb 0x7ff7aa67ed02
mov rcx, rbx
mov r8, rbx
and ecx, 0x1f
sub r8, rcx
mov r10d, 0x20
nop dword [rax + rax]
movdqu xmm0, xmmword [r10 + r9 - 0x20]
movdqu xmm1, xmmword [r10 + r9 - 0x10]
lea r10, [r10 + 0x40]
andps xmm0, xmm6
andps xmm1, xmm6
packuswb xmm0, xmm0
movq qword [rdx + rax], xmm0
movdqu xmm0, xmmword [r10 + r9 - 0x40]
packuswb xmm1, xmm1
movq qword [rdx + rax + 8], xmm1
andps xmm0, xmm6
movdqu xmm1, xmmword [r10 + r9 - 0x30]
packuswb xmm0, xmm0
movq qword [rdx + rax + 0x10], xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
movq qword [rdx + rax + 0x18], xmm1
add rax, 0x20
cmp rax, r8
jb 0x7ff7aa67eca0
cmp rcx, 4
jb 0x7ff7aa67ed2b
mov rdx, qword [r15]
mov rcx, rbx
mov r8, qword [rdi + 0x18]
and rcx, 0xfffffffffffffffc
movq xmm0, qword [rdx + rax*2]
andps xmm0, xmm6
packuswb xmm0, xmm0
movd dword [r8 + rax], xmm0
add rax, 4
cmp rax, rcx
jb 0x7ff7aa67ed10
cmp rax, rbx
jae 0x7ff7aa67ed47
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rdi + 0x18]
movzx ecx, byte [rcx + rax*2]
mov byte [rax + rdx], cl
inc rax
cmp rax, rbx
jb 0x7ff7aa67ed30
mov rax, qword [rdi + 0x18]
mov byte [rbx + rax], 0
mov rax, qword [rsp + 0x98]
test r12, r12
cmove r12, rdi
test rax, rax
je 0x7ff7aa67ed67
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x98], rdi
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x7ff7aa67eb62
test r12, r12
jne 0x7ff7aa67eda2
mov ebx, 0x2af9
mov ecx, ebx
call qword [sym.imp.ws2_32.dll_WSASetLastError]
jmp 0x7ff7aa67eda9
mov rcx, r12
mov ebx, 8
call fcn.7ff7aa6a7580
xor r12d, r12d
jmp 0x7ff7aa67eda9
mov ebx, dword [rsp + 0x80]
mov rdi, qword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov qword [r13 + 0xb0], r12
mov rcx, qword [r13 + 0x20]
mov r12, qword [rsp + 0x50]
test rcx, rcx
je 0x7ff7aa67edea
call qword [0x7ff7aa7e9278]
mov qword [r13 + 0x20], 0
test ebx, ebx
je 0x7ff7aa67ee1d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
test eax, eax
je 0x7ff7aa67ee16
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [r13 + 0xa8], eax
test eax, eax
jne 0x7ff7aa67ee1d
mov dword [r13 + 0xa8], 8
jmp 0x7ff7aa67ee1d
mov dword [r13 + 0xa8], ebx
mov rcx, qword [r13 + 0x78]
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [r13 + 0x80], 0
mov rbx, qword [rsp + 0x88]
je 0x7ff7aa67eeae
mov rcx, qword [r13 + 0x78]
call qword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov rcx, qword [r13 + 0x78]
test rcx, rcx
je 0x7ff7aa67ee5c
call qword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov rcx, qword [r13 + 0x78]
call qword [fcn.7ff7aa6d8a54]
mov rcx, qword [r13 + 0x88]
call qword [fcn.7ff7aa6d8a54]
mov rcx, qword [r13 + 0xb0]
test rcx, rcx
je 0x7ff7aa67ee7a
call fcn.7ff7aa6a7580
mov rcx, qword [r13 + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x7ff7aa67ee8d
call qword [sym.imp.ws2_32.dll_closesocket]
xor edx, edx
mov r8d, 0xf0
mov rcx, r13
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [fcn.7ff7aa6d8a54]
add rsp, 0x68
pop r13
pop rdi
ret
mov rcx, qword [r13 + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x7ff7aa67eeeb
xor r9d, r9d
mov byte [rsp + 0x90], 1
mov r8d, 1
lea rdx, [rsp + 0x90]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff7aa67eeeb
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [r13 + 0xa8], eax
mov rcx, qword [r13 + 0x78]
mov dword [r13 + 0x80], 1
call qword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
test rcx, rcx
je 0x7ff7aa67ef0e
call qword [sym.imp.kernel32.dll_SetEvent]
add rsp, 0x68
pop r13
pop rdi
ret