Function at 0x14007a558
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1250]
mov eax, 0x1350
call fcn.1400ec1b0
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x13a0], rbx
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x1240], rax
mov ebx, edx
mov rdi, rcx
xor r14d, r14d
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], 0x85
lea rcx, [rbp - 0x30]
call fcn.14008e26c
mov rax, qword [rdi + 0x22c8]
mov qword [rsp + 0x40], rax
mov byte [rdi + 0x7fc3], 1
mov rax, qword [rdi]
mov edx, dword [rdi + 0x3490]
add rdx, qword [rdi + 0x7fc8]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x18]
mov byte [rsp + 0x20], r14b
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
mov rcx, rdi
call fcn.1400533f0
mov rax, qword [rdi]
lea r15d, [r14 + 2]
mov r8d, r15d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rax
mov ecx, ebx
call fcn.14007aab8
mov ebx, eax
mov dword [rsp + 0x30], eax
mov r12d, r14d
lea rcx, [rdi + 0x5870]
lea edx, [r14 + 0x14]
call fcn.14006baf4
mov byte [rdi + 0x5880], 1
lea rcx, [rdi + 0x68e8]
mov edx, r15d
call fcn.14006b89c
mov dword [rsp + 0x28], r14d
lea rax, [0x1401115f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14004fab0
mov rax, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov r15d, r14d
mov eax, ebx
shl eax, 9
cdqe
mov qword [rsp + 0x48], rax
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003dd8
nop
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400ed430
mov r13d, 0xfffffff
jmp 0x14007a7fe
call fcn.14008d414
cmp rsi, 0x200
jae 0x14007a6ec
mov ebx, esi
movsxd rax, esi
mov r8d, 0x200
sub r8, rax
lea rcx, [rbp + 0x40]
add rcx, rax
xor edx, edx
call fcn.1400ed430
xor esi, esi
jmp 0x14007a6f4
mov ebx, 0x200
sub rsi, rbx
mov rax, qword [rdi]
movsxd r8, ebx
lea rdx, [rbp + 0x40]
mov rcx, rdi
call qword [rax + 0x10]
mov ecx, r15d
shl ecx, 9
add rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x40]
sub rdx, rcx
mov r8d, 0x200
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14007a71c
mov r8d, 0x200
lea rdx, [rbp + 0x40]
or ecx, 0xffffffff
call fcn.14005e628
mov ecx, r14d
mov byte [rbp + rcx + 0x240], al
inc r14d
shr eax, 8
mov byte [rbp + r14 + 0x240], al
inc r14d
cmp r14d, 0x1000
jne 0x14007a7c3
mov qword [rbp - 0x80], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, rax
mov qword [rbp - 0x78], rax
mov r9, qword [rdi]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [r9 + 0x18]
mov r14d, 0x1000
mov r8d, r14d
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140068010
mov r8d, r14d
lea rdx, [rbp + 0x240]
mov ecx, r13d
call fcn.14005e628
mov r13d, eax
xor r14d, r14d
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x18]
test r12b, r12b
jne 0x14007a7ee
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x6150], r12b
jne 0x14007a7ee
mov rdx, r12
shl rdx, 9
mov r8, qword [rsp + 0x38]
lea rcx, [0x140112a58]
call fcn.14008f234
inc r12
inc r15d
cmp r15d, dword [rsp + 0x30]
sbb eax, eax
and r15d, eax
test rsi, rsi
jg 0x14007a6be
mov rax, qword [rdi]
mov r15d, 2
mov r8d, r15d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov r8d, r14d
lea rdx, [rbp + 0x240]
mov rcx, rdi
call fcn.140068010
mov r8d, r14d
lea rdx, [rbp + 0x240]
mov ecx, r13d
call fcn.14005e628
mov ebx, eax
mov rsi, qword [rsp + 0x48]
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140068010
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov ecx, ebx
call fcn.14005e628
mov dword [rdi + 0x68e8], r15d
not eax
mov dword [rdi + 0x68ec], eax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x18]
lea rcx, [rbp - 0x70]
call fcn.14007c900
nop
lea r8d, [r15 + 6]
lea rdx, str.Protect
lea rcx, [rbp - 0x70]
call fcn.14007cb28
movsxd rdx, dword [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14007ca74
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.14007caf8
lea rdx, [rdi + 0x6890]
lea rcx, [rbp - 0x70]
call fcn.14007c93c
lea r8, [rsi + r12*2]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rax, [0x1401115f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call fcn.14004fab0
mov rax, qword [rdi]
mov r8d, r15d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov qword [rbp + 0x30], rbx
mov dword [rbp + 0x38], 0x86
lea rcx, [rbp - 0x30]
call fcn.14008e26c
nop
lea rcx, [rbp - 0x70]
call fcn.140003ea4
nop
lea rcx, [rsp + 0x50]
call fcn.140007d04
mov rcx, qword [rbp + 0x1240]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x13a0]
add rsp, 0x1350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret