Function at 0x1800011d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
movzx ebx, word [0x1801b24c4]
mov r9, rcx
mov r13, rdx
mov eax, 0xb7b
imul ebx, eax
mov ecx, 0x1903
movzx eax, word [0x1801b2504]
mov r10, r8
xor ax, cx
mov r12d, 0xc80
movzx r15d, ax
mov eax, 1
add qword [rdx], rax
mov rdx, qword [rdx]
movsxd rcx, dword [0x1801b2510]
mov rax, qword [0x1801b2498]
movzx ebp, byte [0x1801b2493]
movzx edi, word [r9 + rdx*2 + 2]
mov r11b, byte [r9 + rdx*8]
movzx eax, word [rax + rcx*2]
sub r11b, 0x4a
mov rcx, qword [0x1801b24d0]
add rax, 0x870
mov qword [rsp + 0x90], rax
mov rax, qword [0x1801b24f0]
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0xe0], ebx
mov qword [rsp + 0x78], r15
mov r14, qword [rcx + rax*8]
lea rcx, [r15 + r15*2]
mov rax, qword [0x1801b24b8]
mov qword [rsp + 0x80], rbp
movzx esi, word [rax + 0x9dc]
movzx eax, word [r9 + 0x39b8]
add rax, qword [0x1801b24e0]
mov qword [rsp + 0x88], rax
mov eax, dword [0x1801b24b4]
add eax, 0xd69
mov qword [rsp + 0x70], rsi
cdqe
dec rdx
mov qword [r13], rdx
mov r9, qword [r8]
mov r8, qword [0x1801b24b8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1801b24f0]
sub rax, qword [r10 + rcx*8]
movzx ecx, word [rdi + 0x1040]
and rax, rcx
shl rdx, 5
movzx ecx, word [r8 + r9*4]
add rax, qword [rdx + r14]
xor edx, edx
div rcx
mov eax, 0x11e9
mov word [r8 + r9*4], dx
mov r8d, 1
movzx ecx, word [0x1801b2504]
mov r9, qword [rsp + 0x118]
imul ecx, eax
mov rax, qword [r13]
mov word [r9 + rax*8], cx
mov rcx, qword [0x1801b24e0]
movzx eax, byte [0x1801b2496]
mov edi, dword [0x1801b24e8]
imul rax, rcx
add rcx, r8
xor rax, 0x92c
mov qword [0x1801b24e0], rcx
sub rax, qword [0x1801b24f8]
mov qword [0x1801b24f8], rax
mov eax, dword [0x1801b2510]
add eax, r8d
mov dword [0x1801b2510], eax
shl eax, 2
movsxd rcx, eax
movzx eax, word [rsi + rcx*2]
cmp edi, eax
jle 0x180001493
movzx r9d, word [0x1801b2504]
mov esi, edi
mov r13, qword [rsp + 0x118]
mov ebp, r15d
mov r15, qword [rsp + 0x68]
shl esi, 2
movsxd rax, esi
add r12w, r8w
movzx r8d, r12w
movsxd rbx, edi
mov rcx, qword [r14 + rax*8]
mov eax, dword [0x1801b24c4]
add rcx, rbx
lea eax, [rax*4 + 8]
movsxd rdx, eax
movzx edx, word [r13 + rdx*2]
xor rdx, r8
movzx r8d, r9w
call fcn.1800042a0
mov ecx, dword [0x1801b2510]
mov r11d, eax
mov rax, qword [rsp + 0x60]
add ecx, ecx
mov r9, qword [0x1801b24b8]
add esi, 4
movsxd rdx, ecx
mov rcx, qword [0x1801b24a8]
movzx r8d, byte [rdx + rax]
xor edx, edx
movzx eax, word [rcx + rbp*2]
add eax, 0x13dc
div r8d
mov eax, 0x261
mov r8d, 1
sub dx, word [r9 + rbx*2]
add dx, word [0x1801b2494]
mov word [r9 + rbx*2], dx
movzx r9d, word [r15 + 0x3b20]
or r9w, di
add edi, r8d
and r9w, ax
mov eax, dword [0x1801b2510]
add eax, r8d
mov word [0x1801b2504], r9w
mov dword [0x1801b2510], eax
shl eax, 2
movsxd rcx, eax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + rcx*2]
cmp edi, eax
jg 0x1800013a4
mov r13, qword [rsp + 0xe8]
mov r15, qword [rsp + 0x78]
mov ebx, dword [rsp + 0xe0]
mov rbp, qword [rsp + 0x80]
mov r9, qword [rsp + 0x118]
mov eax, dword [0x1801b24d8]
movzx edx, r15w
movzx esi, r11b
mov qword [rsp + 0xe8], rsi
lea eax, [rax*4 + 7]
movsxd rcx, eax
mov al, byte [r14 + rdx*8]
mov rdx, qword [rsp + 0x88]
mov byte [rcx + rdx], al
mov eax, 0xffff
add dword [0x1801b24d8], r8d
add r15w, ax
mov rdx, qword [rsp + 0x60]
movzx edi, r15w
mov qword [rsp + 0xe0], rdi
movzx eax, byte [rdi + rdx]
imul ecx, eax, 0xc3
mov byte [rdi + rdx], cl
xor edx, edx
movsxd rcx, dword [0x1801b24c4]
mov rax, qword [0x1801b2508]
movzx ecx, word [rax + rcx*4]
and word [0x1801b24c0], cx
mov rcx, qword [0x1801b24a0]
mov rax, qword [0x1801b24e0]
sub rax, r8
mov qword [0x1801b24e0], rax
div qword [rcx + rdi*8]
mov qword [rcx + rdi*8], rax
mov r8, qword [r13]
mov rax, qword [rsp + 0x108]
movzx ecx, word [r9 + r8*8 + 0xc]
mov eax, dword [rax + r8*4]
cdq
idiv ecx
mov rcx, qword [rsp + 0x100]
add eax, dword [rcx + r8*4]
movzx ecx, byte [0x1801b2492]
cdq
mov r8, qword [rsp + 0x90]
idiv ecx
xor edx, edx
movsxd rcx, eax
mov qword [0x1801b24f0], rcx
mov rcx, qword [0x1801b24a0]
movzx eax, r12w
div qword [rcx + r8*8]
mov rax, qword [0x1801b2498]
mov r8d, esi
mov rcx, rdx
movzx edx, word [rax + 0x34d0]
and edx, 0xbb3
call fcn.1800042a0
mov rdx, qword [rsp + 0x120]
mov rcx, qword [0x1801b24f0]
mov word [rdx + rcx*2], ax
mov rax, qword [rsp + 0x128]
movzx r12d, byte [0x1801b2493]
lea rax, [rax + rsi*2]
mov qword [rsp + 0x120], rax
movzx eax, byte [rsi + rax + 2]
cmp r12d, eax
jbe 0x18000171a
lea r15, [r12*2]
lea rax, [r12 + r12*2]
add r15, rbp
lea r8, [r14 + rax*8]
add r15, r12
mov qword [rsp + 0x118], r8
mov rax, qword [r8]
xor edx, edx
movsxd r8, dword [0x1801b24dc]
movzx r11d, word [0x1801b2504]
mov r9, r8
movsxd r14, dword [0x1801b24b0]
movzx ecx, bx
div rcx
mov rcx, qword [r13]
lea r13, [r13 - 8]
mov rbp, rax
mov rax, qword [rsp + 0x108]
lea rdx, [rcx + rcx*2]
movsxd rcx, dword [0x1801b24e8]
movsxd rsi, dword [rax + rdx*4]
mov rax, qword [rsp + 0x100]
and rsi, rcx
movzx ecx, byte [0x1801b2492]
imul ecx, dword [rax + rdi*4]
mov rax, qword [0x1801b24b8]
movsxd rdi, ecx
mov ecx, dword [0x1801b24c4]
add ecx, 6
movsxd rdx, ecx
movzx ecx, word [rax + rdx*2]
mov eax, r8d
sub eax, ecx
inc r8d
movsxd rbx, eax
mov rcx, r14
mov dword [0x1801b24dc], r8d
mov rax, qword [r13]
movzx r10d, byte [r15]
add r10w, r8w
mov r8, rsi
lea rdx, [rax + rax*2]
imul eax, dword [rdx*4 + 0x66d], 0x1649
movsxd rdx, eax
mov qword [rsp + 0x50], rdx
mov rdx, rbp
mov word [rsp + 0x48], r10w
mov qword [rsp + 0x40], 0x3f2
mov dword [rsp + 0x38], r11d
movsxd rax, r12d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.1800085a4
mov r8, qword [rsp + 0x118]
lea r15, [r15 + 3]
mov rcx, qword [rsp + 0x120]
movzx ebx, ax
mov rax, qword [rsp + 0xe8]
add r8, 0x18
mov rdi, qword [rsp + 0xe0]
inc r12d
mov qword [rsp + 0x118], r8
movzx eax, byte [rax + rcx + 2]
cmp r12d, eax
jg 0x1800015f7
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
mov eax, dword [rax + 0x75e8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret