Function at 0x1401e1090
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 rbx, r8
mov qword [rsp + 0x20], rax
mov r13d, ecx
test ecx, ecx
jne 0x1401e11dd
mov rbp, qword [r8 + 0x20]
xor r14d, r14d
xor r15d, r15d
test rbp, rbp
je 0x1401e11c0
mov rcx, qword [rbp + 0x18]
xor edx, edx
test rcx, rcx
je 0x1401e10e1
call sym.wcslen
lea rdx, [rax + 1]
mov eax, dword [rbp + 4]
cmp eax, 2
je 0x1401e10f9
mov r12d, 0x1c
cmp eax, 0x17
je 0x1401e10ff
jmp 0x1401e11b7
mov r12d, 0x10
cmp qword [rbp + 0x20], 0
je 0x1401e11b7
mov rax, qword [rbp + 0x10]
cmp rax, r12
jb 0x1401e11b7
test rax, rax
je 0x1401e11b7
mov rax, qword [0x140297bb0]
mov qword [rsp + 0x28], rdx
lea rcx, [r12 + rdx + 0x30]
call qword [rax]
test rax, rax
je 0x1401e12c7
mov ecx, dword [rbp]
xor edx, edx
lea r8, [rax + 0x30]
mov rsi, qword [rbp + 0x20]
mov rdi, r8
mov dword [rax], ecx
mov ecx, dword [rbp + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rbp + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rbp + 0xc]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x28], rdx
mov rdx, qword [rsp + 0x28]
mov dword [rax + 0xc], ecx
mov rcx, r12
mov dword [rax + 0x10], r12d
mov qword [rax + 0x20], r8
rep movsb byte [rdi], byte [rsi]
test rdx, rdx
je 0x1401e11a4
mov qword [rax + 0x18], rdi
mov r10, qword [rbp + 0x18]
mov r8, qword [rax + 0x18]
mov r10w, word [r10 + rcx*2]
mov byte [r8 + rcx], r10b
inc rcx
cmp rdx, rcx
jne 0x1401e1183
mov rcx, qword [rax + 0x18]
mov byte [rcx + rdx], 0
test r15, r15
cmove r15, rax
test r14, r14
je 0x1401e11b4
mov qword [r14 + 0x28], rax
mov r14, rax
mov rbp, qword [rbp + 0x40]
jmp 0x1401e10c4
test r15, r15
jne 0x1401e11d6
mov ecx, 0x2af9
mov r13d, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov qword [rbx + 0xb0], r15
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1401e11f5
mov rax, qword [0x140297b50]
call qword [rax]
xor eax, eax
mov qword [rbx + 0x20], rax
test r13d, r13d
je 0x1401e1222
mov rsi, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rsi
test eax, eax
jne 0x1401e1210
mov dword [rbx + 0xa8], r13d
jmp 0x1401e1222
call rsi
mov edx, 8
test eax, eax
cmove eax, edx
mov dword [rbx + 0xa8], eax
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [rbx + 0x80], 0
mov rsi, qword [sym.imp.kernel32.dll_LeaveCriticalSection]
je 0x1401e126c
mov rcx, qword [rbx + 0x78]
call rsi
mov rcx, rbx
call sym.destroy_thread_sync_data
mov rax, qword [0x140297ba0]
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 [rbx + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x1401e12a2
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 0x1401e12a2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0x80], 1
mov rcx, qword [rbx + 0x78]
call rsi
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1401e12dd
call qword [sym.imp.kernel32.dll_SetEvent]
jmp 0x1401e12dd
mov rcx, r15
mov r13d, 8
xor r15d, r15d
call sym.Curl_freeaddrinfo
jmp 0x1401e11d6
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret