Function at 0x14008e848
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x328]
sub rsp, 0x428
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r15, r9
mov qword [rsp + 0x78], r8
mov qword [rbp - 0x80], rdx
mov r12, rcx
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x70], rax
mov rsi, qword [rbp + 0x398]
mov rax, qword [rbp + 0x3a0]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x3b0]
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [rax + 8], r14
mov r13d, r14d
xor edx, edx
lea r8d, [r14 + 0x60]
lea rcx, [rbp - 0x68]
call fcn.1400a2620
lea edx, [r14 + 1]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], 0x927c0
mov dword [rbp - 0x70], 0x68
mov eax, dword [0x1400c3580]
mov dword [rbp + 0x118], eax
movzx eax, word [0x1400c3584]
mov word [rbp + 0x11c], ax
lea ecx, [rdx + 3]
mov al, byte [rbp + rcx + 0x117]
xor byte [rbp + rcx + 0x118], al
sub rcx, rdx
test rcx, rcx
jg 0x14008e910
xor byte [rbp + 0x118], 0xe
or eax, 0xffffffff
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x10], eax
mov rdx, r12
lea rcx, [rbp + 0x78]
call fcn.14009c514
nop
mov rbx, qword [r12 + 0x10]
lea rdi, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae rdi, qword [rbp + 0x78]
mov edx, 0xa83e62c
mov ecx, 0x9cacbdc
call fcn.14009de44
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call rax
test eax, eax
jne 0x14008e99a
cmp qword [rbp + 0x90], 8
jb 0x14008e993
mov rcx, qword [rbp + 0x78]
call fcn.14009f17c
xor eax, eax
jmp 0x14008f0cf
mov rdx, qword [rbp - 0x58]
test rdx, rdx
jne 0x14008e9a5
jmp 0x14008e980
mov ebx, 7
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x38], r14
mov word [rbp + 0x28], r14w
lea rcx, [rbp + 0x28]
call fcn.14007dd94
nop
xor r8d, r8d
lea rdx, [0x1400c3588]
lea rcx, [rbp + 0x28]
call fcn.14008f0f4
cmp rax, 0xffffffffffffffff
je 0x14008ea0b
mov r9, rax
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp + 0x28]
call fcn.14008f204
nop
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14007efe0
nop
cmp qword [rbp + 0x18], 8
jb 0x14008ea0b
mov rcx, qword [rbp]
call fcn.14009f17c
lea rcx, [rbp + 0x120]
lea rdx, [0x1400c3590]
mov r8d, 0xe8
call fcn.14009e430
mov r11d, 0x72
movzx eax, word [rbp + r11*2 + 0x11e]
xor word [rbp + r11*2 + 0x120], ax
dec r11
test r11, r11
jg 0x14008ea2a
mov eax, 0x3fcd
xor word [rbp + 0x120], ax
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x60], r14
mov word [rbp + 0x50], r14w
cmp qword [rbp - 0x18], r14
je 0x14008ea80
mov ecx, 0x2f
mov rdx, qword [rbp - 0x28]
lea rax, [rdx + 2]
cmp cx, word [rdx]
cmove rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14007dd94
cmp qword [rsi + 0x10], r14
jbe 0x14008ea8d
mov edi, 3
jmp 0x14008ea9f
call fcn.14008e7c8
mov edi, r14d
test eax, eax
mov eax, 4
cmovne edi, eax
mov rdx, rsi
lea rcx, [rbp + 0xc8]
call fcn.14009c514
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14008eabb
mov rbx, qword [rax]
mov edx, 0xbeb644e
mov esi, 0x9cacbdc
mov ecx, esi
call fcn.14009de44
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, rbx
mov edx, edi
lea rcx, [rbp + 0x120]
call rax
mov r14, rax
cmp qword [rbp + 0xe0], 8
jb 0x14008eafb
mov rcx, qword [rbp + 0xc8]
call fcn.14009f17c
mov ebx, 7
mov qword [rbp + 0xe0], rbx
xor edi, edi
mov qword [rbp + 0xd8], rdi
mov word [rbp + 0xc8], di
test r14, r14
je 0x14008f081
mov edx, 0x8d917be
mov ecx, esi
call fcn.14009de44
lea ebx, [rdi + 4]
mov r9d, ebx
lea r8, [rsp + 0x48]
lea edx, [rdi + 5]
mov rcx, r14
call rax
mov dword [rsp + 0x48], 0x927c0
mov edx, 0x8d917be
mov ecx, esi
call fcn.14009de44
mov r9d, ebx
lea r8, [rsp + 0x48]
lea edx, [rdi + 6]
mov rcx, r14
call rax
lea r9d, [rdi + 5]
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r12
call fcn.14008c0c0
cmp qword [rax + 0x18], 0x10
jb 0x14008eb80
mov rax, qword [rax]
lea rdx, [rbp + 0x118]
mov rcx, rax
call fcn.14009f66c
test eax, eax
sete bl
cmp qword [rbp + 0x18], 0x10
jb 0x14008eba4
mov rcx, qword [rbp]
call fcn.14009f17c
test bl, bl
je 0x14008ec17
mov dword [rsp + 0x40], 0xa8
mov edx, 0x8d917be
mov ecx, esi
call fcn.14009de44
mov ebx, 4
mov r9d, ebx
lea r8, [rsp + 0x40]
lea edx, [rbx + 0x50]
mov rcx, r14
call rax
mov dword [rsp + 0x4c], ebx
mov edx, 0x4df3d7e
mov ecx, esi
call fcn.14009de44
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea edx, [rbx + 0x1b]
mov rcx, r14
call rax
or dword [rsp + 0x40], 0x3300
mov edx, 0x8d917be
mov ecx, esi
call fcn.14009de44
mov r9d, ebx
lea r8, [rsp + 0x40]
lea edx, [rbx + 0x1b]
mov rcx, r14
call rax
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rbx, qword [rbp + 0x28]
mov edx, 0xa8cf504
mov ecx, esi
call fcn.14009de44
xor r9d, r9d
movzx r8d, word [rbp - 0x4c]
mov rdx, rbx
mov rcx, r14
call rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14008f06b
mov r9d, 5
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r12
call fcn.14008c0c0
cmp qword [rax + 0x18], 0x10
jb 0x14008ec6e
mov rax, qword [rax]
lea rdx, [rbp + 0x118]
mov rcx, rax
call fcn.14009f66c
test eax, eax
sete bl
cmp qword [rbp + 0x18], 0x10
jb 0x14008ec92
mov rcx, qword [rbp]
call fcn.14009f17c
mov eax, 0x800000
test bl, bl
cmovne edi, eax
mov rdx, r15
lea rcx, [rbp]
call fcn.14009c514
mov rbx, rax
lea rsi, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rsi, qword [rbp + 0x50]
cmp qword [rax + 0x18], 8
jb 0x14008ecc3
mov rbx, qword [rax]
mov edx, 0x67ef924
mov ecx, 0x9cacbdc
call fcn.14009de44
mov dword [rsp + 0x30], edi
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov r15, qword [rsp + 0x50]
mov rcx, r15
call rax
mov rsi, rax
mov qword [rsp + 0x50], rax
cmp qword [rbp + 0x18], 8
jb 0x14008ed0d
mov rcx, qword [rbp]
call fcn.14009f17c
test rsi, rsi
je 0x14008f055
mov edx, 0x8d917be
mov ebx, 0x9cacbdc
mov ecx, ebx
call fcn.14009de44
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x3b]
mov rcx, rsi
call rax
mov dword [rsp + 0x44], 3
call fcn.14008e7c8
test eax, eax
je 0x14008ed6c
mov edx, 0x8d917be
mov ecx, ebx
call fcn.14009de44
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x72]
mov rcx, rsi
call rax
mov dword [rsp + 0x44], edi
mov edx, 0x8d917be
mov ecx, ebx
call fcn.14009de44
mov r9d, 4
lea r8, [rsp + 0x44]
lea edx, [r9 + 0x54]
mov rcx, rsi
call rax
mov r9d, 5
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r12
call fcn.14008c0c0
cmp qword [rax + 0x18], 0x10
jb 0x14008edaf
mov rax, qword [rax]
lea rdx, [rbp + 0x118]
mov rcx, rax
call fcn.14009f66c
test eax, eax
sete bl
cmp qword [rbp + 0x18], 0x10
jb 0x14008edd3
mov rcx, qword [rbp]
call fcn.14009f17c
test bl, bl
je 0x14008ee31
mov dword [rsp + 0x40], edi
mov r12d, 4
mov dword [rsp + 0x4c], r12d
mov edx, 0x4df3d7e
mov ebx, 0x9cacbdc
mov ecx, ebx
call fcn.14009de44
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea edx, [r12 + 0x1b]
mov rcx, rsi
call rax
or dword [rsp + 0x40], 0x3300
mov edx, 0x8d917be
mov ecx, ebx
call fcn.14009de44
mov r9d, r12d
lea r8, [rsp + 0x40]
lea edx, [r12 + 0x1b]
mov rcx, rsi
call rax
mov r12, qword [rsp + 0x70]
mov rax, qword [r12 + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14008ef46
lea rdx, [rbx + 0x18]
lea rcx, [rbp + 0xa0]
call fcn.14008f3a0
nop
lea r8, [rbx + 0x40]
mov rdx, rax
lea rcx, [rbp]
call fcn.14008f44c
nop
cmp qword [rbp + 0xb8], 0x10
jb 0x14008ee7f
mov rcx, qword [rbp + 0xa0]
call fcn.14009f17c
mov qword [rbp + 0xb8], 0xf
and qword [rbp + 0xb0], 0
mov byte [rbp + 0xa0], 0
lea rdx, [rbp]
lea rcx, [rbp + 0xf0]
call fcn.14009c514
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x14008eeb6
mov rdi, qword [rax]
mov edx, 0xc9be023
mov ecx, 0x9cacbdc
call fcn.14009de44
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call rax
nop
cmp qword [rbp + 0x108], 8
jb 0x14008eeef
mov rcx, qword [rbp + 0xf0]
call fcn.14009f17c
nop
cmp qword [rbp + 0x18], 0x10
jb 0x14008eeff
mov rcx, qword [rbp]
call fcn.14009f17c
xor edi, edi
cmp byte [rbx + 0x69], dil
jne 0x14008ef3b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x69], dil
jne 0x14008ef1f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], dil
je 0x14008ef11
jmp 0x14008ef3b
mov rax, qword [rbx + 8]
jmp 0x14008ef32
cmp rbx, qword [rax + 0x10]
jne 0x14008ef38
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], dil
je 0x14008ef25
mov rbx, rax
cmp rbx, qword [r12 + 8]
jne 0x14008ee47
mov edx, 0x6711784
mov ebx, 0x9cacbdc
mov ecx, ebx
call fcn.14009de44
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov r9, qword [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x14008f03f
mov edx, 0xab93785
mov ecx, ebx
call fcn.14009de44
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x14008f03f
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.14008e2ec
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14008e210
xor edx, edx
mov r8d, 0xfe
lea rcx, [rbp + 0x212]
call fcn.1400a2620
mov dword [rsp + 0x40], 0x100
mov word [rbp + 0x210], di
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14008f021
mov edx, 0x53e9ea3
mov ecx, ebx
call fcn.14009de44
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x210]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, rsi
call rax
mov r11d, dword [rsp + 0x40]
mov word [rbp + r11*2 + 0x210], di
lea rcx, [rbp + 0x210]
call fcn.14009f6b4
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
test eax, eax
mov eax, 1
cmovne r13d, eax
test rsi, rsi
je 0x14008f055
mov edx, 0x74e5405
mov ecx, ebx
call fcn.14009de44
mov rcx, rsi
call rax
mov edx, 0x74e5405
mov esi, 0x9cacbdc
mov ecx, esi
call fcn.14009de44
mov rcx, r15
call rax
mov edx, 0x74e5405
mov ecx, esi
call fcn.14009de44
mov rcx, r14
call rax
mov ebx, 7
cmp qword [rbp + 0x68], 8
jb 0x14008f091
mov rcx, qword [rbp + 0x50]
call fcn.14009f17c
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x60], rdi
mov word [rbp + 0x50], di
cmp qword [rbp + 0x40], 8
jb 0x14008f0ad
mov rcx, qword [rbp + 0x28]
call fcn.14009f17c
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x38], rdi
mov word [rbp + 0x28], di
cmp qword [rbp + 0x90], 8
jb 0x14008f0cc
mov rcx, qword [rbp + 0x78]
call fcn.14009f17c
mov eax, r13d
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14009e400
add rsp, 0x428
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret