Function at 0x14008d9e8
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, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp - 0x38], rdx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x50], r14d
lea rdx, [0x1400d8098]
lea rcx, [rsp + 0x60]
call fcn.14008005c
nop
lea rcx, [rbp - 0x60]
call fcn.14007e1d8
nop
lea rcx, [rbp - 0x80]
call fcn.14007e1d8
nop
mov qword [rsp + 0x70], r14
mov ecx, 0x400
mov qword [rsp + 0x78], rcx
call fcn.14008f4d8
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x58], r14d
mov dword [rbp + 0x48], 0xa6d6a2d6
mov dword [rbp + 0x4c], 0xefc0efd5
mov dword [rbp + 0x50], 0xb698ef98
mov dword [rbp + 0x54], 0xb6d1bed1
mov dword [rbp + 0x58], 0xaedebfda
mov dword [rbp + 0x5c], 0xf99ab4c7
mov dword [rbp + 0x60], 0xd4d4fb96
lea ecx, [r14 + 0x1b]
mov al, byte [rbp + rcx + 0x47]
xor byte [rbp + rcx + 0x48], al
dec rcx
test rcx, rcx
jg 0x14008daaa
xor byte [rbp + 0x48], 0xbe
mov rcx, qword [r12 + 0x30]
sub rcx, qword [r12 + 0x28]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
mov r15d, 0xf
add rdx, rax
je 0x14008dbbd
mov qword [rbp + 0x10], r15
mov qword [rbp + 8], r14
mov byte [rbp - 8], r14b
xor r8d, r8d
lea rdx, [0x1400c4580]
lea rcx, [rbp - 8]
call fcn.14007df84
nop
mov dword [rsp + 0x50], 1
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
lea r8d, [r15 - 0xb]
lea rdx, str.POST
lea rcx, [rbp - 0x30]
call fcn.14007df84
nop
mov dword [rsp + 0x50], 3
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov byte [rbp + 0x20], r14b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x48]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14007df84
nop
lea esi, [r15 - 8]
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.14008e848
test eax, eax
mov dil, 1
je 0x14008dbc0
mov dil, r14b
test sil, 4
je 0x14008dbe9
and esi, 0xfffffffb
mov dword [rsp + 0x50], esi
cmp qword [rbp + 0x38], 0x10
jb 0x14008dbdd
mov rcx, qword [rbp + 0x20]
call fcn.14009f17c
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x30], r14
mov byte [rbp + 0x20], r14b
test sil, 2
je 0x14008dc12
and esi, 0xfffffffd
mov dword [rsp + 0x50], esi
cmp qword [rbp - 0x18], 0x10
jb 0x14008dc06
mov rcx, qword [rbp - 0x30]
call fcn.14009f17c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
test sil, 1
je 0x14008dc2f
and esi, 0xfffffffe
mov dword [rsp + 0x50], esi
cmp qword [rbp + 0x10], 0x10
jb 0x14008dc2f
mov rcx, qword [rbp - 8]
call fcn.14009f17c
test dil, dil
je 0x14008dda4
mov rbx, qword [r12 + 0x28]
jmp 0x14008dd05
mov qword [rbp + 0x10], r15
mov qword [rbp + 8], r14
mov byte [rbp - 8], r14b
mov r8d, 4
lea rdx, str.POST
lea rcx, [rbp - 8]
call fcn.14007df84
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x48]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x30]
call fcn.14007df84
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 8]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14008e848
mov edi, eax
cmp qword [rbp - 0x18], 0x10
jb 0x14008dce1
mov rcx, qword [rbp - 0x30]
call fcn.14009f17c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
cmp qword [rbp + 0x10], 0x10
jb 0x14008dcfd
mov rcx, qword [rbp - 8]
call fcn.14009f17c
test edi, edi
jne 0x14008dd15
add rbx, 0x28
cmp rbx, qword [r12 + 0x30]
jne 0x14008dc42
jmp 0x14008dda4
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call fcn.14007e3c8
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x10], r14
mov byte [r13], r14b
mov r9, rdi
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call fcn.14007e3c8
or esi, 8
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x68]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x78]
call fcn.14009f17c
nop
mov r8, qword [rbp - 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x58]
call fcn.14009f17c
nop
jmp 0x14008de33
mov qword [r12 + 0x10], r14
cmp qword [r12 + 0x18], 0x10
jb 0x14008ddb7
mov rax, qword [r12]
jmp 0x14008ddba
mov rax, r12
mov byte [rax], r14b
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x10], r14
mov byte [r13], r14b
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call fcn.14007e3c8
or esi, 8
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x68]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x78]
call fcn.14009f17c
nop
mov r8, qword [rbp - 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x58]
call fcn.14009f17c
nop
lea rcx, [rsp + 0x60]
call fcn.140080094
mov rax, r13
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.14009e400
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret