Function at 0x140085408
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x1f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, rdx
mov r14, rcx
mov rax, qword [rdx + 8]
mov rbx, qword [rax]
xor esi, esi
cmp rbx, rax
je 0x14008578f
lea r15d, [rsi + 0xf]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x70], sil
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], sil
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], rsi
mov byte [rbp - 0x20], sil
mov rax, qword [0x1400c2f08]
mov qword [rbp + 0xb0], rax
mov al, byte [0x1400c2f10]
mov byte [rbp + 0xb8], al
mov ecx, 7
mov al, byte [rbp + rcx + 0xaf]
xor byte [rbp + rcx + 0xb0], al
dec rcx
test rcx, rcx
jg 0x1400854a1
xor byte [rbp + 0xb0], 0x7e
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xb0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x38]
call fcn.14007df84
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140099274
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140080dac
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140085528
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140085549
mov rcx, qword [rsp + 0x38]
call fcn.14009f17c
mov rax, qword [0x1400c2f18]
mov qword [rbp + 0xc0], rax
mov eax, dword [0x1400c2f20]
mov dword [rbp + 0xc8], eax
movzx eax, word [0x1400c2f24]
mov word [rbp + 0xcc], ax
mov ecx, 0xc
mov al, byte [rbp + rcx + 0xbf]
xor byte [rbp + rcx + 0xc0], al
dec rcx
test rcx, rcx
jg 0x140085576
xor byte [rbp + 0xc0], 0xeb
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xc0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.14007df84
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140099274
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140080dac
nop
cmp qword [rsp + 0x78], 0x10
jb 0x1400855fd
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x14008561e
mov rcx, qword [rsp + 0x38]
call fcn.14009f17c
mov rax, qword [str.K.H:__Deo]
mov qword [rbp + 0xd0], rax
mov eax, dword [0x1400c2f30]
mov dword [rbp + 0xd8], eax
movzx eax, word [0x1400c2f34]
mov word [rbp + 0xdc], ax
mov ecx, 0xc
mov al, byte [rbp + rcx + 0xcf]
xor byte [rbp + rcx + 0xd0], al
dec rcx
test rcx, rcx
jg 0x14008564b
xor byte [rbp + 0xd0], 0x39
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0xd0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.14007df84
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140099274
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140080dac
nop
cmp qword [rsp + 0x78], 0x10
jb 0x1400856d2
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x1400856f3
mov rcx, qword [rsp + 0x38]
call fcn.14009f17c
cmp qword [rbp - 0x60], rsi
je 0x140085742
cmp qword [rbp - 0x38], rsi
je 0x140085742
cmp qword [rbp - 0x10], rsi
je 0x140085742
lea r8, [rbp - 0x70]
lea rdx, [rbx + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140091948
nop
mov r8, rax
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140086270
nop
lea rcx, [rbp + 0x38]
call fcn.140090d3c
cmp qword [rbp + 0x28], 0x10
jb 0x140085742
mov rcx, qword [rbp + 0x10]
call fcn.14009f17c
nop
lea rcx, [rbp - 0x70]
call fcn.140090d3c
cmp byte [rbx + 0x69], sil
jne 0x140085785
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], sil
jne 0x140085769
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], sil
je 0x14008575b
jmp 0x140085785
mov rax, qword [rbx + 8]
jmp 0x14008577c
cmp rbx, qword [rax + 0x10]
jne 0x140085782
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], sil
je 0x14008576f
mov rbx, rax
cmp rbx, qword [r13 + 8]
jne 0x14008545e
cmp qword [r14 + 0x10], rsi
sete sil
mov eax, esi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14009e400
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret