Function at 0x140008f3c
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x140009366
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x12d0
call fcn.14004d4a0
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1310], rbx
mov qword [rsp + 0x1318], rbp
mov rax, qword [0x14005b870]
xor rax, rsp
mov qword [rsp + 0x12c0], rax
mov esi, edx
mov rdi, rcx
mov ecx, 0xdfc
call fcn.140032268
mov rcx, rax
call fcn.140011f74
lea rcx, [0x140050a9c]
call fcn.140011f74
or word [rdi + 0x57d0], 0x40
mov rdx, qword [rdi + 0x7ee0]
add rdx, 7
xor r8d, r8d
mov rcx, rdi
call fcn.14001ab00
xor r8d, r8d
lea edx, [r8 + 0x73]
mov rcx, rdi
call fcn.140007938
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call fcn.14001ab00
mov rcx, rdi
call fcn.14001a320
mov rbx, rax
mov qword [rsp + 0x38], rax
mov r8, rax
mov edx, esi
mov rcx, rdi
call fcn.140006ab0
mov esi, eax
mov dword [rsp + 0x34], eax
xor r14d, r14d
lea rcx, [rdi + 0x7128]
lea edx, [r14 + 0x14]
cmp qword [rcx + 0x10], rdx
jae 0x14000901c
sub rdx, qword [rcx + 8]
call fcn.14001c738
jmp 0x140009020
mov qword [rcx + 8], rdx
mov eax, 0x8000
mov word [rdi + 0x6500], ax
and dword [rdi + 0x651c], r14d
mov eax, 0x4000
or word [rdi + 0x6500], ax
mov byte [rsp + 0x28], r14b
lea rax, [0x140050890]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140008098
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14001ab00
xor ebp, ebp
xor r12d, r12d
mov eax, esi
shl eax, 9
cdqe
mov qword [rsp + 0x58], rax
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006ce4
nop
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140040cb4
mov r15d, 0xfffffff
mov dword [rsp + 0x30], r15d
xor esi, esi
test rbx, rbx
jle 0x14000920d
call fcn.1400372f8
mov ecx, 0x200
cmp rbx, rcx
jae 0x1400090e1
mov r15d, ebx
movsxd rax, ebx
mov r8, rcx
sub r8, rax
lea rcx, [rsp + rax + 0xc0]
xor edx, edx
call fcn.140040cb4
xor ebx, ebx
jmp 0x1400090e7
mov r15d, ecx
sub rbx, rcx
movsxd r8, r15d
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call fcn.14001ad3c
mov ecx, ebp
shl ecx, 9
add rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0xc0]
sub rdx, rcx
mov r8d, 0x200
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140009115
mov r8d, 0x200
lea rdx, [rsp + 0xc0]
or ecx, 0xffffffff
call fcn.140012914
mov byte [rsp + rsi + 0x2c0], al
shr eax, 8
mov byte [rsp + rsi + 0x2c1], al
add r12d, 2
add rsi, 2
mov r15d, 0x1000
cmp r12d, r15d
jne 0x1400091be
mov rdx, rdi
lea rcx, [rsp + 0xa0]
call fcn.140033f58
nop
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call fcn.14001ab00
mov r8, r15
lea rdx, [rsp + 0x2c0]
mov rcx, rdi
call fcn.14001ab68
mov r8, r15
lea rdx, [rsp + 0x2c0]
mov ecx, dword [rsp + 0x30]
call fcn.140012914
mov r15d, eax
mov dword [rsp + 0x30], eax
xor r12d, r12d
xor esi, esi
lea rcx, [rsp + 0xa0]
call fcn.140033f90
jmp 0x1400091c3
mov r15d, dword [rsp + 0x30]
test r14b, r14b
jne 0x1400091f7
mov rax, qword [rdi + 0x1428]
cmp byte [rax + 0x3934], r14b
jne 0x1400091f7
mov rcx, r14
shl rcx, 9
mov rdx, qword [rsp + 0x38]
call fcn.140036970
mov edx, eax
lea rcx, str._b_b_b_b_3d__
call fcn.140011f74
inc r14
inc ebp
cmp ebp, dword [rsp + 0x34]
sbb eax, eax
and ebp, eax
test rbx, rbx
jg 0x1400090b3
mov ebp, 2
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call fcn.14001ab00
mov r8d, r12d
lea rdx, [rsp + 0x2c0]
mov rcx, rdi
call fcn.14001ab68
mov r8d, r12d
lea rdx, [rsp + 0x2c0]
mov ecx, r15d
call fcn.140012914
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14001ab68
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov ecx, ebx
call fcn.140012914
not eax
mov dword [rdi + 0x6510], eax
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.14001ab00
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14002d18c
nop
lea r8d, [rbp + 6]
lea rdx, str.Protect
lea rcx, [rsp + 0x68]
call fcn.14002d050
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x68]
call fcn.14002cfa4
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.14002d020
lea rdx, [rdi + 0x7128]
lea rcx, [rsp + 0x68]
call fcn.14002d2ac
lea r8, [rsi + r14*2]
mov byte [rsp + 0x28], 0
lea rax, [0x140050890]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call fcn.140008098
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call fcn.14001ab00
mov r11, qword [rdi + 0x1428]
cmp byte [r11 + 0x3934], 0
jne 0x14000931e
lea rcx, str._b_b_b_b
call fcn.140011f74
nop
lea rcx, [rsp + 0x68]
call fcn.14002d1d4
nop
cmp qword [rsp + 0x40], 0
je 0x14000933b
mov rcx, qword [rsp + 0x40]
call fcn.140040644
mov rcx, qword [rsp + 0x12c0]
xor rcx, rsp
call fcn.1400407f0
lea r11, [rsp + 0x12d0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret