Function at 0x140033cf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1340
call fcn.140062a30
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1380], rbx
mov qword [rsp + 0x1388], rbp
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x1330], rax
mov ebx, edx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x120], ebp
mov dword [rsp + 0x124], ebp
mov dword [rsp + 0x128], 0x83
lea rcx, [rsp + 0xc0]
call fcn.1400471e0
mov rax, qword [rdi + 0x68b0]
mov qword [rsp + 0x60], rax
mov byte [rdi + 0xc593], 1
mov rax, qword [rdi]
mov edx, dword [rdi + 0x7a70]
add rdx, qword [rdi + 0xc598]
xor r8d, r8d
mov rcx, rdi
call qword [rax + 0x18]
mov byte [rsp + 0x20], bpl
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 1]
mov rcx, rdi
call fcn.140009d0c
mov r11, qword [rdi]
lea r12d, [rbp + 2]
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x18]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x20]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rax
mov ecx, ebx
call fcn.140033070
mov ebx, eax
mov dword [rsp + 0x34], eax
mov r14, rbp
lea rcx, [rdi + 0x9e48]
lea edx, [rbp + 0x14]
call fcn.140023eb0
mov byte [rdi + 0x9e58], 1
mov edx, r12d
lea rcx, [rdi + 0xaeb8]
call fcn.140023a38
mov dword [rsp + 0x28], ebp
lea rax, [0x140065ed8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000ae70
mov r11, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x18]
mov r12d, ebp
mov r13d, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov eax, ebx
shl eax, 9
cdqe
mov qword [rsp + 0x68], rax
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400076c4
nop
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140055c00
mov dword [rsp + 0x30], 0xfffffff
test rsi, rsi
jle 0x140033fde
call fcn.140045b98
cmp rsi, 0x200
jae 0x140033eb1
mov ebx, esi
movsxd rax, esi
mov r8d, 0x200
sub r8, rax
lea rcx, [rsp + rax + 0x130]
xor edx, edx
call fcn.140055c00
xor esi, esi
jmp 0x140033eb9
mov ebx, 0x200
sub rsi, rbx
mov rax, qword [rdi]
movsxd r8, ebx
lea rdx, [rsp + 0x130]
mov rcx, rdi
call qword [rax + 0x10]
mov ecx, r12d
shl ecx, 9
add rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x130]
sub rdx, rcx
mov r8d, 0x200
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140033ee9
mov r8d, 0x200
lea rdx, [rsp + 0x130]
or ecx, 0xffffffff
call fcn.140017698
mov byte [rsp + rbp + 0x330], al
shr eax, 8
mov byte [rsp + rbp + 0x331], al
add r13d, 2
add rbp, 2
cmp r13d, 0x1000
jne 0x140033f9a
mov qword [rsp + 0x78], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, rax
mov qword [rsp + 0x80], rax
mov r9, qword [rdi]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rdi
call qword [r9 + 0x18]
mov ebp, r13d
mov r8, rbp
lea rdx, [rsp + 0x330]
mov rcx, rdi
call fcn.1400206c4
mov r8, rbp
lea rdx, [rsp + 0x330]
mov ecx, dword [rsp + 0x30]
call fcn.140017698
mov dword [rsp + 0x30], eax
xor r13d, r13d
xor ebp, ebp
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x18]
test r14b, r14b
jne 0x140033fc5
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x614c], r14b
jne 0x140033fc5
mov rdx, r14
shl rdx, 9
mov r8, qword [rsp + 0x38]
lea rcx, [0x140067740]
call fcn.1400471bc
inc r14
inc r12d
cmp r12d, dword [rsp + 0x34]
sbb eax, eax
and r12d, eax
test rsi, rsi
jg 0x140033e82
mov rax, qword [rdi]
mov ebp, 2
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call qword [rax + 0x18]
mov r8d, r13d
lea rdx, [rsp + 0x330]
mov rcx, rdi
call fcn.1400206c4
mov r8d, r13d
lea rdx, [rsp + 0x330]
mov ecx, dword [rsp + 0x30]
call fcn.140017698
mov ebx, eax
mov rsi, qword [rsp + 0x68]
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1400206c4
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov ecx, ebx
call fcn.140017698
mov dword [rdi + 0xaeb8], ebp
not eax
mov dword [rdi + 0xaebc], eax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [rax + 0x18]
lea rcx, [rsp + 0x88]
call fcn.1400368f0
nop
lea r8d, [rbp + 6]
lea rdx, str.Protect
lea rcx, [rsp + 0x88]
call fcn.1400367f0
movsxd rdx, dword [rsp + 0x34]
lea rcx, [rsp + 0x88]
call fcn.1400366a8
mov rdx, r14
lea rcx, [rsp + 0x88]
call fcn.14003672c
lea rdx, [rdi + 0xae68]
lea rcx, [rsp + 0x88]
call fcn.140036848
lea r8, [rsi + r14*2]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rax, [0x140065ed8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call fcn.14000ae70
mov r11, qword [rdi]
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x18]
mov rax, qword [rsp + 0x60]
cmp byte [rax + 0x614c], bl
jne 0x140034104
lea rcx, str._b_b_b_b
call fcn.140016a54
mov dword [rsp + 0x120], ebx
mov dword [rsp + 0x124], ebx
mov dword [rsp + 0x128], 0x84
lea rcx, [rsp + 0xc0]
call fcn.1400471e0
nop
mov rcx, qword [rsp + 0x88]
cmp rcx, rbx
je 0x14003413e
call fcn.140055470
nop
cmp qword [rsp + 0x40], rbx
je 0x14003414f
mov rcx, qword [rsp + 0x40]
call fcn.140055470
mov rcx, qword [rsp + 0x1330]
xor rcx, rsp
call fcn.140054e00
lea r11, [rsp + 0x1340]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret