Function at 0x14020f210
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r15, qword [rsp + 0x110]
mov r13d, r9d
mov esi, dword [rsp + 0x128]
mov r14, r8
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x118]
mov ebx, edx
mov qword [rsp + 0x38], 0
call fcn.1401ccdf0
mov ebp, eax
test eax, eax
js 0x14020f308
cmp ebx, eax
je 0x14020f27c
mov eax, 0xffffff53
jmp 0x14020f308
mov ecx, dword [rsp + 0x130]
lea eax, [rcx - 1]
and eax, 7
mov dword [rsp + 0x34], eax
jne 0x14020f299
mov byte [r14], 0
inc r14
dec r13d
cmp esi, 0xffffffff
jne 0x14020f2b2
mov esi, ebp
cmp ecx, 0x400
jne 0x14020f2c3
cmp ebp, 0x40
jne 0x14020f2c3
lea esi, [rbp - 2]
jmp 0x14020f2c3
cmp esi, ebp
jg 0x14020f550
cmp esi, 0xffffffff
jl 0x14020f550
mov ecx, r13d
lea eax, [rsi + 2]
sub ecx, ebp
cmp ecx, eax
jl 0x14020f550
lea eax, [rcx - 1]
mov qword [rsp + 0xa8], r12
lea ecx, [rbx + 8]
mov dword [rsp + 0x30], eax
add ecx, esi
cmp r13d, ecx
jae 0x14020f32e
call fcn.1401c5b90
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14020f329
mov eax, 0xffffff83
mov r12, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140283120
add rsp, 0xb8
pop r15
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov r12, rax
jmp 0x14020f331
mov r12, r14
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0xb0], rdi
mov r8, rbx
lea rdi, [r12 + 8]
mov qword [r12], rax
mov rcx, rdi
call fcn.140284ff0
add rdi, rbx
test esi, esi
jle 0x14020f38b
mov r8d, esi
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1401f1ca0
mov r15d, eax
test eax, eax
jne 0x14020f543
movsxd rbx, esi
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, rdi
call fcn.140284ff0
add edi, ebx
movsxd rbx, dword [rsp + 0x30]
sub edi, r12d
mov ecx, dword [rsp + 0x118]
mov r8d, edi
mov rdx, r12
mov dword [rsp + 0x20], ebp
lea r9, [rbx + r14]
call fcn.1401cc820
mov r8d, dword [rsp + 0x30]
mov r15d, eax
test r15d, r15d
jne 0x14020f521
mov ecx, dword [rsp + 0x120]
lea eax, [r13 - 1]
mov byte [rax + r14], 0xbc
lea rdx, [rbx + r14]
mov rax, qword [rsp + 0x138]
mov r9, r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
mov r8d, ebp
call fcn.14020ece0
mov r15d, eax
test eax, eax
jne 0x14020f521
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x14020f40e
mov eax, 1
shl al, cl
dec al
and byte [r14], al
movsxd rdx, esi
xor r9d, r9d
sub rbx, rdx
xor byte [rbx + r14 - 1], 1
lea r8, [rbx + r14]
test esi, esi
jle 0x14020f4f1
cmp esi, 0x40
jb 0x14020f4f1
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea r10, [r8 + rcx]
cmp r8, rax
ja 0x14020f457
lea rax, [rsp + 0x50]
cmp r10, rax
jae 0x14020f4f1
mov eax, esi
and eax, 0x8000003f
jge 0x14020f467
dec eax
or eax, 0xffffffc0
inc eax
sub esi, eax
lea r10, [rsp + 0x50]
lea r11, [rsp + 0x60]
movsxd rsi, esi
lea rbx, [rsp + 0x70]
sub r10, r8
sub r11, r8
lea rdi, [rsp + 0x80]
sub rbx, r8
mov rcx, r8
sub rdi, r8
movdqu xmm0, xmmword [rcx]
add r9d, 0x40
movdqu xmm1, xmmword [r10 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [r11 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rbx + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rdi + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, r8
cmp rax, rsi
jl 0x14020f492
movsxd rcx, r9d
cmp rcx, rdx
jge 0x14020f521
lea r9, [rsp + 0x50]
sub r9, r8
lea rax, [rcx + r8]
sub rdx, rcx
nop dword [rax + rax]
movzx ecx, byte [rax + r9]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14020f510
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xb0]
test rax, rax
je 0x14020f53b
mov rcx, rax
call fcn.1401c5b70
mov eax, r15d
jmp 0x14020f300
movsxd r8, dword [rsp + 0x30]
mov rbx, r8
jmp 0x14020f3b5
mov eax, 0xffffff06
jmp 0x14020f308