Function at 0x14010c650
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r15
sub rsp, 0x68
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov rsi, r9
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r12, r8
mov r15, rdx
cmp rcx, rax
ja 0x14010c932
cmp rcx, r9
jb 0x14010c932
mov qword [rsp + 0x60], rdi
xor eax, eax
lea rdi, [rbx + 0x40]
mov qword [rsp + 0x50], r14
mov r14d, dword [rbx + 0x170]
mov dword [rsp + 0x90], r14d
mov qword [rsp + 0x40], rdi
mov qword [rbx + 0x38], rcx
cmp dword [rbx + 0x174], eax
je 0x14010c70b
test r9, r9
jne 0x14010c6e4
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.14010d590
xor eax, eax
mov dword [rbx + 0x174], esi
jmp 0x14010c91d
movups xmm0, xmmword [rdi]
mov r14d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], r14d
movups xmmword [rbx + 0x188], xmm0
mov qword [rdi], rax
mov qword [rbx + 0x48], rax
mov dword [rbx + 0x174], eax
jmp 0x14010c710
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x98], rbp
mov ebp, r14d
mov qword [rsp + 0x58], r13
and ebp, 0xf
mov r13d, dword [rbx + 0xc]
mov dword [rsp + 0x30], ebp
bswap r13d
je 0x14010c791
test rsi, rsi
je 0x14010c767
movzx edx, byte [r15]
dec rsi
mov eax, r14d
inc r15
inc r14d
mov byte [rax + rbx + 0x188], dl
movzx ecx, byte [rbp + rbx + 0x10]
xor cl, dl
mov byte [r12], cl
inc r12
inc ebp
and ebp, 0xf
mov dword [rsp + 0x30], ebp
jne 0x14010c730
jmp 0x14010c76f
test ebp, ebp
jne 0x14010c907
lea r8, [rbx + 0x188]
mov r9d, r14d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010d430
xor r14d, r14d
mov dword [rsp + 0x90], r14d
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x14010c7c0
test r14d, r14d
je 0x14010c7c0
mov r9d, r14d
lea r8, [rbx + 0x188]
mov rdx, rax
mov rcx, rdi
call fcn.14010d430
xor r14d, r14d
mov dword [rsp + 0x90], r14d
cmp rsi, 0xc00
jb 0x14010c84f
mov r14, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rbp, rdx
shr rbp, 0xb
imul rax, rbp, 0xfffffffffffff400
add rsi, rax
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, r15
mov rcx, rdi
call fcn.14010d430
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r12
mov rcx, r15
call qword [rsp + 0xb0]
add r13d, 0xc0
add r12, 0xc00
mov eax, r13d
add r15, 0xc00
bswap eax
mov dword [rbx + 0xc], eax
sub rbp, 1
jne 0x14010c7f0
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x90]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xa8], rax
je 0x14010c8b1
mov rcx, qword [rsp + 0x40]
lea rdx, [rbx + 0x60]
mov rdi, rax
mov r9, rax
mov r8, r15
shr rdi, 4
call fcn.14010d430
mov r9, qword [rsp + 0x38]
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [rsp + 0xb0]
add r13d, edi
mov eax, r13d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsp + 0xa8]
add r12, rax
add r15, rax
sub rsi, rax
test rsi, rsi
je 0x14010c907
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r13d
bswap r13d
mov dword [rbx + 0xc], r13d
nop dword [rax]
nop word [rax + rax]
mov edx, ebp
inc ebp
mov eax, r14d
inc r14d
movzx ecx, byte [rdx + r15]
mov byte [rax + rbx + 0x188], cl
movzx eax, byte [rdx + rbx + 0x10]
xor al, cl
mov byte [rdx + r12], al
sub rsi, 1
jne 0x14010c8e0
mov r13, qword [rsp + 0x58]
xor eax, eax
mov rbp, qword [rsp + 0x98]
mov dword [rbx + 0x170], r14d
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret