Function at 0x14010ca60
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 r15, r8
mov r12, rdx
cmp rcx, rax
ja 0x14010cd4e
cmp rcx, r9
jb 0x14010cd4e
mov qword [rsp + 0x98], rbp
xor eax, eax
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x60], rdi
lea rdi, [rbx + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], ebp
cmp dword [rbx + 0x174], eax
je 0x14010cb1a
test r9, r9
jne 0x14010caf5
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.14010d330
xor eax, eax
mov dword [rbx + 0x174], esi
jmp 0x14010cd36
movups xmm0, xmmword [rdi]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0x90], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [rdi], rax
mov qword [rbx + 0x48], rax
mov dword [rbx + 0x174], eax
jmp 0x14010cb1f
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], r13
mov r13d, dword [rbx + 0xc]
mov qword [rsp + 0x50], r14
mov r14d, ebp
and r14d, 0xf
mov dword [rsp + 0x30], r14d
bswap r13d
je 0x14010cb9f
nop
test rsi, rsi
je 0x14010cb76
movzx ecx, byte [r14 + rbx + 0x10]
dec rsi
xor cl, byte [r12]
inc r12
mov byte [r15], cl
inc r15
mov eax, ebp
inc ebp
inc r14d
and r14d, 0xf
mov dword [rsp + 0x30], r14d
mov byte [rax + rbx + 0x188], cl
jne 0x14010cb40
jmp 0x14010cb7f
test r14d, r14d
jne 0x14010cd24
lea r8, [rbx + 0x188]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.14010d1d0
xor ebp, ebp
mov dword [rsp + 0x90], ebp
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x14010cbcb
test ebp, ebp
je 0x14010cbcb
mov r9d, ebp
lea r8, [rbx + 0x188]
mov rdx, rax
mov rcx, rdi
call fcn.14010d1d0
xor ebp, ebp
mov dword [rsp + 0x90], ebp
mov r10, qword [rsp + 0xb0]
cmp rsi, 0xc00
jb 0x14010cc73
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov r14, rdx
shr r14, 0xb
imul rax, r14, 0xfffffffffffff400
add rsi, rax
nop dword [rax]
nop word [rax + rax]
mov r9, rbp
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r15
mov rcx, r12
call r10
add r13d, 0xc0
lea rdx, [rbx + 0x60]
mov eax, r13d
mov r9d, 0xc00
bswap eax
mov r8, r15
mov dword [rbx + 0xc], eax
mov rcx, rdi
call fcn.14010d1d0
mov r10, qword [rsp + 0xb0]
add r15, 0xc00
add r12, 0xc00
sub r14, 1
jne 0x14010cc10
mov ebp, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xa8], rax
je 0x14010ccd1
mov r9, qword [rsp + 0x38]
mov rdi, rax
shr rdi, 4
mov rdx, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r12
call r10
mov rcx, qword [rsp + 0x40]
lea rdx, [rbx + 0x60]
add r13d, edi
mov r8, r15
mov rdi, qword [rsp + 0xa8]
mov eax, r13d
bswap eax
mov r9, rdi
mov dword [rbx + 0xc], eax
add r12, rdi
sub rsi, rdi
call fcn.14010d1d0
add r15, rdi
test rsi, rsi
je 0x14010cd24
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 eax, r14d
inc r14d
movzx ecx, byte [rax + r12]
xor cl, byte [rax + rbx + 0x10]
mov byte [rax + r15], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x188], cl
sub rsi, 1
jne 0x14010cd00
mov r13, qword [rsp + 0x58]
xor eax, eax
mov r14, qword [rsp + 0x50]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x60]
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