Function at 0x14010a090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx + 0x170]
mov rdi, rcx
mov rcx, qword [rcx + 0x38]
mov r15, r9
mov rsi, qword [rsp + 0xb0]
mov r14, r8
mov qword [rsp + 0x20], rax
add rcx, rsi
movabs rax, 0xfffffffe0
mov rbx, rdx
cmp rcx, rax
ja 0x14010a383
cmp rcx, rsi
jb 0x14010a383
mov qword [rdi + 0x38], rcx
cmp dword [rdi + 0x184], 0
je 0x14010a10d
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
and dword [rdi + 0x184], 0
mov ebp, dword [rdi + 0x180]
mov dword [rsp + 0x90], ebp
test ebp, ebp
je 0x14010a161
test rsi, rsi
je 0x14010a145
mov dl, byte [r14]
dec rsi
mov ecx, ebp
inc r14
mov al, byte [rcx + rdi + 0x10]
xor al, dl
mov byte [r15], al
inc r15
xor byte [rcx + rdi + 0x40], dl
inc ebp
and ebp, 0xf
jne 0x14010a11e
mov dword [rsp + 0x90], ebp
test ebp, ebp
jne 0x14010a376
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0x40]
call fcn.14010c7ac
mov r13d, dword [rdi + 0xc]
bswap r13d
cmp rsi, 0xc00
jb 0x14010a270
movabs rax, 0xaaaaaaaaaaaaaaab
lea rcx, [rdi + 0x60]
mul rsi
lea r10, [rdi + 0x40]
mov r12, rdx
shr r12, 0xb
imul rax, r12, 0xfffffffffffff400
mov qword [rsp + 0x30], r12
add rsi, rax
mov qword [rsp + 0xb0], rsi
mov rdx, rcx
mov r9d, 0xc00
mov rcx, r10
mov r8, r14
call fcn.14010c6f4
mov qword [rsp + 0x28], SetErrorInfo
mov r8, rbx
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rsp + 0x20]
inc r13d
xor ebp, ebp
mov eax, r13d
mov rsi, r14
bswap eax
mov dword [rdi + 0xc], eax
sub rsi, r15
lea rbx, [r15 + rbp]
mov r8d, 8
lea rdx, [rsi + rbx]
lea rcx, [rsp + 0x38]
call fcn.1400df6a0
mov rax, rbp
mov r8d, 8
shr rax, 3
mov rcx, rbx
mov rdx, qword [rdi + rax*8 + 0x10]
xor rdx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x40]
call fcn.1400df6a0
add rbp, 8
cmp rbp, 0x10
jb 0x14010a1e6
mov rbx, qword [rsp + 0x98]
add r15, 0x10
add r14, 0x10
sub qword [rsp + 0x28], 1
jne 0x14010a1c5
sub qword [rsp + 0x30], 1
lea rcx, [rdi + 0x60]
lea r10, [rdi + 0x40]
jne 0x14010a1a8
mov rsi, qword [rsp + 0xb0]
mov ebp, dword [rsp + 0x90]
mov r9, rsi
and r9, 0xfffffffffffffff0
je 0x14010a339
lea rdx, [rdi + 0x60]
mov r8, r14
lea rcx, [rdi + 0x40]
call fcn.14010c6f4
cmp rsi, 0x10
jb 0x14010a339
mov r12, rsi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
mov qword [rsp + 0x30], r12
add rsi, rax
mov r8, rbx
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rsp + 0x20]
inc r13d
xor ebp, ebp
mov eax, r13d
mov r12, r14
bswap eax
mov dword [rdi + 0xc], eax
sub r12, r15
lea rbx, [r15 + rbp]
mov r8d, 8
lea rdx, [r12 + rbx]
lea rcx, [rsp + 0x40]
call fcn.1400df6a0
mov rax, rbp
mov r8d, 8
shr rax, 3
mov rcx, rbx
mov rdx, qword [rdi + rax*8 + 0x10]
xor rdx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x38]
call fcn.1400df6a0
add rbp, 8
cmp rbp, 0x10
jb 0x14010a2cb
mov rbx, qword [rsp + 0x98]
add r15, 0x10
add r14, 0x10
sub qword [rsp + 0x30], 1
jne 0x14010a2aa
mov ebp, dword [rsp + 0x90]
test rsi, rsi
je 0x14010a376
mov r8, qword [rsp + 0x98]
lea rdx, [rdi + 0x10]
mov rcx, rdi
call qword [rsp + 0x20]
lea eax, [r13 + 1]
bswap eax
mov dword [rdi + 0xc], eax
mov edx, ebp
inc ebp
mov cl, byte [rdx + r14]
mov al, byte [rdi + rdx + 0x10]
xor byte [rdx + rdi + 0x40], cl
xor al, cl
mov byte [rdx + r15], al
sub rsi, 1
jne 0x14010a35a
mov dword [rdi + 0x180], ebp
mov eax, 1
jmp 0x14010a385
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret