Function at 0x14000d1c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov byte [rsp + 0x10], dl
push rsi
push rdi
push r12
push r13
push r14
push r15
movzx eax, byte [0x141522b60]
mov r12, r8
mov rdx, qword [0x141522c08]
mov r14d, eax
movsxd r11, dword [0x141522ba4]
add al, 0xff
mov byte [0x141522b60], al
add rdx, rdx
imul eax, dword [0x141522c34], 0xcd7
mov r10, rcx
mov rsi, qword [rsp + 0x60]
mov edi, 0x3d3
mov ebp, 0x16cf
mov rbx, r9
movsxd r13, eax
movzx eax, word [r8 + rcx*2]
mov r8, qword [rsp + 0x68]
sub rax, rcx
mov rcx, qword [0x141522be0]
mov qword [rsp + 0x38], rax
mov rax, qword [0x141522b68]
sub di, word [rax + rdx*8]
xor edx, edx
mov eax, 0x1065
div r8
mov r15, rax
mov al, byte [rcx + r8*4]
mov byte [rsp + 0x40], al
lea rcx, [r8 + r8*2]
movzx r8d, word [r9 + rcx*2 + 4]
mov rax, qword [0x141522ba8]
movzx ecx, word [r11]
mov eax, dword [rax + 0x1f28]
cdq
idiv r8d
movsxd r9, edx
movzx edx, word [r12 + rcx*8]
movsxd rcx, dword [0x141522b8c]
xor rdx, rcx
and rdx, qword [rsi + r10*8 + 0x30]
imul rax, rdx, 0x65c
xor edx, edx
sub rax, qword [0x141522b78]
mov qword [0x141522b78], rax
movzx ecx, byte [rbp]
mov al, byte [0x141522c24]
mov rbp, qword [rsp + 0x70]
sub al, byte [rcx + rbp]
sub al, 9
mov byte [rcx + rbp], al
mov rax, qword [0x141522c18]
movzx ecx, word [0x141522c30]
movzx r8d, word [r11]
shl rax, 4
mov rax, qword [rax - 0xf8a]
div rcx
xor edx, edx
div qword [rsp + 0x58]
or dword [r9 + r8*8 + 0x18], edx
mov rax, qword [0x141522c28]
cmp qword [rax*8 - 0xf9a], r10
jae 0x14000d429
movzx eax, byte [0x141522b63]
cmp rax, qword [rsp + 0x58]
ja 0x14000d429
movzx eax, word [r11]
mov r9d, 0x16cf
movzx r11d, word [rbx + rax*8 + 0xc]
movzx eax, byte [r9]
movzx ecx, byte [rax + rbp]
cmp r11d, ecx
jb 0x14000d49b
mov r10d, r11d
movzx r15d, di
shl r10, 4
lea rdi, [r11*2 + 1]
add r10, r13
lea r14, [r11*4 + 0x16cf]
mov r13, qword [rsp + 0x38]
mov ebx, 1
movzx ecx, word [rdi + r13 - 1]
xor edx, edx
movsxd r8, r11d
add r11d, ebx
mov rax, r8
sub rax, r15
sub rax, qword [r10]
lea r10, [r10 + 0x10]
div rcx
mov rcx, qword [rsp + 0x68]
xor edx, edx
mov word [rdi + r13 - 1], ax
add rcx, r8
mov rax, qword [0x141522c08]
sub rax, rbx
mov qword [0x141522c08], rax
mov rax, qword [rsi + rax*8]
xor rax, rcx
movzx ecx, byte [r14]
sub rax, r8
div rcx
mov byte [r14], dl
lea r14, [r14 + 4]
add byte [r9], bl
movzx edx, byte [r9]
mov eax, dword [0x141522c34]
mov rcx, qword [0x141522be0]
xor dword [rcx + rdx*4], eax
mov eax, dword [0x141522c20]
mov rcx, qword [0x141522b70]
sub eax, ebx
mov r9, qword [0x141522bf8]
mov dword [0x141522c20], eax
add eax, 4
movsxd r8, eax
movzx eax, word [0x141522c40]
movzx eax, word [r12 + rax*2]
cdq
idiv dword [rcx + r8*4]
cdq
idiv dword [0x141522ba4]
or byte [rdi + r9], al
mov r9d, 0x16cf
add word [0x141522c40], bx
lea rdi, [rdi + 2]
movzx eax, byte [r9]
movzx ecx, byte [rax + rbp]
cmp r11d, ecx
jge 0x14000d359
jmp 0x14000d49b
movzx ecx, byte [0x3926]
xor edx, edx
mov eax, 0x1838
mov ebx, 1
div ecx
movzx ecx, dx
mov rdx, qword [0x141522c08]
movzx eax, word [r15 + rdx*8 + 8]
imul eax, ecx
mov word [r12 + rdx*4], ax
mov eax, 0x16cf
add byte [rax], bl
movzx eax, byte [rax]
movsxd rcx, dword [r14 + rax*4]
lea rax, [rax + rax*2]
add rcx, qword [rsi + rax*8 + 0x10]
movsxd rax, dword [0x141522c24]
add rcx, rax
movzx eax, word [r11]
add rax, 2
shl rax, 5
mov qword [rax + rsi], rcx
movzx eax, byte [rsp + 0x40]
sub rax, qword [0x141522bc0]
mov qword [0x141522bc0], rax
mov rbx, qword [rsp + 0x48]
xor eax, eax
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret