Function at 0x14015c0b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
mov eax, 0x160
call fcn.1401bc6a0
sub rsp, rax
mov rax, qword [0x1402b1ed0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xd0]
xor r12d, r12d
mov rdi, qword [rbp + 0xc0]
mov r15, r8
mov r14, qword [rbp + 0xe8]
mov rsi, r9
shr r15, 3
mov rbx, rdx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0xe0]
mov qword [rbp - 0x48], rax
lea eax, [r15 - 0x14]
mov qword [rbp - 0x58], rcx
mov rcx, qword [rbp + 0xd8]
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x38], r12d
mov qword [rbp - 0x68], 2
test eax, 0xfffffff3
jne 0x14015c1e5
cmp r15d, 0x18
je 0x14015c1e5
test r9, r9
jne 0x14015c196
cmp r15d, 0x14
jne 0x14015c172
call fcn.1400b6de0
mov rsi, rax
mov qword [rsp + 0x40], rax
jmp 0x14015c1a1
cmp r15d, 0x1c
jne 0x14015c187
call fcn.1400b6df0
mov rsi, rax
mov qword [rsp + 0x40], rax
jmp 0x14015c1a1
call fcn.1400b6e00
mov rsi, rax
mov qword [rsp + 0x40], rax
jmp 0x14015c1a1
mov rcx, r9
call fcn.1400d2680
mov r15d, eax
mov eax, 0x200
cmp rbx, rax
cmovb rbx, rax
lea rax, [rbx + 0x3f]
and rax, 0xffffffffffffffc0
mov qword [rbp - 0x80], rax
test rdi, rdi
je 0x14015c215
mov r8, qword [rbp + 0xc8]
movsxd rax, r15d
cmp r8, rax
jae 0x14015c205
xor r9d, r9d
mov dword [rsp + 0x20], r12d
lea edx, [r9 + 0x7d]
lea ecx, [rdx - 0x73]
lea r8d, [r9 + 0x6e]
call fcn.1400bf880
xor eax, eax
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1401bc130
add rsp, 0x160
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmova r8, rax
lea rcx, [rbp + 8]
mov rdx, rdi
call fcn.1401bcf90
call fcn.1400fc2d0
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14015c8bd
call fcn.1400c2b70
mov qword [rsp + 0x30], rax
mov r12, rax
test rax, rax
je 0x14015c7ce
mov rcx, rax
call fcn.1400c2c40
mov rcx, r12
call fcn.1400c2ae0
mov rcx, r12
mov rdi, rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rsp + 0x68], rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rbp - 0x78], rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rsp + 0x48], rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rsp + 0x50], rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rbp - 0x60], rax
call fcn.1400c2ae0
mov rcx, r12
mov qword [rsp + 0x60], rax
call fcn.1400c2ae0
mov qword [rbp - 0x70], rax
mov rbx, rax
test rax, rax
je 0x14015c7ce
mov qword [rsp + 0x158], r13
movsxd r13, r15d
call fcn.1400c2350
mov r8, qword [rbp - 0x80]
mov rdx, rax
dec r8d
mov rcx, rbx
call fcn.140101a50
test eax, eax
je 0x14015c7c6
nop
mov r8d, dword [rsp + 0x38]
xor ebx, ebx
cmp qword [rsp + 0x78], rbx
mov rcx, r14
sete bl
xor edx, edx
call fcn.140113460
inc dword [rsp + 0x38]
test eax, eax
je 0x14015c7c6
cmp qword [rsp + 0x78], 0
jne 0x14015c323
mov edx, r15d
lea rcx, [rbp + 8]
call fcn.1400cbd40
test eax, eax
jle 0x14015c7c6
jmp 0x14015c32c
mov qword [rsp + 0x78], 0
mov r8, r13
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.1401bcf90
mov r8, r13
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x28]
call fcn.1401bcf90
lea rax, [r13 - 1]
test rax, rax
js 0x14015c362
add byte [rbp + rax - 0x18], 1
jne 0x14015c362
sub rax, 1
jns 0x14015c355
mov qword [rsp + 0x28], 0
lea r8, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r13
lea rcx, [rbp + 8]
call fcn.1400c9930
test eax, eax
je 0x14015c7c6
mov qword [rsp + 0x28], 0
lea r8, [rbp + 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, r13
lea rcx, [rbp - 0x18]
call fcn.1400c9930
test eax, eax
je 0x14015c7c6
xor ecx, ecx
test r15d, r15d
jle 0x14015c415
cmp r15d, 0x20
jb 0x14015c415
mov edx, r15d
and edx, 0x8000001f
jge 0x14015c3d3
dec edx
or edx, 0xffffffe0
inc edx
mov eax, r15d
sub eax, edx
movsxd rdx, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx - 0x38]
movdqu xmm1, xmmword [rbp + rcx + 0x28]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x38], xmm1
movdqu xmm0, xmmword [rbp + rcx - 0x28]
movdqu xmm1, xmmword [rbp + rcx + 0x38]
pxor xmm1, xmm0
movdqu xmmword [rbp + rcx - 0x28], xmm1
add rcx, 0x20
cmp rcx, rdx
jl 0x14015c3e0
cmp rcx, r13
jge 0x14015c431
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x28]
xor byte [rbp + rcx - 0x38], al
inc rcx
cmp rcx, r13
jl 0x14015c420
or byte [rbp - 0x38], 0x80
lea rcx, [rbp - 0x38]
mov r8, qword [rsp + 0x48]
mov edx, r15d
or byte [rbp + r13 - 0x39], 1
call fcn.1400c1450
test rax, rax
je 0x14015c7c6
mov rcx, qword [rsp + 0x48]
mov r9d, ebx
mov r8, r12
mov qword [rsp + 0x20], r14
mov edx, 0x40
call fcn.1401137d0
test eax, eax
jg 0x14015c47e
je 0x14015c2e0
jmp 0x14015c7c6
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 2]
call fcn.140113460
test eax, eax
je 0x14015c7c6
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 3]
call fcn.140113460
test eax, eax
je 0x14015c7c6
mov rcx, qword [rbp - 0x80]
lea rsi, [r13 - 1]
mov rbx, qword [rbp - 0x78]
dec rcx
movabs rax, 0xcccccccccccccccd
xor r12d, r12d
mul rcx
mov r14, rdx
shr r14, 7
test r12d, r12d
je 0x14015c4ee
mov rcx, qword [rsp + 0x58]
mov r8d, r12d
xor edx, edx
call fcn.140113460
test eax, eax
je 0x14015c8b3
xor edx, edx
mov rcx, rbx
call fcn.1400c2260
xor ebx, ebx
test r14d, r14d
js 0x14015c5a4
mov rax, rsi
test rsi, rsi
js 0x14015c51d
nop dword [rax + rax]
add byte [rbp + rax - 0x18], 1
jne 0x14015c51d
sub rax, 1
jns 0x14015c510
mov rax, qword [rsp + 0x40]
lea r8, [rbp - 0x38]
mov qword [rsp + 0x28], 0
lea rcx, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rdx, r13
call fcn.1400c9930
test eax, eax
je 0x14015c8b3
mov r8, rdi
lea rcx, [rbp - 0x38]
mov edx, r15d
call fcn.1400c1450
test rax, rax
je 0x14015c8b3
lea r8d, [r15*8]
mov rdx, rdi
imul r8d, ebx
mov rcx, rdi
call fcn.140101a50
test eax, eax
je 0x14015c8b3
mov rdx, qword [rbp - 0x78]
mov r8, rdi
mov rcx, rdx
call fcn.1400c4f00
test eax, eax
je 0x14015c8b3
inc ebx
cmp ebx, r14d
jle 0x14015c503
mov rdx, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
dec edx
mov rcx, rbx
call fcn.1400c1eb0
test eax, eax
je 0x14015c8b3
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1400c1a80
test rax, rax
je 0x14015c8b3
mov rdx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x70]
mov rcx, rdx
call fcn.1400c4f00
test eax, eax
je 0x14015c8b3
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.140101ab0
test eax, eax
je 0x14015c8b3
mov rax, qword [rsp + 0x30]
mov r9, rdi
mov r8, qword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400c7e40
test eax, eax
je 0x14015c8b3
call fcn.1400c2350
mov rdx, qword [rbp - 0x60]
mov r8, rax
mov rcx, rdi
call fcn.1400c4fa0
test eax, eax
je 0x14015c8b3
mov rdx, qword [rsp + 0x50]
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400c4fa0
test eax, eax
je 0x14015c8b3
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.1400c1800
test eax, eax
js 0x14015c69c
mov rax, qword [rsp + 0x58]
mov r9d, 1
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x3f]
call fcn.1401137d0
test eax, eax
jg 0x14015c6c0
jne 0x14015c8b3
inc r12d
cmp r12d, 0x1000
jl 0x14015c4d2
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x30]
jmp 0x14015c2e0
mov rbx, qword [rsp + 0x58]
mov edx, 2
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.140113460
test eax, eax
je 0x14015c8b3
call fcn.1400c2350
mov r14, qword [rsp + 0x60]
mov r8, rax
mov r15, qword [rbp - 0x70]
mov rdx, r14
mov rcx, r15
call fcn.1400c4fa0
test eax, eax
je 0x14015c8b3
mov rsi, qword [rsp + 0x30]
mov r8, r15
mov r9, qword [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call fcn.1400c7e40
test eax, eax
je 0x14015c7c3
mov edx, 2
mov rcx, r15
call fcn.1400c2260
test eax, eax
je 0x14015c7c3
mov rcx, qword [rsp + 0x70]
mov r8, rsi
mov rdx, r14
call fcn.1400fc360
test eax, eax
je 0x14015c7c3
mov rax, qword [rsp + 0x70]
mov r9, r14
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r15
mov qword [rsp + 0x20], rsi
call fcn.140124da0
test eax, eax
je 0x14015c7c3
mov rcx, qword [rsp + 0x68]
call fcn.1400c1ce0
test eax, eax
je 0x14015c7f1
call fcn.1400c2350
mov r8, rax
mov rdx, r15
mov rcx, r15
call fcn.1400c4f00
test eax, eax
je 0x14015c7c3
mov rax, qword [rsp + 0x70]
mov r9, r14
mov rcx, qword [rsp + 0x68]
mov r8, rdi
inc dword [rbp - 0x68]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.140124da0
test eax, eax
jne 0x14015c775
mov r12, rsi
mov r13, qword [rsp + 0x158]
mov rcx, r12
call fcn.1400c2a00
mov rcx, r12
call fcn.1400c2a80
mov rcx, qword [rsp + 0x70]
call fcn.1400fc270
mov eax, dword [rsp + 0x3c]
jmp 0x14015c1e7
mov edx, 3
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.140113460
test eax, eax
je 0x14015c7c3
mov dword [rsp + 0x3c], 1
nop
mov rbx, qword [rbp - 0x58]
mov rcx, qword [rbx + 8]
call fcn.1400c1bc0
mov rcx, qword [rbx + 0x10]
call fcn.1400c1bc0
mov rcx, qword [rbx + 0x18]
call fcn.1400c1bc0
mov rcx, r14
call fcn.1400c1b00
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 8], rax
call fcn.1400c1b00
mov rcx, qword [rsp + 0x68]
mov qword [rbx + 0x10], rax
call fcn.1400c1b00
cmp qword [rbx + 8], 0
mov qword [rbx + 0x18], rax
je 0x14015c8a6
cmp qword [rbx + 0x10], 0
je 0x14015c8a6
test rax, rax
je 0x14015c8a6
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x14015c876
mov dword [rax], r12d
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x14015c885
mov rax, qword [rbp - 0x68]
mov dword [rdx], eax
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14015c7c3
mov r8, r13
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.1401bcf90
jmp 0x14015c7c3
mov dword [rsp + 0x3c], 0
jmp 0x14015c7c3
mov r12, qword [rsp + 0x30]
jmp 0x14015c7c6
jmp 0x14015c7ce