Function at 0x180361f20
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 [0x180594240]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, qword [rcx + 0x1c8]
mov edx, 0x3c
mov r15, qword [rcx + 0x18]
mov rbp, rcx
mov r9, qword [rbx + 0x1e50]
lea r8, [rbx + 0x1c48]
sub r9, qword [rbx + 0x1e48]
add r9, 2
call fcn.180361820
mov rax, qword [rbx + 0x1e48]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0x1e48], rax
cmp cl, 0x18
je 0x180362183
cmp cl, 0x23
je 0x180362138
cmp cl, 0x27
jne 0x180362231
mov qword [rsp + 0x30], 0
lea r8, str._c_c_c_c
mov r14d, 0x800
mov qword [rsp + 0x888], rsi
mov edx, r14d
mov dword [rsp + 0x28], 0x27
mov r9d, 0xff
mov qword [rsp + 0x890], rdi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], 0xfa
call fcn.180333fe0
mov rdi, qword [rbx + 0x1c20]
mov esi, 4
test rdi, rdi
je 0x1803620b1
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
mov r8, qword [rdi]
mov rax, rbx
inc rax
cmp byte [r8 + rax], 0
jne 0x180362016
lea rcx, [rsi + 1]
add rcx, rax
cmp rcx, 0x7fa
jae 0x1803620a4
mov edx, 0x2c
mov rcx, r8
call fcn.1803ff4f0
mov rdx, r14
lea r10, [rsp + 0x50]
sub rdx, rsi
add r10, rsi
xor r9d, r9d
mov r8, rax
test rax, rax
jne 0x18036206f
mov rax, qword [rdi]
lea r8, str._c_s
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.180333fe0
jmp 0x18036209e
mov rcx, qword [rdi]
inc rax
mov qword [rsp + 0x38], rax
sub r8d, ecx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov rcx, r10
mov dword [rsp + 0x20], r8d
lea r8, str._c_.s_c_s
call fcn.180333fe0
movsxd rcx, eax
add rsi, rcx
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x180362010
sub r14, rsi
mov dword [rsp + 0x20], 0xf0
lea rcx, [rsp + 0x50]
mov rdx, r14
add rcx, rsi
lea r8, str._c_c
mov r9d, 0xff
call fcn.180333fe0
mov rcx, qword [r15 + 0x238]
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 0x180362116
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180333640
mov r9, rsi
lea r8, [rsp + 0x52]
mov edx, 0x3e
mov rcx, rbp
call fcn.180361820
mov rsi, qword [rsp + 0x888]
jmp 0x180362231
mov rax, qword [rbx + 0x1c10]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x180362150
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x23
jmp 0x1803621c2
mov rax, qword [rbx + 0x1c08]
mov rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x180362191
mov dword [rsp + 0x48], 0xf0
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x18
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 fcn.180333fe0
mov rcx, qword [r15 + 0x238]
lea r8d, [rbx + 6]
xor r9d, r9d
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x18036221b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180333640
lea r9, [rbx + 4]
mov edx, 0x3e
lea r8, [rsp + 0x52]
mov rcx, rbp
call fcn.180361820
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1803fd0a0
mov rbx, qword [rsp + 0x898]
add rsp, 0x860
pop r15
pop r14
pop rbp
ret