Function at 0x1401cb2f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x78]
mov eax, 0x178
call fcn.140280460
sub rsp, rax
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xe0]
mov r13, r8
mov r14, qword [rbp + 0xf8]
xor r8d, r8d
shr r13, 3
mov rbx, rdx
mov rdx, qword [rbp + 0xd0]
mov rsi, r9
mov qword [rbp - 0x38], rax
mov r12d, r8d
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x40], rax
lea eax, [r13 - 0x14]
mov qword [rbp - 0x50], rcx
mov rcx, qword [rbp + 0xe8]
mov qword [rbp - 0x70], r9
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x40], r8d
mov qword [rbp - 0x60], 2
test eax, 0xfffffff3
jne 0x1401cbafd
cmp r13d, 0x18
je 0x1401cbafd
mov qword [rsp + 0x168], r15
test r9, r9
jne 0x1401cb3ba
call fcn.1401847a0
mov rdx, qword [rsp + 0x78]
mov rsi, rax
mov qword [rbp - 0x70], rax
xor r8d, r8d
mov rcx, qword [rbp + 0xd8]
mov eax, 0x200
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x1401cb3ed
movsxd rax, r13d
cmp rcx, rax
cmovb rdx, r8
mov qword [rsp + 0x78], rdx
movsxd r15, r13d
cmp rcx, r15
cmova rcx, r15
mov qword [rbp + 0xd8], rcx
test rdx, rdx
je 0x1401cb40f
mov r8, rcx
lea rcx, [rbp + 0x10]
call fcn.140282ac0
call fcn.1401e2350
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401cb6b0
mov qword [rsp + 0x170], rdi
call fcn.1401d2270
mov qword [rsp + 0x38], rax
mov rdi, rax
test rax, rax
je 0x1401cb69e
mov rcx, rax
call fcn.1401d22f0
mov rcx, rdi
call fcn.1401d21e0
mov r12, qword [rsp + 0x38]
mov rdi, rax
mov rcx, r12
call fcn.1401d21e0
mov rcx, r12
mov qword [rsp + 0x68], rax
call fcn.1401d21e0
mov rcx, r12
mov qword [rbp - 0x78], rax
call fcn.1401d21e0
mov rcx, r12
mov qword [rsp + 0x48], rax
call fcn.1401d21e0
mov rcx, r12
mov qword [rsp + 0x50], rax
call fcn.1401d21e0
mov rcx, r12
mov qword [rbp - 0x58], rax
call fcn.1401d21e0
mov rcx, r12
mov qword [rsp + 0x60], rax
call fcn.1401d21e0
mov qword [rbp - 0x68], rax
mov rbx, rax
test rax, rax
je 0x1401cb685
call fcn.140185eb0
mov r8, qword [rbp - 0x80]
mov rdx, rax
dec r8d
mov rcx, rbx
call fcn.140186660
test eax, eax
je 0x1401cb685
nop dword [rax + rax]
mov ebx, dword [rsp + 0x40]
xor edx, edx
mov r8d, ebx
mov rcx, r14
call fcn.1401de3b0
inc ebx
mov dword [rsp + 0x40], ebx
test eax, eax
je 0x1401cb685
cmp qword [rbp + 0xd8], 0
je 0x1401cb51e
cmp qword [rsp + 0x78], 0
je 0x1401cb51e
xor eax, eax
mov ebx, eax
mov qword [rbp + 0xd8], rax
jmp 0x1401cb537
mov edx, r13d
lea rcx, [rbp + 0x10]
call fcn.14017f230
test eax, eax
jle 0x1401cb685
mov ebx, 1
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140282ac0
mov r8, r15
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.140282ac0
lea rax, [r15 - 1]
test rax, rax
js 0x1401cb56d
add byte [rbp + rax - 0x10], 1
jne 0x1401cb56d
sub rax, 1
jns 0x1401cb560
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.1401b0a10
test eax, eax
je 0x1401cb685
mov qword [rsp + 0x28], 0
lea r8, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.1401b0a10
test eax, eax
je 0x1401cb685
xor eax, eax
mov ecx, eax
test r13d, r13d
jle 0x1401cb625
cmp r13d, 0x20
jb 0x1401cb625
mov edx, r13d
and edx, 0x8000001f
jge 0x1401cb5e0
dec edx
or edx, 0xffffffe0
inc edx
mov eax, r13d
sub eax, edx
movsxd rdx, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx - 0x30]
movdqu xmm1, xmmword [rbp + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x30], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x20]
movdqu xmm1, xmmword [rbp + rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x20], xmm1
add rcx, 0x20
cmp rcx, rdx
jl 0x1401cb5f0
cmp rcx, r15
jge 0x1401cb641
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x30]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, r15
jl 0x1401cb630
or byte [rbp - 0x30], 0x80
lea rcx, [rbp - 0x30]
mov r8, qword [rsp + 0x48]
mov edx, r13d
or byte [rbp + r15 - 0x31], 1
call fcn.1401852a0
test rax, rax
je 0x1401cb685
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r12
mov qword [rsp + 0x20], r14
mov edx, 0x32
call fcn.1401de710
test eax, eax
jg 0x1401cb6c0
je 0x1401cb4e0
mov r12d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1401d2120
mov rcx, qword [rsp + 0x38]
call fcn.1401d21a0
mov rcx, qword [rsp + 0x70]
call fcn.1401e2300
mov rdi, qword [rsp + 0x170]
mov r15, qword [rsp + 0x168]
mov eax, r12d
jmp 0x1401cbaff
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 2]
call fcn.1401de3b0
test eax, eax
je 0x1401cb685
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 3]
call fcn.1401de3b0
test eax, eax
je 0x1401cb685
mov rcx, qword [rbp - 0x80]
lea rsi, [r15 - 1]
mov rbx, qword [rbp - 0x78]
dec rcx
movabs rax, 0xcccccccccccccccd
xor r12d, r12d
mul rcx
mov r14, rdx
shr r14, 7
nop dword [rax]
test r12d, r12d
je 0x1401cb72c
mov rcx, qword [rsp + 0x58]
mov r8d, r12d
xor edx, edx
call fcn.1401de3b0
test eax, eax
je 0x1401cb685
xor edx, edx
mov rcx, rbx
call fcn.140185dd0
xor ecx, ecx
mov ebx, ecx
test r14d, r14d
js 0x1401cb7e4
mov rax, rsi
test rsi, rsi
js 0x1401cb75d
nop dword [rax + rax]
add byte [rbp + rax - 0x10], 1
jne 0x1401cb75d
sub rax, 1
jns 0x1401cb750
mov rax, qword [rbp - 0x70]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.1401b0a10
test eax, eax
je 0x1401cb685
mov r8, rdi
lea rcx, [rbp - 0x30]
mov edx, r13d
call fcn.1401852a0
test rax, rax
je 0x1401cb685
lea r8d, [r13*8]
mov rdx, rdi
imul r8d, ebx
mov rcx, rdi
call fcn.140186660
test eax, eax
je 0x1401cb685
mov rdx, qword [rbp - 0x78]
mov r8, rdi
mov rcx, rdx
call fcn.1401c5aa0
test eax, eax
je 0x1401cb685
inc ebx
mov ecx, 0
cmp ebx, r14d
jle 0x1401cb743
mov rdx, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
dec edx
mov rcx, rbx
call fcn.140185ad0
test eax, eax
je 0x1401cb685
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1401858d0
test rax, rax
je 0x1401cb685
mov rdx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x68]
mov rcx, rdx
call fcn.1401c5aa0
test eax, eax
je 0x1401cb685
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140186820
test eax, eax
je 0x1401cb685
mov rax, qword [rsp + 0x38]
mov r9, rdi
mov r8, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.1401df070
test eax, eax
je 0x1401cb685
call fcn.140185eb0
mov rdx, qword [rbp - 0x58]
mov r8, rax
mov rcx, rdi
call fcn.1401c5b50
test eax, eax
je 0x1401cb685
mov rdx, qword [rsp + 0x50]
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1401c5b50
test eax, eax
je 0x1401cb685
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1401854f0
test eax, eax
js 0x1401cb8dc
mov rax, qword [rsp + 0x58]
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x31]
call fcn.1401de710
test eax, eax
jg 0x1401cb8ff
jne 0x1401cb685
inc r12d
cmp r12d, 0x1000
jl 0x1401cb710
mov rsi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x38]
jmp 0x1401cb4e0
mov rbx, qword [rsp + 0x58]
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.1401de3b0
test eax, eax
je 0x1401cb685
call fcn.140185eb0
mov r13, qword [rsp + 0x60]
mov r8, rax
mov r14, qword [rbp - 0x68]
mov rdx, r13
mov rcx, r14
call fcn.1401c5b50
test eax, eax
je 0x1401cb685
mov rsi, qword [rsp + 0x38]
mov r8, r14
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.1401df070
test eax, eax
je 0x1401cb685
mov edx, 2
mov rcx, r14
call fcn.140185dd0
test eax, eax
je 0x1401cb685
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov rdx, r13
call fcn.1401e23d0
test eax, eax
je 0x1401cb685
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r14
mov qword [rsp + 0x20], rsi
call fcn.1401d2620
test eax, eax
je 0x1401cb685
nop dword [rax]
mov rcx, qword [rsp + 0x68]
cmp dword [rcx + 8], 1
jne 0x1401cba23
mov rax, qword [rcx]
cmp qword [rax], 1
jne 0x1401cba23
cmp dword [rcx + 0x10], 0
jne 0x1401cba23
call fcn.140185eb0
mov r8, rax
mov rdx, r14
mov rcx, r14
call fcn.1401c5aa0
test eax, eax
je 0x1401cb685
mov rax, qword [rsp + 0x70]
mov r9, r13
mov rcx, qword [rsp + 0x68]
mov r8, rdi
inc dword [rbp - 0x60]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.1401d2620
test eax, eax
jne 0x1401cb9c0
jmp 0x1401cb685
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1401de3b0
test eax, eax
je 0x1401cb685
mov dword [rsp + 0x30], 1
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rbp - 0x50]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401cba62
call fcn.140185a20
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401cba70
call fcn.140185a20
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1401cba7e
call fcn.140185a20
mov rcx, r13
call fcn.1401859b0
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
call fcn.1401859b0
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x18], rax
call fcn.1401859b0
cmp qword [rbx + 0x10], 0
mov qword [rbx + 0x20], rax
je 0x1401cbaf5
cmp qword [rbx + 0x18], 0
je 0x1401cbaf5
test rax, rax
je 0x1401cbaf5
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x1401cbac5
mov dword [rax], r12d
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x1401cbad4
mov rax, qword [rbp - 0x60]
mov dword [rdx], eax
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x1401cb685
mov r8, r15
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.140282ac0
jmp 0x1401cb685
xor r12d, r12d
jmp 0x1401cb68a
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x178
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret