Function at 0x1401f8f50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r9
mov qword [rbp - 8], r8
mov rdi, rdx
mov qword [rbp - 0x10], rcx
mov eax, dword [0x1404bfcc0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r15, qword [rbp - 0x10]
mov r14, qword [rbp - 8]
nop
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x28]
mov r8, qword [rdi + 0x20]
mov rdx, qword [rdi + 0x28]
cmp rcx, r8
jne 0x1401f8fae
cmp rax, rdx
je 0x1401f90fe
mov r9, qword [r14 + 0x20]
cmp r9, qword [rsi + 0x20]
jne 0x1401f8fc6
mov r9, qword [rsi + 0x28]
cmp qword [r14 + 0x28], r9
je 0x1401f90fe
mov rax, qword [r14 + 0x10]
mov rcx, qword [r15 + 0x10]
cmp rax, rcx
mov rdx, rcx
cmovb rdx, rax
test rdx, rdx
je 0x1401f9020
cmp qword [r15 + 0x18], 8
mov r8, r15
jb 0x1401f8fea
mov r8, qword [r15]
cmp qword [r14 + 0x18], 8
mov r9, r14
jb 0x1401f8ff7
mov r9, qword [r14]
lea r10, [rdx - 1]
xor r11d, r11d
nop
movzx ebx, word [r9 + r11*2]
cmp word [r8 + r11*2], bx
jne 0x1401f9030
cmp r10, r11
je 0x1401f9020
inc r11
jmp 0x1401f9000
cmp rcx, rax
jae 0x1401f9040
jmp 0x1401f9152
jb 0x1401f9152
nop word cs:[rax + rax]
mov r8d, dword [0x1404bfcc0]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
jne 0x1401f9040
mov r8d, dword [0x1404bfcc4]
cmp r8d, 0x4d
jge 0x1401f9040
test rdx, rdx
je 0x1401f90b0
cmp qword [r14 + 0x18], 8
mov r8, r14
jb 0x1401f9074
mov r8, qword [r14]
cmp qword [r15 + 0x18], 8
mov r9, r15
jb 0x1401f9081
mov r9, qword [r15]
dec rdx
xor r10d, r10d
nop word [rax + rax]
movzx r11d, word [r9 + r10*2]
cmp word [r8 + r10*2], r11w
jne 0x1401f90c0
cmp rdx, r10
je 0x1401f90b0
inc r10
jmp 0x1401f9090
cmp rax, rcx
jae 0x1401f90c6
jmp 0x1401f9159
jb 0x1401f9159
mov eax, dword [0x1404bfcc4]
nop dword [rax]
mov eax, dword [0x1404bfcc0]
mov ecx, dword [0x140482910]
add ecx, eax
dec ecx
imul ecx, eax
test cl, 1
jne 0x1401f90d0
mov rcx, r15
call fcn.1401f93a0
mov rcx, qword [rbp - 8]
call fcn.1401f93a0
jmp 0x1401f8f90
mov r9d, 1
cmp rcx, r8
jne 0x1401f914d
cmp rax, rdx
jne 0x1401f914d
mov eax, dword [0x1404bfcc4]
cmp eax, 0x30
nop word [rax + rax]
mov rax, qword [r14 + 0x20]
mov rcx, qword [r14 + 0x28]
xor rax, qword [rsi + 0x20]
xor rcx, qword [rsi + 0x28]
or rcx, rax
sete al
mov ecx, dword [0x1404bfcc4]
cmp ecx, 0x31
jg 0x1401f9120
mov r9d, 0xffffffff
xor esi, esi
test al, al
jne 0x1401f915e
mov esi, r9d
jmp 0x1401f915e
mov esi, 0xffffffff
jmp 0x1401f915e
mov esi, 1
mov rax, qword [r15 + 0x18]
cmp rax, 8
jb 0x1401f91fd
movzx ecx, byte [0x140482918]
add cl, 0x2b
shl rax, cl
mov rcx, qword [r15]
lea rdx, [rax + 2]
cmp rdx, 0x1000
jb 0x1401f91e3
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
movabs rdx, 0xbf4a555f9d61ed4a
add rdx, qword [0x140482918]
cmp rcx, rdx
jae 0x1401f926a
mov rcx, rax
xor rcx, 0x29
nop word cs:[rax + rax]
mov edx, dword [0x1404bfcc0]
lea r9d, [rdx - 1]
imul r9d, edx
test r9b, 1
je 0x1401f91d9
test r14, r14
jmp 0x1401f91c0
and eax, 0x29
lea rdx, [rcx + rax*2]
mov rcx, r8
mov r9d, dword [0x140482910]
lea r8d, [r9 - 0x7fc03a1]
add r9d, 0xad06ff0d
call fcn.14009d7c0
mov qword [r15 + 0x10], 0
mov rax, qword [0x140482918]
movabs rdi, 0xbf4a555f9d61ed31
movabs rcx, 0x3f4a555f9d61ed31
and rcx, rax
xor rax, rdi
lea rax, [rax + rcx*2]
mov qword [r15 + 0x18], rax
mov word [r15], 0
mov rax, qword [r14 + 0x18]
cmp rax, 8
jb 0x1401f92f0
mov rcx, qword [r14]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1401f92df
add rax, rax
mov edx, dword [0x1404bfcc4]
cmp edx, 0x58
jg 0x1401f9290
jmp 0x1401f926f
call fcn.1403294cc
mov edx, 0xcb519edb
add edx, dword [0x140482910]
lea r8, [fcn.1401f8f50]
add r8d, r8d
add r8d, 0xde0
test r8d, edx
je 0x1401f92c4
mov edx, 0xcb519eda
nop word cs:[rax + rax]
mov r8d, dword [0x1404bfcc0]
lea r9d, [r8 - 1]
imul r9d, r8d
and r9d, 1
mov r8d, dword [0x140482910]
add r8d, edx
cmp r9d, r8d
jne 0x1401f92a0
jmp 0x1401f926f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1401f9318
add rax, 0x29
mov rdx, rax
mov rcx, r8
mov r8d, 0x2cb25d85
mov r9d, 0xe1b56033
call fcn.14009d7c0
mov qword [r14 + 0x10], 0
add rdi, qword [0x140482918]
mov qword [r14 + 0x18], rdi
mov word [r14], 0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call fcn.1403294cc
int3