Function at 0x1400158bc
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 [0x140046180]
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 0x140015c45
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 [str._R_0Der]
mov qword [rbp + 0xb0], rax
movzx eax, word [0x14003a878]
mov word [rbp + 0xb8], ax
mov ecx, 8
mov al, byte [rbp + rcx + 0xaf]
xor byte [rbp + rcx + 0xb0], al
dec rcx
test rcx, rcx
jg 0x140015957
xor byte [rbp + 0xb0], 0x5d
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.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x1400159de
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x1400159ff
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
mov rax, qword [0x14003a880]
mov qword [rbp + 0xc0], rax
mov eax, dword [0x14003a888]
mov dword [rbp + 0xc8], eax
movzx eax, word [0x14003a88c]
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 0x140015a2c
xor byte [rbp + 0xc0], 0x69
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.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140015ab3
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140015ad4
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
mov rax, qword [0x14003a890]
mov qword [rbp + 0xd0], rax
mov eax, dword [0x14003a898]
mov dword [rbp + 0xd8], eax
movzx eax, word [0x14003a89c]
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 0x140015b01
xor byte [rbp + 0xd0], 0xbb
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.140002348
nop
lea rdx, [rbx + 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.14001d7c0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400052c0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140015b88
mov rcx, qword [rsp + 0x60]
call fcn.1400233e4
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
cmp qword [rsp + 0x50], 0x10
jb 0x140015ba9
mov rcx, qword [rsp + 0x38]
call fcn.1400233e4
cmp qword [rbp - 0x60], rsi
je 0x140015bf8
cmp qword [rbp - 0x38], rsi
je 0x140015bf8
cmp qword [rbp - 0x10], rsi
je 0x140015bf8
lea r8, [rbp - 0x70]
lea rdx, [rbx + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140016134
nop
mov r8, rax
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.14000aee0
nop
lea rcx, [rbp + 0x38]
call fcn.140009ce0
cmp qword [rbp + 0x28], 0x10
jb 0x140015bf8
mov rcx, qword [rbp + 0x10]
call fcn.1400233e4
nop
lea rcx, [rbp - 0x70]
call fcn.140009ce0
cmp byte [rbx + 0x69], sil
jne 0x140015c3b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], sil
jne 0x140015c1f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], sil
je 0x140015c11
jmp 0x140015c3b
mov rax, qword [rbx + 8]
jmp 0x140015c32
cmp rbx, qword [rax + 0x10]
jne 0x140015c38
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], sil
je 0x140015c25
mov rbx, rax
cmp rbx, qword [r13 + 8]
jne 0x140015912
cmp qword [r14 + 0x10], rsi
sete sil
mov eax, esi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140022ee0
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret