Function at 0x14007b510
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1e0]
mov eax, 0x2e0
call fcn.140150d80
sub rsp, rax
mov rax, qword [0x1402274c0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, qword [rbp + 0x248]
mov rbx, qword [rbp + 0x258]
mov rsi, rcx
mov rcx, r14
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x38], r8
mov edi, edx
mov r13d, 1
call fcn.14005d290
movsxd r12, eax
test eax, eax
js 0x14007b5d2
lea rcx, [rbp + 0x60]
call fcn.140083b80
test rsi, rsi
jne 0x14007b585
xor edi, edi
jmp 0x14007b5aa
cmp edi, 0xffffffff
jne 0x14007b5aa
xor edi, edi
mov rax, rsi
cmp byte [rsi], dil
je 0x14007b5a6
cmp edi, 0x80000000
jae 0x14007b5a6
inc rax
inc edi
cmp byte [rax], 0
jne 0x14007b594
btr edi, 0x1f
lea rcx, [rbp + 0x60]
mov r9, r14
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], 0
call fcn.140083cc0
test eax, eax
jne 0x14007b5d9
lea rcx, [rbp + 0x60]
call fcn.140083a30
xor eax, eax
jmp 0x14007b82e
mov eax, dword [rbp + 0x250]
mov qword [rsp + 0x2d8], r15
test eax, eax
je 0x14007b818
mov r15d, dword [rbp + 0x240]
nop word [rax + rax]
mov edi, eax
cmp eax, r12d
mov eax, r13d
cmovg edi, r12d
shr eax, 0x18
lea rdx, [rbp + 0x60]
mov byte [rsp + 0x30], al
mov eax, r13d
lea rcx, [rsp + 0x40]
shr eax, 0x10
mov byte [rsp + 0x33], r13b
mov byte [rsp + 0x31], al
mov eax, r13d
shr eax, 8
mov byte [rsp + 0x32], al
call fcn.140083a80
test eax, eax
je 0x14007b866
movsxd r8, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140083f40
test eax, eax
je 0x14007b84f
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov r8d, 4
call fcn.140083f40
test eax, eax
je 0x14007b84f
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.140083c10
test eax, eax
je 0x14007b84f
lea rcx, [rsp + 0x40]
call fcn.140083a30
movsxd r14, edi
lea rdx, [rbp + 0x180]
mov r8, r14
mov rcx, rbx
call fcn.140152980
mov esi, 1
cmp r15d, esi
jle 0x14007b7fc
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140083a80
test eax, eax
je 0x14007b866
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
mov r8, r12
call fcn.140083f40
test eax, eax
je 0x14007b84f
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x40]
xor r8d, r8d
call fcn.140083c10
test eax, eax
je 0x14007b84f
lea rcx, [rsp + 0x40]
call fcn.140083a30
xor r9d, r9d
test edi, edi
jle 0x14007b7c3
cmp edi, 0x20
jb 0x14007b7c3
lea eax, [rdi - 1]
xor edx, edx
movsxd rcx, eax
lea rax, [rbp + 0x180]
add rax, rcx
lea r8, [rcx + rbx]
cmp rbx, rax
ja 0x14007b763
lea rax, [rbp + 0x180]
cmp r8, rax
jae 0x14007b7c3
mov eax, edi
and eax, 0x8000001f
jge 0x14007b773
dec eax
or eax, 0xffffffe0
inc eax
mov r8d, edi
sub r8d, eax
nop dword [rax]
movsxd rax, edx
add r9, 0x20
movdqu xmm0, xmmword [rax + rbx]
movdqu xmm1, xmmword [rbp + rax + 0x180]
pxor xmm1, xmm0
movdqu xmmword [rax + rbx], xmm1
lea eax, [rdx + 0x10]
add edx, 0x20
movsxd rcx, eax
movdqu xmm1, xmmword [rbp + rcx + 0x180]
movdqu xmm0, xmmword [rcx + rbx]
pxor xmm1, xmm0
movdqu xmmword [rcx + rbx], xmm1
cmp edx, r8d
jl 0x14007b780
cmp r9, r14
jge 0x14007b7f1
lea r8, [rbp + 0x180]
mov rdx, r14
lea rax, [r9 + rbx]
sub r8, rbx
sub rdx, r9
nop dword [rax]
movzx ecx, byte [r8 + rax]
lea rax, [rax + 1]
xor byte [rax - 1], cl
dec rdx
jne 0x14007b7e0
inc esi
cmp esi, r15d
jl 0x14007b6d0
mov eax, dword [rbp + 0x250]
inc r13d
add rbx, r14
sub eax, edi
mov dword [rbp + 0x250], eax
test eax, eax
jne 0x14007b600
lea rcx, [rbp + 0x60]
call fcn.140083a30
mov eax, 1
mov r15, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140150a60
add rsp, 0x2e0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rbp + 0x60]
call fcn.140083a30
lea rcx, [rsp + 0x40]
call fcn.140083a30
xor eax, eax
jmp 0x14007b826
lea rcx, [rbp + 0x60]
call fcn.140083a30
xor eax, eax
jmp 0x14007b826