Function at 0x14002a540
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14009c0c0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x68]
mov r13d, edx
mov r14, qword [rbp + 0x58]
mov rdi, rcx
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], edx
mov qword [rbp - 0x28], rcx
test dl, 0xf
je 0x14002a585
mov esi, 1
jmp 0x14002a8a0
test rax, rax
jne 0x14002a590
cmp dword [rbp + 0x60], r13d
jmp 0x14002a596
lea eax, [rdx - 0x10]
cmp dword [rbp + 0x60], eax
jae 0x14002a5a2
mov esi, 3
jmp 0x14002a8a0
mov qword [rsp + 0xb0], rbx
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r12
xor eax, eax
mov qword [rsp + 0x60], r15
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
call fcn.140029dd0
mov r8, r14
lea rcx, [rbp - 0x40]
mov rdx, rdi
call fcn.14002a210
lea rcx, [0x140090d17]
xor esi, esi
lea rax, [r14 + 0xf]
mov r12d, 0x10
cmp r14, rcx
ja 0x14002a623
lea r8, [0x140090d08]
cmp rax, r8
jb 0x14002a623
sub r8, r14
lea rax, [rsi + r14]
mov edx, r12d
sub rdx, rsi
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14002a610
jmp 0x14002a638
movdqu xmm1, xmmword [r14]
movdqu xmm0, xmmword [0x140090d08]
xorps xmm1, xmm0
movdqu xmmword [r14], xmm1
mov r15d, r13d
shr r15d, 4
dec r15d
cmp r15d, 1
jbe 0x14002a707
lea r13d, [r15 - 1]
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
movsxd rax, r12d
lea rcx, [rbp - 0x40]
lea rdi, [rax + r14]
lea rbx, [rax + rsi]
mov r8, rdi
mov rdx, rbx
call fcn.14002a210
movzx eax, byte [rbx - 0x10]
add r12d, 0x10
xor byte [rdi], al
movzx eax, byte [rbx - 0xf]
xor byte [rdi + 1], al
movzx eax, byte [rbx - 0xe]
xor byte [rdi + 2], al
movzx eax, byte [rbx - 0xd]
xor byte [rdi + 3], al
movzx eax, byte [rbx - 0xc]
xor byte [rdi + 4], al
movzx eax, byte [rbx - 0xb]
xor byte [rdi + 5], al
movzx eax, byte [rbx - 0xa]
xor byte [rdi + 6], al
movzx eax, byte [rbx - 9]
xor byte [rdi + 7], al
movzx eax, byte [rbx - 8]
xor byte [rdi + 8], al
movzx eax, byte [rbx - 7]
xor byte [rdi + 9], al
movzx eax, byte [rbx - 6]
xor byte [rdi + 0xa], al
movzx eax, byte [rbx - 5]
xor byte [rdi + 0xb], al
movzx eax, byte [rbx - 4]
xor byte [rdi + 0xc], al
movzx eax, byte [rbx - 3]
xor byte [rdi + 0xd], al
movzx eax, byte [rbx - 2]
xor byte [rdi + 0xe], al
movzx eax, byte [rbx - 1]
xor byte [rdi + 0xf], al
sub r13, 1
jne 0x14002a660
mov r13d, dword [rbp - 0x4c]
xor esi, esi
mov rdi, qword [rbp - 0x28]
mov r12d, 0x10
shl r15d, 4
xorps xmm0, xmm0
mov ebx, r15d
mov r15, qword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
cmp r13d, 0x10
jbe 0x14002a7c1
lea rdx, [rbx + rdi]
lea r8, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call fcn.14002a210
lea eax, [rbx - 0x10]
mov ecx, eax
movzx eax, byte [rax + rdi]
xor byte [rbp - 0x28], al
movzx eax, byte [rcx + rdi + 1]
xor byte [rbp - 0x27], al
movzx eax, byte [rcx + rdi + 2]
xor byte [rbp - 0x26], al
movzx eax, byte [rcx + rdi + 3]
xor byte [rbp - 0x25], al
movzx eax, byte [rcx + rdi + 4]
xor byte [rbp - 0x24], al
movzx eax, byte [rcx + rdi + 5]
xor byte [rbp - 0x23], al
movzx eax, byte [rcx + rdi + 6]
xor byte [rbp - 0x22], al
movzx eax, byte [rcx + rdi + 7]
xor byte [rbp - 0x21], al
movzx eax, byte [rcx + rdi + 8]
xor byte [rbp - 0x20], al
movzx eax, byte [rcx + rdi + 9]
xor byte [rbp - 0x1f], al
movzx eax, byte [rcx + rdi + 0xa]
xor byte [rbp - 0x1e], al
movzx eax, byte [rcx + rdi + 0xb]
xor byte [rbp - 0x1d], al
movzx eax, byte [rcx + rdi + 0xc]
xor byte [rbp - 0x1c], al
movzx eax, byte [rcx + rdi + 0xd]
xor byte [rbp - 0x1b], al
movzx eax, byte [rcx + rdi + 0xe]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x19]
xor al, byte [rcx + rdi + 0xf]
mov edi, dword [rbp + 0x60]
mov byte [rbp - 0x19], al
jmp 0x14002a7e4
mov r8d, r13d
lea rcx, [rbp - 0x28]
mov rdx, r14
call fcn.14005f5a0
mov edi, dword [rbp + 0x60]
xor edx, edx
mov r8d, edi
mov rcx, r14
call fcn.14005fd20
movzx eax, byte [rbp - 0x19]
mov rcx, qword [rbp - 0x48]
mov rdx, rbx
test rcx, rcx
je 0x14002a850
movzx r8d, al
sub r12d, r8d
mov dword [rcx], r8d
cmp r8d, 0x10
ja 0x14002a849
mov edx, esi
test al, al
je 0x14002a828
nop word [rax + rax]
mov eax, 0xf
sub eax, edx
movzx ecx, byte [rbp + rax - 0x28]
cmp ecx, r8d
jne 0x14002a849
inc edx
cmp edx, r8d
jb 0x14002a810
lea eax, [rbx + r12]
cmp edi, eax
jb 0x14002a842
mov r8d, r12d
lea rcx, [r14 + rbx]
lea rdx, [rbp - 0x28]
call fcn.14005f5a0
jmp 0x14002a859
mov esi, 3
jmp 0x14002a859
mov esi, 4
jmp 0x14002a859
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx + r14], xmm0
mov rcx, qword [rbp - 0x40]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14002a8a0
mov rdx, qword [rbp - 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14002a89b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a8ba
call fcn.14003d420
mov eax, esi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14003d400
add rsp, 0x70
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.14004b148
int3