Function at 0x14010c090
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 rsi, r8
mov rcx, qword [rcx + 0x38]
mov rdi, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x14010c3df
cmp rcx, r9
jb 0x14010c3df
mov qword [rsp + 0x58], r13
lea rax, [rbx + 0x40]
xor r13d, r13d
mov qword [rsp + 0x50], r15
mov r15d, dword [rbx + 0x170]
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], r15d
mov qword [rsp + 0x28], rax
cmp dword [rbx + 0x174], r13d
je 0x14010c15a
test r9, r9
jne 0x14010c132
lea rdx, [rbx + 0x60]
mov rcx, rax
call fcn.14010d330
xor eax, eax
mov dword [rbx + 0x174], r13d
jmp 0x14010c3cb
movups xmm0, xmmword [rax]
mov r15d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], r15d
movups xmmword [rbx + 0x188], xmm0
mov qword [rax], r13
mov qword [rbx + 0x48], r13
mov dword [rbx + 0x174], r13d
jmp 0x14010c15f
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x98], rbp
mov ebp, r15d
mov qword [rsp + 0x60], r12
and ebp, 0xf
mov r12d, dword [rbx + 0xc]
mov dword [rsp + 0x20], ebp
bswap r12d
je 0x14010c1e3
nop
test r14, r14
je 0x14010c1b4
movzx edx, byte [rdi]
dec r14
mov eax, r15d
inc rdi
inc r15d
mov byte [rax + rbx + 0x188], dl
movzx ecx, byte [rbp + rbx + 0x10]
xor cl, dl
mov byte [rsi], cl
inc rsi
inc ebp
and ebp, 0xf
mov dword [rsp + 0x20], ebp
jne 0x14010c180
jmp 0x14010c1bc
test ebp, ebp
jne 0x14010c3b5
lea r8, [rbx + 0x188]
mov r9d, r15d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010d1d0
mov rax, qword [rsp + 0x28]
mov r15d, r13d
mov dword [rsp + 0x90], r13d
lea rcx, [rbx + 0x60]
cmp r14, 0x10
jb 0x14010c212
test r15d, r15d
je 0x14010c212
mov rdx, rcx
mov r9d, r15d
mov rcx, rax
lea r8, [rbx + 0x188]
call fcn.14010d1d0
mov r15d, r13d
mov dword [rsp + 0x90], r13d
cmp r14, 0xc00
jb 0x14010c2dd
mov r15, qword [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
shr rdx, 0xb
imul rax, rdx, 0xfffffffffffff400
mov qword [rsp + 0x40], rdx
add r14, rax
mov qword [rsp + 0xa8], r14
nop dword [rax]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
mov r8, rdi
mov rcx, r15
call fcn.14010d1d0
mov r15, qword [rsp + 0x38]
mov r13d, 0xc0
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rdi]
xor rax, qword [rbx + 0x10]
mov qword [rsi], rax
mov rax, qword [rdi + 8]
add rdi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r13, 1
jne 0x14010c280
sub qword [rsp + 0x40], 1
mov r15, qword [rsp + 0x28]
jne 0x14010c250
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x90]
mov r9, r14
and r9, 0xfffffffffffffff0
je 0x14010c371
mov rcx, qword [rsp + 0x28]
lea rdx, [rbx + 0x60]
mov r8, rdi
call fcn.14010d1d0
cmp r14, 0x10
jb 0x14010c371
mov r15, qword [rsp + 0x38]
mov r13, r14
shr r13, 4
imul rax, r13, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x30]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc r12d
mov eax, r12d
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rdi]
xor rax, qword [rbx + 0x10]
mov qword [rsi], rax
mov rax, qword [rdi + 8]
add rdi, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r13, 1
jne 0x14010c321
mov r14, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x20]
mov r15d, dword [rsp + 0x90]
test r14, r14
je 0x14010c3b5
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
mov edx, ebp
inc ebp
mov eax, r15d
inc r15d
movzx ecx, byte [rdx + rdi]
mov byte [rax + rbx + 0x188], cl
movzx eax, byte [rdx + rbx + 0x10]
xor al, cl
mov byte [rdx + rsi], al
sub r14, 1
jne 0x14010c390
mov r12, qword [rsp + 0x60]
xor eax, eax
mov rbp, qword [rsp + 0x98]
mov dword [rbx + 0x170], r15d
mov r13, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
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