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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x860
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, qword [rcx + 0x1b8]
mov edx, 0x3c
mov r15, qword [rcx + 0x20]
mov r14, rcx
mov r9, qword [rbx + 0x1ee0]
lea r8, [rbx + 0x1cd8]
sub r9, qword [rbx + 0x1ed8]
add r9, 2
call fcn.140159c00
mov rax, qword [rbx + 0x1ed8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1ed8], rax
cmp cl, 0x18
je 0x14015a894
cmp cl, 0x23
je 0x14015a853
cmp cl, 0x27
jne 0x14015a942
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov ebp, 0x800
mov qword [rsp + 0x888], rsi
mov edx, ebp
mov dword [rsp + 0x28], Ordinal_46
mov r9d, 0xff
mov qword [rsp + 0x890], rdi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], 0xfa
call sym.CheraxLoader.exe_curl_msnprintf
mov rdi, qword [rbx + 0x1cb0]
mov esi, 4
test rdi, rdi
je 0x14015a7cc
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
mov r8, qword [rdi]
mov rax, rbx
inc rax
cmp byte [r8 + rax], 0
jne 0x14015a736
lea rcx, [rsi + 1]
add rcx, rax
cmp rcx, 0x7fa
jae 0x14015a7bf
mov edx, Ordinal_46
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rdx, rbp
lea rcx, [rsp + 0x50]
sub rdx, rsi
add rcx, rsi
mov r9, rax
test rax, rax
jne 0x14015a78a
mov rax, qword [rdi]
lea r8, str._c_s
mov qword [rsp + 0x20], rax
call sym.CheraxLoader.exe_curl_msnprintf
jmp 0x14015a7b9
mov r8, qword [rdi]
inc rax
mov qword [rsp + 0x38], rax
sub r9d, r8d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r8
lea r8, str._c_.s_c_s
mov dword [rsp + 0x20], r9d
xor r9d, r9d
call sym.CheraxLoader.exe_curl_msnprintf
movsxd rcx, eax
add rsi, rcx
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14015a730
sub rbp, rsi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rsp + 0x50]
mov rdx, rbp
add rcx, rsi
lea r8, str._c_c
mov r9d, 0xff
call sym.CheraxLoader.exe_curl_msnprintf
mov rcx, qword [r15 + 0x220]
lea r8d, [rsi + 2]
xor r9d, r9d
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rsp + 0x890]
test eax, eax
jns 0x14015a831
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.140101e00
mov r9, rsi
lea r8, [rsp + 0x52]
mov edx, 0x3e
mov rcx, r14
call fcn.140159c00
mov rsi, qword [rsp + 0x888]
jmp 0x14015a942
lea rax, [rbx + 0x1c28]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14015a861
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_41
jmp 0x14015a8d3
lea rax, [rbx + 0x1c08]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x14015a8a2
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], Ordinal_27
mov r9d, 0xff
mov dword [rsp + 0x20], 0xfa
lea r8, str._c_c_c_c_s_c_c
mov edx, 0x800
lea rcx, [rsp + 0x50]
call sym.CheraxLoader.exe_curl_msnprintf
mov rcx, qword [r15 + 0x220]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14015a92c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r14
mov r8d, eax
call fcn.140101e00
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x52]
mov rcx, r14
call fcn.140159c00
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140171bd0
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop r15
pop r14
pop rbp
ret