Function at 0x1401bfb20
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, 0x48
mov rax, qword [r8 + 0xe8]
mov r12, r8
mov qword [rsp + 0x20], rax
mov ebp, ecx
test ecx, ecx
jne 0x1401bfc71
mov rbx, qword [r8 + 0x20]
xor r14d, r14d
xor r15d, r15d
test rbx, rbx
je 0x1401bfc54
mov rcx, qword [rbx + 0x18]
xor edx, edx
test rcx, rcx
je 0x1401bfb70
call sym.wcslen
lea rdx, [rax + 1]
mov eax, dword [rbx + 4]
cmp eax, 2
je 0x1401bfb88
mov r13d, 0x1c
cmp eax, 0x17
je 0x1401bfb8e
jmp 0x1401bfc4b
mov r13d, 0x10
cmp qword [rbx + 0x20], 0
je 0x1401bfc4b
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1401bfc4b
cmp rax, r13
jb 0x1401bfc4b
mov rax, qword [0x14027abe0]
mov qword [rsp + 0x28], rdx
lea rcx, [r13 + rdx + 0x30]
call qword [rax]
test rax, rax
je 0x1401bfd6b
mov ecx, dword [rbx]
mov rdx, qword [rsp + 0x28]
lea r8, [rax + 0x30]
mov rsi, qword [rbx + 0x20]
mov rdi, r8
mov dword [rax], ecx
mov ecx, dword [rbx + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rbx + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rax + 0x10], r13d
mov dword [rax + 0xc], ecx
mov rcx, r13
mov qword [rax + 0x18], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x20], r8
rep movsb byte [rdi], byte [rsi]
test rdx, rdx
je 0x1401bfc38
mov qword [rax + 0x18], rdi
mov r10, qword [rbx + 0x18]
mov r8, qword [rax + 0x18]
mov r10w, word [r10 + rcx*2]
mov byte [r8 + rcx], r10b
inc rcx
cmp rdx, rcx
jne 0x1401bfc17
mov rcx, qword [rax + 0x18]
mov byte [rcx + rdx], 0
test r15, r15
cmove r15, rax
test r14, r14
je 0x1401bfc48
mov qword [r14 + 0x28], rax
mov r14, rax
mov rbx, qword [rbx + 0x40]
jmp 0x1401bfb53
test r15, r15
jne 0x1401bfc69
mov ecx, 0x2af9
mov ebp, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov qword [r12 + 0xb0], r15
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x1401bfc8d
mov rax, qword [0x14027ab60]
call qword [rax]
mov qword [r12 + 0x20], 0
test ebp, ebp
je 0x1401bfcbc
mov rbx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rbx
test eax, eax
je 0x1401bfca6
call rbx
mov ebp, eax
test eax, eax
je 0x1401bfcb0
mov dword [r12 + 0xa8], ebp
jmp 0x1401bfcbc
mov dword [r12 + 0xa8], 8
mov rcx, qword [r12 + 0x78]
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov rbx, qword [sym.imp.kernel32.dll_LeaveCriticalSection]
cmp dword [r12 + 0x80], 0
je 0x1401bfd0a
mov rcx, qword [r12 + 0x78]
call rbx
mov rcx, r12
call sym.destroy_thread_sync_data
mov rax, qword [0x14027abd0]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rcx, qword [r12 + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x1401bfd43
xor r9d, r9d
mov byte [rsp + 0x3f], 1
lea rdx, [rsp + 0x3f]
mov r8d, 1
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1401bfd43
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [r12 + 0xa8], eax
mov rcx, qword [r12 + 0x78]
mov dword [r12 + 0x80], 1
call rbx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401bfd80
call qword [sym.imp.kernel32.dll_SetEvent]
jmp 0x1401bfd80
mov rcx, r15
mov ebp, 8
xor r15d, r15d
call sym.Curl_freeaddrinfo
jmp 0x1401bfc69
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret