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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, rcx
xor esi, esi
lea rcx, [rsp + 0x40]
call fcn.140154630
nop
mov r11, qword [rsp + 0x40]
movsxd rax, dword [rsp + 0x4c]
imul rbx, rax, 0x11
add rbx, r11
cmp r11, rbx
je 0x14016700b
nop
mov byte [rbp - 0x28], 0
mov dword [rbp - 0x38], 0x100007f
mov qword [rbp - 0x34], rsi
mov dword [rbp - 0x2c], esi
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 0
lea rdx, [rbp + 0x10]
mov rcx, r11
call fcn.140155090
test eax, eax
jne 0x140167268
add r11, 0x11
cmp r11, rbx
jne 0x140166fd0
mov byte [rbp - 0x10], 0
mov dword [rbp - 0x20], 0x100007f
mov qword [rbp - 0x1c], rsi
mov dword [rbp - 0x14], esi
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 8], xmm0
mov byte [rbp + 8], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140148e20
lea r8, [0x1402c0df0]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140149310
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.140155310
nop
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rdi + 0xc0]
call fcn.14013fad0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff0
lea r14, [0x1402be068]
mov ebx, 0xffffffff
cmp rcx, r14
je 0x1401670aa
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401670aa
call fcn.14010a370
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x1401670c7
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x1401670c7
call fcn.14010a370
mov word [rbp - 0x41], 0
mov qword [rbp - 0x50], 0
mov dword [rbp - 0x48], 0
mov word [rbp - 0x44], 0
mov byte [rbp - 0x42], 0
lea rax, [0x1402c0e14]
mov qword [rsp + 0x78], rax
lea rax, [0x1402bcf4c]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0xc0]
call fcn.140140590
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140155310
mov r12, rax
mov r13, qword [rsp + 0x60]
mov qword [rbp - 0x78], r13
lea rcx, [rbp - 0x78]
call fcn.14001c160
mov qword [rbp - 0x60], rax
mov r15d, dword [rdi + 0xe0]
mov ecx, dword [rdi + 0xf0]
test ecx, ecx
js 0x140167202
mov r14, qword [rdi + 0x110]
lea rsi, [rdi + 0x100]
test r14, r14
je 0x1401671a3
mov rax, qword [rsi]
mov rcx, qword [r12]
cmp rcx, rax
je 0x140167191
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x68]
call fcn.14001c7b0
test eax, eax
jne 0x14016719a
cmp r15d, dword [rdi + 0x108]
je 0x1401671cc
mov rcx, r14
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov r8d, r15d
mov rdx, r12
call fcn.1401568c0
mov qword [rdi + 0x110], rax
test rax, rax
je 0x1401671fb
mov rdx, r12
mov rcx, rsi
call fcn.1401520c0
mov dword [rdi + 0x108], r15d
movsxd rcx, dword [rdi + 0xf0]
mov r8, qword [rdi + 0x110]
mov eax, dword [r8 + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [r8 + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rbp - 0x60]
mov rdx, r13
call qword [sym.imp.WS2_32.dll_sendto]
lea r14, [0x1402be068]
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x140167220
mov eax, ebx
lock xadd dword [rcx], eax
test eax, eax
jne 0x140167220
call fcn.14010a370
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
cmp rcx, r14
je 0x14016723b
lock xadd dword [rcx], ebx
test ebx, ebx
jne 0x14016723b
call fcn.14010a370
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movups xmm0, xmmword [r11]
movups xmmword [rbp - 8], xmm0
movzx eax, byte [r11 + 0x10]
mov byte [rbp + 8], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], esi
jmp 0x140167037