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

Disassembly:
push rbp
push rbx
push r13
push r14
push r15
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov rax, qword [0x1402b3030]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov rbx, qword [rcx + 0x1b0]
xorps xmm0, xmm0
mov r13, qword [rcx + 0x18]
xor eax, eax
mov byte [rbp - 0x20], 0
mov r15, rcx
movups xmmword [rbp - 0x1f], xmm0
mov qword [rbp + 0x51], rax
lea r8, [rbx + 0x1cb8]
movups xmmword [rbp - 0xf], xmm0
mov dword [rbp + 0x59], eax
lea edx, [rax + 0x3c]
movups xmmword [rbp + 1], xmm0
mov word [rbp + 0x5d], ax
movups xmmword [rbp + 0x11], xmm0
mov byte [rbp + 0x5f], al
movups xmmword [rbp + 0x21], xmm0
mov byte [rsp + 0x60], al
movups xmmword [rbp + 0x31], xmm0
mov qword [rbp - 0x2f], rax
movups xmmword [rbp + 0x41], xmm0
mov dword [rbp - 0x27], eax
movups xmmword [rsp + 0x61], xmm0
mov word [rbp - 0x23], ax
movups xmmword [rsp + 0x71], xmm0
mov byte [rbp - 0x21], al
movups xmmword [rbp - 0x7f], xmm0
movups xmmword [rbp - 0x6f], xmm0
movups xmmword [rbp - 0x5f], xmm0
movups xmmword [rbp - 0x4f], xmm0
movups xmmword [rbp - 0x3f], xmm0
mov r9, qword [rbx + 0x1ec0]
sub r9, qword [rbx + 0x1eb8]
add r9, 2
call fcn.1401348f0
mov rax, qword [rbx + 0x1eb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1eb8], rax
cmp cl, 0x18
je 0x140135423
cmp cl, 0x23
je 0x1401353de
cmp cl, 0x27
jne 0x1401354ce
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov r14d, 0x800
mov qword [rsp + 0x9a8], rsi
mov edx, r14d
mov dword [rsp + 0x28], Ordinal_46
mov r9d, 0xff
mov qword [rsp + 0x9b0], rdi
lea rcx, [rbp + 0x60]
mov dword [rsp + 0x20], 0xfa
call sym.CheraxLoader.exe_curl_msnprintf
mov rsi, qword [rbx + 0x1cb0]
mov edi, 4
test rsi, rsi
je 0x14013535a
mov rbx, 0xffffffffffffffff
nop
mov rcx, qword [rsi]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140135296
inc rax
add rax, rdi
cmp rax, 0x7fa
jae 0x14013534d
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, str._127____1____127s
mov word [rsp + 0x50], 0
call fcn.140046470
cmp eax, 1
jne 0x14013530b
lea rax, [rbp - 0x20]
mov rdx, r14
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
sub rdx, rdi
lea r8, str._c_s
add rcx, rdi
xor r9d, r9d
call sym.CheraxLoader.exe_curl_msnprintf
jmp 0x140135347
cmp eax, 2
jl 0x14013534d
lea rax, [rsp + 0x60]
mov rdx, r14
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x60]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 1
sub rdx, rdi
mov qword [rsp + 0x20], rax
add rcx, rdi
lea r8, str._c_s_c_s
xor r9d, r9d
call sym.CheraxLoader.exe_curl_msnprintf
movsxd rcx, eax
add rdi, rcx
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x140135290
sub r14, rdi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rbp + 0x60]
mov rdx, r14
add rcx, rdi
lea r8, str._c_c
mov r9d, 0xff
call sym.CheraxLoader.exe_curl_msnprintf
mov rcx, qword [r13 + 0x1a8]
lea r8d, [rdi + 2]
xor r9d, r9d
lea rdx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x9a8]
test eax, eax
jns 0x1401353bd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r15
mov r8d, eax
call fcn.140100cb0
mov r9, rdi
lea r8, [rbp + 0x62]
mov edx, 0x3e
mov rcx, r15
call fcn.1401348f0
mov rdi, qword [rsp + 0x9b0]
jmp 0x1401354ce
lea rax, [rbx + 0x1c28]
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1401353f0
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 0x140135462
lea rax, [rbx + 0x1c08]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140135431
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, [rbp + 0x60]
call sym.CheraxLoader.exe_curl_msnprintf
mov rcx, qword [r13 + 0x1a8]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rbp + 0x60]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1401354b9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, r15
mov r8d, eax
call fcn.140100cb0
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rbp + 0x62]
mov rcx, r15
call fcn.1401348f0
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.14014d450
add rsp, 0x970
pop r15
pop r14
pop r13
pop rbx
pop rbp
ret