Function at 0x14010c6e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x68
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov qword [rsp + 0x38], rax
mov r14, r9
mov rax, qword [rcx + 0x180]
mov rdi, r8
mov rcx, qword [rcx + 0x38]
mov rsi, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x14010ca4b
cmp rcx, r9
jb 0x14010ca4b
mov qword [rsp + 0x98], rbp
lea rax, [rbx + 0x40]
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x58], r13
xor r13d, r13d
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x28], rax
cmp dword [rbx + 0x174], r13d
je 0x14010c7a9
test r9, r9
jne 0x14010c783
lea rdx, [rbx + 0x60]
mov rcx, rax
call fcn.14010d330
xor eax, eax
mov dword [rbx + 0x174], r13d
jmp 0x14010ca34
movups xmm0, xmmword [rax]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [rax], r13
mov qword [rbx + 0x48], r13
mov dword [rbx + 0x174], r13d
jmp 0x14010c7ae
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x60], r12
mov r12d, dword [rbx + 0xc]
mov qword [rsp + 0x50], r15
mov r15d, ebp
and r15d, 0xf
mov dword [rsp + 0x20], r15d
bswap r12d
je 0x14010c833
nop dword [rax]
test r14, r14
je 0x14010c803
movzx ecx, byte [r15 + rbx + 0x10]
dec r14
xor cl, byte [rsi]
inc rsi
mov byte [rdi], cl
inc rdi
mov eax, ebp
inc ebp
inc r15d
and r15d, 0xf
mov dword [rsp + 0x20], r15d
mov byte [rax + rbx + 0x188], cl
jne 0x14010c7d0
jmp 0x14010c80c
test r15d, r15d
jne 0x14010ca22
lea r8, [rbx + 0x188]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010d1d0
mov rax, qword [rsp + 0x28]
mov ebp, r13d
mov dword [rsp + 0x90], r13d
lea rcx, [rbx + 0x60]
cmp r14, 0x10
jb 0x14010c861
test ebp, ebp
je 0x14010c861
mov rdx, rcx
mov r9d, ebp
mov rcx, rax
lea r8, [rbx + 0x188]
call fcn.14010d1d0
mov ebp, r13d
mov dword [rsp + 0x90], r13d
cmp r14, 0xc00
jb 0x14010c933
mov rbp, qword [rsp + 0x30]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x40], rcx
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x38]
nop dword [rax]
nop word [rax + rax]
mov r13d, 0xc0
nop word [rax + rax]
mov r8, rbp
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsi]
xor rax, qword [rbx + 0x10]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r13, 1
jne 0x14010c8c0
mov rcx, qword [rsp + 0x28]
lea r8, [rdi - 0xc00]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
call fcn.14010d1d0
sub qword [rsp + 0x40], 1
jne 0x14010c8b0
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r15d, dword [rsp + 0x20]
mov rax, r14
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x40], rax
je 0x14010c9dc
cmp r14, 0x10
jb 0x14010c9c5
mov rbp, qword [rsp + 0x30]
mov r13, r14
shr r13, 4
imul rax, r13, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x38]
nop dword [rax + rax]
mov r8, rbp
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r14
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsi]
xor rax, qword [rbx + 0x10]
mov qword [rdi], rax
mov rax, qword [rsi + 8]
add rsi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r13, 1
jne 0x14010c970
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r15d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
lea rdx, [rbx + 0x60]
mov r8, rdi
mov r9, rax
sub r8, rax
call fcn.14010d1d0
test r14, r14
je 0x14010ca22
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x38]
inc r12d
bswap r12d
mov dword [rbx + 0xc], r12d
nop dword [rax + rax]
mov eax, r15d
inc r15d
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + rsi]
mov byte [rax + rdi], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x188], cl
sub r14, 1
jne 0x14010ca00
mov r12, qword [rsp + 0x60]
xor eax, eax
mov r15, qword [rsp + 0x50]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x98]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x68
pop r14
pop rdi
pop rsi
pop rbx
ret