Function at 0x14006e110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x80
cmp byte [rcx + 8], 0
mov r11, r8
mov r9, rdx
mov rbx, rcx
je 0x14006dd47
mov eax, dword [rcx + 0x3d0]
cmp eax, 0x10
jne 0x14006da08
add rsp, 0x80
pop rbx
jmp 0x14006e110
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x78], rsi
cdq
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
and edx, 3
add eax, edx
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
sar eax, 2
mov qword [rsp + 0x50], r15
movsxd rsi, eax
xor eax, eax
cmp esi, 4
je 0x14006da49
cmp esi, 6
setne al
inc eax
lea rcx, [0x140000000]
cdqe
lea r15, [rbx + 0x458]
shl rax, 5
mov rdx, r15
mov rbp, rsi
mov r14d, dword [rax + rcx + 0x8dd9c]
mov edi, dword [rax + rcx + 0x8dda4]
mov r13d, dword [rax + rcx + 0x8ddac]
mov dword [rsp + 0x24], r14d
mov dword [rsp + 0xa8], edi
mov dword [rsp + 0x20], r13d
test esi, esi
jle 0x14006dae2
lea r8, [rbx + 0x1ec]
mov r10, rsi
nop dword [rax]
movzx eax, byte [r9]
mov rcx, rdx
add rdx, 4
shl eax, 0x18
lea r9, [r9 + 4]
lea r8, [r8 + 4]
mov dword [rdx - 4], eax
movzx eax, byte [r9 - 3]
shl eax, 0x10
or dword [rdx - 4], eax
movzx eax, byte [r9 - 2]
shl eax, 8
or dword [rdx - 4], eax
movzx eax, byte [r9 - 1]
or dword [rdx - 4], eax
mov eax, dword [r8 - 4]
xor dword [rcx], eax
dec r10
jne 0x14006daa0
mov r12d, 1
mov dword [rsp + 0x90], r12d
cmp dword [rbx + 0x3d4], r12d
jle 0x14006dc3c
lea eax, [rsi*4]
lea rcx, [rbx + 0x438]
mov edi, 0x22c
cdqe
lea r13, [rbx + 0x20c]
mov qword [rsp + 0x28], rax
nop
test rbp, rbp
jle 0x14006dbee
mov r10d, dword [rsp + 0xa8]
mov r11d, dword [rsp + 0x20]
mov ebp, r14d
sub r10d, r14d
sub r11d, r14d
mov r15, r13
mov r14, rsi
lea r12, [0x140000000]
nop dword [rax]
lea eax, [r10 + rbp]
lea r15, [r15 + 4]
cdq
idiv esi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
lea eax, [r11 + rbp]
cdq
sar rcx, 8
movzx r8d, cl
idiv esi
mov r9d, dword [r12 + r8*4 + 0x8f210]
movsxd rax, edx
movzx ecx, byte [rbx + rax*4 + 0x458]
mov eax, ebp
inc ebp
xor r9d, dword [r12 + rcx*4 + 0x8ee10]
cdq
idiv esi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [r12 + rax*4 + 0x8f610]
movzx eax, byte [r15 + rdi + 0x1f]
xor r9d, dword [r12 + rax*4 + 0x8fa10]
xor r9d, dword [r15 - 4]
mov dword [r15 + rdi - 4], r9d
dec r14
jne 0x14006db50
mov r14d, dword [rsp + 0x24]
mov r12d, dword [rsp + 0x90]
mov rax, qword [rsp + 0x28]
mov rbp, rsi
lea r15, [rbx + 0x458]
lea rcx, [rbx + 0x438]
mov rdx, rcx
mov r8, rax
mov rcx, r15
call fcn.1400430e0
mov rax, qword [rsp + 0x28]
inc r12d
add r13, 0x20
sub rdi, 0x20
mov dword [rsp + 0x90], r12d
lea rcx, [rbx + 0x438]
cmp r12d, dword [rbx + 0x3d4]
jl 0x14006db20
mov r11, qword [rsp + 0xa0]
mov edi, dword [rsp + 0xa8]
mov r13d, dword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
test rbp, rbp
jle 0x14006dd1d
sub r14d, edi
sub r13d, edi
lea r10, [0x140000000]
xor r9d, r9d
nop word [rax + rax]
movsxd rax, dword [rbx + 0x3d4]
lea r11, [r11 + 4]
lea r15, [r15 + 4]
lea rcx, [r9 + rax*8]
movzx eax, byte [r15 - 1]
inc r9
movzx eax, byte [rax + r10 + 0x90e10]
mov r8d, dword [rbx + rcx*4 + 0x1ec]
mov ecx, r8d
sar ecx, 0x18
xor al, cl
mov byte [r11 - 4], al
lea eax, [r14 + rdi]
cdq
idiv esi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 0x10
movzx eax, cl
mov ecx, r8d
movzx eax, byte [rax + r10 + 0x90e10]
sar ecx, 0x10
xor al, cl
mov byte [r11 - 3], al
mov eax, edi
cdq
idiv esi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 8
movzx eax, cl
mov ecx, r8d
movzx eax, byte [rax + r10 + 0x90e10]
sar ecx, 8
xor al, cl
mov byte [r11 - 2], al
lea eax, [rdi + r13]
inc edi
cdq
idiv esi
movsxd rax, edx
movzx ecx, byte [rbx + rax*4 + 0x458]
movzx eax, byte [rcx + r10 + 0x90e10]
xor al, r8b
mov byte [r11 - 1], al
cmp r9, rbp
jl 0x14006dc60
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x98]
mov r15, qword [rsp + 0x50]
add rsp, 0x80
pop rbx
ret
lea rdx, str._b:_t_
lea rcx, [rsp + 0x30]
call fcn.140043704
lea rdx, [0x14009ae68]
lea rcx, [rsp + 0x30]
call fcn.140049078
int3
mov rax, rsp
push rbx
push r12
sub rsp, 0x58
cmp byte [rcx + 8], 0
mov r12, r8
mov rbx, rcx
je 0x14006e56a
movzx r9d, byte [rdx]
mov qword [rax + 8], rbp
movzx ebp, byte [rdx + 8]
mov qword [rax + 0x10], rsi
movzx esi, byte [rdx + 4]
mov qword [rax + 0x18], rdi
mov qword [rax - 0x18], r13
movsxd r13, dword [rbx + 0x3d4]
mov qword [rax - 0x20], r14
movzx r14d, byte [rdx + 0xe]
mov qword [rax - 0x28], r15
movzx eax, byte [rdx + 1]
shl eax, 0x10
shl r9d, 0x18
shl esi, 0x18
or r9d, eax
movzx eax, byte [rdx + 2]
shl ebp, 0x18
shl eax, 8
shl r14d, 8
lea r15, [0x140000000]
or r9d, eax
movzx eax, byte [rdx + 3]
or r9d, eax
movzx eax, byte [rdx + 5]
xor r9d, dword [rcx + 0x1ec]
shl eax, 0x10
or esi, eax
movzx eax, byte [rdx + 6]
shl eax, 8
or esi, eax
movzx eax, byte [rdx + 7]
or esi, eax
movzx eax, byte [rdx + 9]
xor esi, dword [rcx + 0x1f0]
shl eax, 0x10
or ebp, eax
movzx eax, byte [rdx + 0xa]
shl eax, 8
or ebp, eax
movzx eax, byte [rdx + 0xb]
or ebp, eax
movzx eax, byte [rdx + 0xd]
xor ebp, dword [rcx + 0x1f4]
movzx ecx, byte [rdx + 0xc]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [rdx + 0xf]
or r14d, eax
or r14d, ecx
xor r14d, dword [rbx + 0x1f8]
cmp r13, 1
jle 0x14006e347
lea r15, [r13 - 1]
lea rdi, [rbx + 0x214]
lea r13, [0x140000000]
nop word [rax + rax]
movsxd r9, r9d
movsxd r11, esi
movsxd r10, r14d
movsxd r8, ebp
mov rax, r9
lea rdi, [rdi + 0x20]
sar rax, 0x10
movzx edx, al
mov rax, r11
mov esi, dword [r13 + rdx*4 + 0x8f610]
sar rax, 0x18
movzx ecx, al
mov rax, r10
xor esi, dword [r13 + rcx*4 + 0x8fa10]
sar rax, 8
movzx ecx, al
movzx eax, r8b
xor esi, dword [r13 + rcx*4 + 0x8f210]
xor esi, dword [r13 + rax*4 + 0x8ee10]
mov rax, r8
xor esi, dword [rdi - 0x24]
sar rax, 0x18
movzx edx, al
mov rax, r9
mov ebp, dword [r13 + rdx*4 + 0x8fa10]
sar rax, 8
movzx ecx, al
mov rax, r11
xor ebp, dword [r13 + rcx*4 + 0x8f210]
sar rax, 0x10
movzx ecx, al
movzx eax, r10b
xor ebp, dword [r13 + rcx*4 + 0x8f610]
xor ebp, dword [r13 + rax*4 + 0x8ee10]
mov rax, r8
sar r8, 8
xor ebp, dword [rdi - 0x20]
sar rax, 0x10
movzx edx, al
mov rax, r11
mov r14d, dword [r13 + rdx*4 + 0x8f610]
sar rax, 8
movzx ecx, al
mov rax, r10
sar r10, 0x10
xor r14d, dword [r13 + rcx*4 + 0x8f210]
sar rax, 0x18
movzx ecx, al
movzx eax, r9b
sar r9, 0x18
xor r14d, dword [r13 + rcx*4 + 0x8fa10]
movzx ecx, r8b
xor r14d, dword [r13 + rax*4 + 0x8ee10]
movzx eax, r9b
mov r9d, dword [r13 + rcx*4 + 0x8f210]
xor r9d, dword [r13 + rax*4 + 0x8fa10]
xor r14d, dword [rdi - 0x1c]
movzx eax, r10b
xor r9d, dword [r13 + rax*4 + 0x8f610]
movzx eax, r11b
xor r9d, dword [r13 + rax*4 + 0x8ee10]
xor r9d, dword [rdi - 0x28]
dec r15
jne 0x14006e210
mov r13d, dword [rbx + 0x3d4]
lea r15, [0x140000000]
movsxd rdi, r9d
movsxd r10, ebp
movsxd r11, r14d
movsxd rax, r13d
movsxd r9, esi
shl rax, 5
add rbx, rax
mov rax, rdi
mov r8d, dword [rbx + 0x1ec]
sar rax, 0x18
movzx edx, al
mov ecx, r8d
movzx eax, byte [rdx + r15 + 0x90e10]
sar ecx, 0x18
xor al, cl
mov ecx, r8d
mov byte [r12], al
sar ecx, 0x10
mov rax, r11
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov ecx, r8d
mov byte [r12 + 1], al
sar ecx, 8
mov rax, r10
sar rax, 8
movzx edx, al
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov byte [r12 + 2], al
movzx eax, r9b
movzx eax, byte [rax + r15 + 0x90e10]
xor al, r8b
mov byte [r12 + 3], al
mov r8d, dword [rbx + 0x1f0]
mov rax, r9
sar rax, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 0x18
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov ecx, r8d
mov byte [r12 + 4], al
sar ecx, 0x10
mov rax, rdi
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov ecx, r8d
mov byte [r12 + 5], al
sar ecx, 8
mov rax, r11
sar rax, 8
movzx edx, al
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov byte [r12 + 6], al
movzx eax, r10b
movzx eax, byte [rax + r15 + 0x90e10]
xor al, r8b
mov byte [r12 + 7], al
mov r8d, dword [rbx + 0x1f4]
mov rax, r10
sar rax, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 0x18
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov ecx, r8d
mov byte [r12 + 8], al
mov rax, r9
sar ecx, 0x10
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov byte [r12 + 9], al
mov rax, rdi
sar rax, 8
mov ecx, r8d
sar r10, 0x10
movzx edx, al
sar ecx, 8
sar r9, 8
movzx eax, byte [rdx + r15 + 0x90e10]
xor al, cl
mov byte [r12 + 0xa], al
movzx eax, r11b
sar r11, 0x18
movzx eax, byte [rax + r15 + 0x90e10]
xor al, r8b
mov byte [r12 + 0xb], al
mov edx, dword [rbx + 0x1f8]
movzx eax, r11b
movzx eax, byte [rax + r15 + 0x90e10]
mov ecx, edx
sar ecx, 0x18
xor al, cl
mov ecx, edx
mov byte [r12 + 0xc], al
sar ecx, 0x10
movzx eax, r10b
movzx eax, byte [rax + r15 + 0x90e10]
xor al, cl
mov ecx, edx
mov byte [r12 + 0xd], al
movzx eax, r9b
sar ecx, 8
movzx eax, byte [rax + r15 + 0x90e10]
xor al, cl
mov byte [r12 + 0xe], al
movzx eax, dil
mov rdi, qword [rsp + 0x80]
movzx eax, byte [rax + r15 + 0x90e10]
mov r15, qword [rsp + 0x40]
xor al, dl
mov byte [r12 + 0xf], al
add rsp, 0x58
pop r12
pop rbx
ret
lea rdx, str._b:_t_
lea rcx, [rsp + 0x20]
call fcn.140043704
lea rdx, [0x14009ae68]
lea rcx, [rsp + 0x20]
call fcn.140049078
int3