Function at 0x1401389b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x20], rcx
mov eax, 0x10
call fcn.14024f5c0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
sub rsp, 0x20
call fcn.14013788c
mov rcx, qword [rbp - 0x20]
add rsp, 0x20
mov qword [rbp - 0x18], rax
cmp qword [rcx], 0xffffffffffffffff
je 0x140138a20
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x20]
mov qword [rdx + 8], rcx
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x10], rcx
jl 0x140138cbd
jmp 0x140138cc4
lea rcx, [rbp - 0x10]
mov edx, 0x10
sub rsp, 0x20
call fcn.140137a4f
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
add rsp, 0x20
cmp rax, 0
sete al
mov byte [rbp - 0x51], al
mov rdx, qword [rdx + 0x10]
mov qword [rbp - 0x50], rdx
movabs rdx, 0x7f53af5b221ce791
movabs r8, 0x7f53af5b221ce790
xor rdx, r8
add rcx, rdx
mov qword [rbp - 0x48], rcx
test al, 1
jne 0x140138a9c
mov r9, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
sub rsp, 0x20
call fcn.1401389b0
add rsp, 0x20
jmp 0x140138b63
mov eax, dword [0x1402589e8]
mov edx, dword [0x1402589ec]
mov ecx, 0xde97e7f8
xor ecx, 0x2dd7483c
xor edx, ecx
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
or eax, edx
and eax, ecx
imul eax, eax, 0x18058c0b
mov ecx, 0x9c7b2c4f
xor ecx, 0x6c0e453c
or eax, ecx
mov ecx, 0xacec8afd
xor ecx, 0xacec8afd
mov edx, 0xfde43fe2
xor edx, 0xb486bece
sub ecx, edx
add eax, ecx
cmp eax, 0x2cc673f6
je 0x140138cc9
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov eax, dword [0x1402589f0]
mov r9d, dword [0x1402589f4]
xor r9d, 0x5c17ed2e
sub eax, r9d
mov r9d, eax
and r9d, 0x173d55ef
shl r9d, 1
xor eax, 0x173d55ef
add eax, r9d
or eax, 0x737054be
xor eax, 0xee0fa6c2
mov dword [rbp - 0x58], eax
xor eax, eax
mov r9d, eax
sub rsp, 0x20
call fcn.1401389b0
mov eax, dword [rbp - 0x58]
add rsp, 0x20
cmp eax, 0xd7275813
je 0x140138af8
jmp 0x140138b63
mov rax, qword [rbp - 0x18]
mov al, byte [rax]
mov cl, 0xf0
xor cl, 0xf0
cmp al, cl
je 0x140138b7b
jmp 0x140138cc4
mov rcx, qword [rbp - 0x28]
mov edx, 0x10
sub rsp, 0x20
call fcn.140137a4f
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
mov al, byte [rbp - 0x51]
add rsp, 0x20
mov rdx, qword [rdx + 0x18]
mov qword [rbp - 0x68], rdx
mov rdx, 0xffffffffffffffff
xor rdx, 1
xor r8d, r8d
sub r8, 1
sub rdx, r8
sub rcx, rdx
mov qword [rbp - 0x60], rcx
test al, 1
jne 0x140138bea
mov r9, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
sub rsp, 0x20
call fcn.1401389b0
add rsp, 0x20
jmp 0x140138c08
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
xor eax, eax
mov r9d, eax
sub rsp, 0x20
call fcn.1401389b0
add rsp, 0x20
mov eax, dword [0x1402589f8]
mov r8d, dword [0x1402589fc]
mov ecx, eax
xor ecx, 0xffffffff
mov edx, r8d
and edx, ecx
mov r9d, r8d
xor r9d, 0xffffffff
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, 0xc8050a9b
xor ecx, 0x9ac69ba6
xor edx, edx
div ecx
or eax, 0xc4f7e4b0
add eax, 0x2666533f
cmp eax, 0x4e66bcf7
jb 0x140138cd2
mov eax, dword [0x140258a00]
xor eax, 0xd93043c5
sub eax, dword [0x140258a04]
and eax, 0x7a40a9dc
mov ecx, 0xa0ed9534
xor ecx, 0xa0ed9534
sub ecx, eax
mov eax, 0xe4cdc2a0
xor eax, 0xe4cdc2a0
mov edx, 0xf5ff19be
xor edx, 0x73fcf7cc
sub eax, edx
add ecx, eax
mov eax, 0x96bbf7b0
xor eax, 0x96bbf7b0
sub eax, ecx
imul eax, eax, 0x45cf5d7c
cmp eax, 0xfbb4bdec
je 0x140138c5f
jmp 0x140138cc4
mov rax, qword [rbp - 0x38]
mov byte [rax], 1
mov rsp, rbp
pop rbp
ret
invalid
rcl dword [rdx - 0x7b169b11]
invalid