Function at 0x18001958c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov r9, qword [0x18002f8b8]
mov r15, rcx
movsxd rax, dword [0x18002f910]
mov r14, r8
mov r11d, dword [0x18002f914]
mov r12, rdx
movzx edi, word [0x18002f8dc]
inc r11d
mov rsi, qword [0x18002f920]
mov ebx, edi
mov qword [rsp + 0x88], rax
movabs rax, 0x95a02568095a0257
mul r9
mov dword [0x18002f914], r11d
movzx r8d, byte [r8]
mov rax, rdx
shr rax, 8
mov edx, 0xe84
mov qword [rsp + 0x98], rax
mov rax, qword [0x18002f8f0]
movsxd rcx, r11d
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x60], rbx
movsxd rax, dword [rax + rcx*4]
mov rcx, qword [0x18002f918]
mov qword [rsp + 0x48], rax
mov rax, qword [0x18002f8f8]
add rax, rax
movzx r10d, word [rcx + rax*8 + 0x38]
movzx ecx, word [r12]
add r10w, dx
movzx edx, byte [r14 + 0x538]
movsxd rax, dword [0x18002f8d8]
add rax, qword [0x18002f930]
movzx r13d, byte [rcx + r14 + 0x1d]
mov qword [rsp + 0x58], rax
movzx eax, word [r15 + rcx*4]
add eax, dword [0x18002f944]
cdqe
mov qword [rsp + 0x68], rax
mov rax, qword [0x18002f8d0]
mov qword [rsp + 0x80], rax
mov al, byte [r14 + r8*2]
xor al, 0x8e
mov word [rsp + 0x118], r10w
mov byte [rsp + 0x100], al
movzx eax, byte [r14 + 0x8b]
add r13d, eax
mov rax, qword [0x18002f900]
mov ecx, dword [rax + r8*4]
mov r8d, dword [0x18002f948]
sub ecx, edx
movsxd rbp, ecx
mov qword [rsp + 0x78], rbp
lea eax, [r8 + r8*2]
movsxd rcx, eax
movzx eax, byte [rcx + r14]
lea ecx, [r13 + 2]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
movsxd rdx, dword [rax + rcx*4]
mov rax, r9
mov ecx, 1
sub r9, rcx
mov qword [0x18002f8b8], r9
cmp rdx, rax
jne 0x1800197ce
mov rdx, qword [0x18002f918]
sub r8d, ecx
mov dword [0x18002f948], r8d
lea eax, [r8 + 4]
movsxd rcx, eax
mov rax, qword [0x18002f908]
mov edx, dword [rdx + rcx*8]
or edx, dword [rax + 0x6658]
mov eax, dword [0x18002f8a4]
add eax, 7
lea eax, [rax + rax*2]
cdqe
movzx ecx, byte [rax + r14]
mov rax, qword [rsp + 0x48]
add edx, ecx
sub edx, dword [0x18002f8c4]
mov rcx, qword [0x18002f8f8]
mov dword [0x18002f8c4], edx
xor edx, edx
lea rax, [rax + rcx*2]
movzx ecx, byte [rcx + rax + 7]
mov rax, qword [0x18002f8e8]
div rcx
movzx ecx, byte [rsp + 0x100]
mov rax, rdx
xor edx, edx
div rcx
mov r8, rax
mov eax, dword [0x18002f948]
lea eax, [rax + rax*2]
movsxd rcx, eax
mov dword [rcx*4 + 0x71d], r8d
movzx eax, word [0x18002f938]
mov edx, dword [0x18002f8a0]
movzx ecx, byte [rax + r14 + 1]
movzx eax, word [r12]
sub edx, ecx
mov rcx, qword [rsp + 0x80]
movzx eax, word [r12 + rax*2]
and eax, edx
cdq
idiv dword [rcx + r13*4]
mov dword [rcx + r13*4], eax
jmp 0x18001a381
mov r8d, 1
movzx edx, r10w
add di, r8w
lea rax, [rbx + rbx*2]
mov ecx, dword [rbp + rax*4]
mov word [0x18002f8dc], di
cmp edx, ecx
je 0x180019813
lea eax, [r11*2 + 7]
movsxd rcx, eax
mov eax, dword [0x18002f8c4]
cdq
idiv dword [rbx + rcx*4]
mov dword [rbx + rcx*4], edx
add dword [0x18002f8c4], r8d
jmp 0x18001a381
sub r11d, r8d
mov dword [0x18002f914], r11d
lea eax, [r11 + r11]
mov r11, qword [rsp + 0x98]
movsxd rcx, eax
movzx eax, byte [rcx + r11]
cmp rax, qword [0x18002f928]
jne 0x18001990e
cmp r10w, word [0x18002f940]
je 0x18001990e
add r13d, r8d
lea eax, [r13 + 2]
movzx eax, byte [rax + rsi]
cmp di, ax
jne 0x18001990e
movzx eax, word [r12]
mov byte [r11 + rax*2], dil
movzx eax, byte [r14]
movzx eax, byte [r14 + rax*2]
cdq
idiv dword [0x18002f8d8]
mov rax, qword [0x18002f8f8]
mov dword [0x18002f8d8], edx
movzx ecx, word [r12 + rax*4 + 4]
movsxd rax, dword [0x18002f8c0]
and rcx, rax
movzx eax, byte [rsi]
sub rsi, r8
mov qword [rax*8 + 0x685], rcx
sub qword [0x18002f8f8], r8
movzx eax, byte [rsp + 0x100]
cdq
idiv dword [0x18002f910]
mov eax, 0xffff
mov dword [0x18002f910], edx
add word [r12], ax
movsxd r9, dword [0x18002f8a0]
mov al, byte [0x18002f944]
movzx r10d, word [r12]
or al, 0x26
movzx ecx, al
mov rax, r11
movzx r8d, byte [r9*8 + 0x67d]
mov r11d, 1
imul r8d, ecx
lea rax, [rax + r10*2]
sub r8b, r9b
mov byte [r10 + rax], r8b
add dword [0x18002f8a0], r11d
jmp 0x180019ba0
movzx ecx, byte [rsi]
mov r9d, r13d
movzx eax, word [r15]
sub r13d, r8d
mov rdi, qword [rsp + 0x90]
movsxd rbp, r13d
lea rdx, [rax + rax*2]
mov rax, qword [0x18002f8a8]
movzx ecx, word [rax + rcx*4 + 0x20]
sub cx, word [r12 + rdx*2 + 8]
mov word [r15 + rdx*2], cx
movzx ecx, byte [rsi]
add rsi, r8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rsi
movzx eax, word [rax + rcx*2]
xor word [r15 + rcx*4], ax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
movzx ecx, byte [rcx + rax*2 + 0x13]
movsxd rax, dword [0x18002f948]
add cx, word [rbx + rax*4]
mov word [r12 + rbp*2], cx
mov eax, dword [0x18002f8a0]
mov dword [0x18002f914], eax
movzx ecx, word [r12]
lea rax, [rsi + rcx*2]
movzx esi, byte [rcx + rax]
mov eax, 0x1153
dec byte [r14]
cdq
movzx ecx, byte [r14]
mov rbx, qword [0x18002f8f8]
idiv dword [rcx*4 + 0x71d]
movsxd r8, edx
mov edx, dword [0x18002f948]
lea eax, [rdx + 2]
dec edx
movsxd rcx, eax
movzx eax, byte [rbx + r11]
add rbx, rbx
mov rdi, qword [rdi + rcx*8]
and rdi, rax
mov dword [0x18002f948], edx
lea eax, [r13 + 3]
mov r13d, r9d
movsxd rcx, eax
mov r9, rbp
mov rax, qword [rsp + 0x50]
movzx r11d, byte [rcx + rax]
movzx eax, byte [rax]
movzx ecx, word [r15 + rax*2]
mov rax, qword [0x18002f918]
imul r10, rcx, 0x697
mov edx, dword [rax + rbx*8]
mov ecx, esi
mov eax, dword [0x18002f914]
or edx, eax
mov dword [rsp + 0x38], edx
dec eax
mov qword [rsp + 0x30], r10
mov edx, 0xb4e
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rdi
mov dword [0x18002f914], eax
call fcn.180001a24
mov r11, qword [rsp + 0x70]
movzx ebp, byte [rsp + 0x100]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
movsxd rdx, eax
mov eax, dword [0x18002f948]
lea eax, [rax + rax*2]
cdqe
mov qword [r11 + rax*8], rdx
movzx ecx, byte [r14]
mov rax, qword [0x18002f8a8]
cmp ebp, dword [rax + rcx*4]
jle 0x180019b95
mov r12, qword [rsp + 0x48]
mov r9d, 1
movzx ecx, word [rsp + 0x118]
mov rdi, qword [rsp + 0x58]
mov r10d, r13d
add r12, r10
mov qword [rsp + 0x40], rcx
shl r10, 4
and dword [rdi + rcx*4], 0
lea r10, [r10 + 0x10]
mov r8, qword [0x18002f920]
add r12, r9
mov rax, qword [0x18002f8f8]
add r13d, r9d
movsxd rdx, dword [rbx + rax*4 + 0x14]
movsxd rax, dword [0x18002f8a4]
movzx ecx, byte [rax + r14]
movzx eax, word [0x18002f93c]
or rdx, rcx
mov rcx, qword [rsp + 0x68]
or rdx, rax
movsxd rax, ebp
and rdx, rax
mov rax, qword [rcx + r8*8]
imul rax, rdx
mov qword [rcx + r8*8], rax
mov rax, qword [0x18002f8c8]
mov r8, qword [0x18002f920]
sub r8, r9
mov qword [0x18002f920], r8
mov ecx, dword [r10 + rax]
mov eax, 0x265bd9f1
movzx edx, byte [r12]
or ecx, edx
lea r9, [r8 + r8*2]
mov dword [0x18002f8a4], ecx
mov ecx, dword [0x18002f948]
or ecx, 0xfb2
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1ab2
sub ecx, eax
and word [r15 + r9*2 + 0x3e], cx
mov r9d, 1
add dword [0x18002f948], r9d
movzx ecx, byte [rsi]
mov rax, qword [0x18002f8f0]
movzx edx, word [rax + rcx*4]
mov rax, qword [r11]
or dx, bp
add ebp, r9d
mov word [r15 + rax*2 + 2], dx
movzx ecx, byte [r14]
mov rax, qword [0x18002f8a8]
cmp ebp, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x40]
jg 0x180019a9c
mov r12, qword [rsp + 0x108]
mov r11d, r9d
jmp 0x180019b9b
mov r11d, 1
mov rbp, qword [rsp + 0x78]
movzx edi, word [rsp + 0x118]
cmp r13d, 0x1b40
je 0x180019d7b
movsxd rax, r13d
mov edi, r13d
mov qword [rsp + 0x50], rax
lea rax, [rax*4]
add rax, rbp
mov rbp, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
sub rax, rbx
lea r14, [rbx + rbp*8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x40], r14
mov rdx, rbp
mov rcx, rbp
call fcn.180003040
mov dword [r14], eax
mov r11d, 1
mov rax, qword [rsp + 0x60]
mov dword [rax], edi
movzx eax, word [0x18002f8dc]
movsxd r14, dword [0x18002f8a0]
movzx ecx, word [r15 + rax*2]
mov word [0x18002f938], cx
cmp r14d, edi
jne 0x180019d3b
mov rcx, qword [rsp + 0x58]
lea rax, [r14 + r14*2]
mov rbp, qword [rsp + 0x40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x108], rax
mov rax, qword [0x18002f8d0]
xor edx, edx
mov dword [rsp + 0x38], r14d
movsxd r10, r14d
lea rbx, [rax - 0x60]
sub rax, r11
mov qword [0x18002f8d0], rax
movzx eax, word [r12]
lea rcx, [rax + rax*2]
mov rax, qword [0x18002f908]
movsxd r11, dword [rax + rcx*4]
mov rax, qword [rsp + 0xa0]
xor r11, qword [rax + rbp + 0x18]
movzx eax, word [r15]
add r15, 2
lea rcx, [rax + rax*2]
mov rax, qword [0x18002f8c8]
mov r8, qword [rax + rcx*8 + 0x130]
mov rcx, rbx
mov eax, dword [0x18002f8c0]
and r8, r10
imul eax, edi
movsxd r9, eax
mov rax, qword [0x18002f928]
dec rax
mov qword [0x18002f928], rax
div qword [0x18002f8e8]
mov rax, qword [rsp + 0x108]
movsxd rax, dword [rax]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov rdx, r11
mov qword [rsp + 0x20], r10
call fcn.180001a24
mov r9, qword [rsp + 0x48]
mov ecx, eax
mov rax, qword [0x18002f8b0]
mov r11d, 1
add qword [rsp + 0x108], 0xc
add r14d, r11d
mov byte [rsi + rax*2], cl
mov eax, r13d
add word [r15], r11w
cdq
movzx r8d, word [r15]
sub r13d, r11d
movzx ecx, byte [r8 + r9]
idiv ecx
mov byte [r8 + r9], dl
cmp r14d, edi
je 0x180019c49
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
add rbp, r11
add qword [rsp + 0x60], 4
add r14, 8
add edi, r11d
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], r14
cmp edi, 0x1b40
jne 0x180019bf1
mov r14, qword [rsp + 0x110]
movzx edi, word [rsp + 0x118]
mov rbp, qword [rsp + 0x78]
mov r9, qword [rsp + 0x70]
mov rax, qword [0x18002f8c8]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [r9]
movsxd r8, dword [rax + rcx*8]
cmp r8d, 0x1e7e
je 0x180019f16
mov rdx, qword [rsp + 0x80]
lea eax, [r8 + r8]
mov rbp, qword [rsp + 0x48]
lea r9, [r14 + r8]
add rdx, 0x18
movsxd rcx, r13d
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x118], rcx
movsxd rcx, eax
mov eax, 0x1e7e
sub eax, r8d
add r13d, eax
mov dword [rsp + 0x108], r13d
lea r10, [rbx + rcx*4]
mov rbx, qword [rsp + 0x118]
lea rdi, [r12 + rcx*2]
add byte [rsi], r11b
lea rbx, [rbx + 8]
movzx eax, byte [rsi]
movzx r13d, byte [rax + r14 + 0x1c]
sub r13w, word [rdi]
mov rax, qword [rsp + 0x68]
xor r13w, word [rax + 0xcc50]
mov eax, dword [0x18002f8d8]
cdq
mov word [rsp + 0x118], r13w
idiv dword [r10]
mov dword [r10], edx
mov eax, dword [0x18002f948]
add eax, eax
movsxd rcx, eax
mov al, r8b
or al, byte [rbx]
or byte [rcx + rbp], al
add dword [0x18002f948], r11d
movzx ecx, byte [rsi]
add rsi, r11
movzx eax, word [0x18002f8b8]
add word [r15 + rcx*4 + 2], ax
mov r11d, dword [0x18002f910]
cmp r11d, r8d
jne 0x180019ed6
mov r13, qword [rsp + 0x80]
mov ebp, 1
mov r14, qword [rsp + 0x88]
mov rax, qword [0x18002f920]
lea rcx, [rax + rax*2]
movzx eax, word [r12]
movzx eax, word [r14 + rax*2 + 0xa]
cdq
idiv dword [r13 + rcx*4 + 8]
mov eax, 0x1b56
mov dword [r13 + rcx*4 + 8], edx
cdq
idiv r11d
mov eax, 0xd578e97d
add r11d, ebp
mov ecx, edx
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x266
sub ecx, eax
mov byte [r9], cl
cmp r11d, r8d
je 0x180019e73
mov r14, qword [rsp + 0x110]
mov rbp, qword [rsp + 0x48]
mov r11d, 1
add rdi, 4
add r8d, r11d
add r9, r11
add r10, 8
cmp r8d, 0x1e7e
jne 0x180019dee
mov r13d, dword [rsp + 0x108]
movzx edi, word [rsp + 0x118]
mov rbp, qword [rsp + 0x78]
mov r9, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
movzx r8d, byte [rsi]
movzx eax, word [r12]
mov r10, qword [0x18002f920]
lea rdx, [r14 + r8*2]
mov cl, byte [r14 + rax*2]
cmp byte [r8 + rdx], cl
je 0x180019f51
lea eax, [r13*4 + 5]
movsxd rcx, eax
movsxd rax, dword [rcx*4 + 0x71d]
cmp rax, qword [r8*8 + 0x67d]
ja 0x180019f7a
movzx eax, word [r15 + r10*2]
cmp word [0x18002f93c], ax
jne 0x180019f7a
mov ecx, dword [0x18002f8f8]
mov rax, qword [r9]
and ecx, dword [0x18002f8a0]
mov dword [rax*4 + 0x71d], ecx
jmp 0x18001a381
mov rdx, qword [0x18002f8f8]
movzx eax, word [0x18002f938]
add rdx, r11
mov r8, qword [rsp + 0x88]
mov qword [0x18002f8f8], rdx
movzx ecx, word [r8 + rax*2]
mov rax, qword [0x18002f908]
cmp ecx, dword [rax + rdx*4]
jne 0x18001a006
movzx eax, word [0x18002f8dc]
add di, r11w
add ax, r11w
mov word [0x18002f8dc], ax
movzx edx, ax
mov rax, qword [0x18002f8b0]
movzx ecx, word [rax*4 + 0x71d]
xor cx, word [0x18002f948]
and word [r15 + rdx*2 + 0x42], cx
mov rax, qword [0x18002f8f0]
movzx ecx, di
movsxd rdx, dword [rax + rcx*4 + 0x78]
mov rax, qword [0x18002f8f8]
imul rax, rdx
mov qword [0x18002f8f8], rax
jmp 0x18001a381
mov rdx, qword [r9]
lea rax, [r10 + r10*2]
mov r10, qword [rsp + 0x90]
movzx ecx, byte [rdx + r14]
cmp rcx, qword [r10 + rax*8 + 0x20]
je 0x18001a0d0
mov eax, dword [0x18002f948]
add eax, 3
movsxd rcx, eax
movzx eax, byte [r14 + 0x604]
cmp dword [rbx + rcx*4], eax
je 0x18001a0d0
mov rcx, qword [rsp + 0x48]
lea rax, [rdx + 1]
mov qword [r9], rax
movzx edx, byte [rsi]
movzx ecx, byte [rax + rcx]
mov rax, qword [0x18002f908]
cmp ecx, dword [rax + rdx*8]
je 0x18001a0d0
movzx ecx, word [r8 + 0x37ac]
mov r8, qword [0x18002f8f8]
movzx eax, di
sub ecx, eax
movzx eax, word [r12]
xor ecx, dword [rax*4 + 0x71d]
mov eax, dword [0x18002f948]
mov dword [0x18002f8a0], ecx
cdq
movzx ecx, word [r15 + r8*4]
idiv ecx
mov word [r15 + r8*4], dx
sub qword [0x18002f8f8], r11
movzx ecx, word [r12]
movzx edx, byte [r14]
lea rax, [r14 + rcx*2]
mov cl, byte [rcx + rax + 8]
mov rax, qword [rsp + 0x98]
and byte [rdx + rax], cl
movzx ecx, byte [rsp + 0x100]
mov dword [0x18002f944], ecx
jmp 0x18001a381
movzx ecx, word [r12]
movzx eax, word [0x18002f8a0]
movsxd rbx, r13d
mov word [r15 + rcx*4 + 0xc], ax
mov eax, dword [0x18002f8a4]
add eax, 2
lea eax, [rax + rax*2]
cdqe
movzx ecx, word [r15 + rax*2]
mov rax, qword [r9]
sub ecx, 0xd8c
mov dword [rbp + rax*4 + 0xc], ecx
mov rdx, qword [0x18002f920]
movzx ecx, word [0x18002f8dc]
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + rdx*8]
add rdx, r11
mov qword [0x18002f920], rdx
imul ecx, eax
mov rax, qword [0x18002f8f8]
mov word [0x18002f8dc], cx
movzx ecx, word [r12]
mov qword [r10 + rcx*8 + 0x30], rax
mov eax, dword [0x18002f928]
movzx ecx, di
sub eax, dword [rcx*4 + 0x71d]
mov dword [rcx*4 + 0x71d], eax
movsxd rcx, dword [0x18002f8a4]
movzx edx, word [r15 + rcx*2]
movzx ecx, word [r15 + rbx*2]
add byte [rsi], r11b
movzx eax, byte [r14]
sub r14, r11
imul edx, ecx
add rax, rax
mov rax, qword [r10 + rax*8]
movsxd rcx, edx
movzx edx, byte [rsi]
lea rdx, [rdx + rdx*2]
movzx r8d, word [r12 + rdx*2 + 0x38]
xor edx, edx
div r8
call fcn.180003040
movzx r8d, byte [rsp + 0x100]
cmp r8d, dword [0x18002f910]
mov edi, r8d
movzx eax, word [r12 + 0xdb2]
mov qword [0x18002f920], rax
jl 0x18001a381
mov rdx, qword [rsp + 0x80]
lea rax, [r8 + r8*2]
mov r13d, r8d
lea r9, [r8 + r14]
mov esi, edi
shl r13, 2
mov ecx, r8d
mov qword [rsp + 0x100], r9
lea r10, [rdx + rax*4]
sub esi, edi
lea rax, [r8*2 + 5]
mov qword [rsp + 0x118], r10
add rax, r8
lea rdx, [r12 + rax*2]
movzx eax, r8b
sub rcx, rax
mov qword [rsp + 0x68], rdx
lea rax, [rcx + rbx]
lea rcx, [r15 + rax*2]
lea rax, [rax + rax*2]
mov qword [rsp + 0x108], rcx
lea rax, [rax*8 + 0x70]
mov qword [rsp + 0x110], rax
mov eax, 1
mov ecx, dword [0x18002f944]
add ecx, eax
movsxd r8, edi
mov dword [0x18002f944], ecx
mov eax, esi
sub eax, ecx
movsxd rdx, eax
mov eax, dword [0x18002f948]
and rdx, r8
add eax, 0x18
movsxd rcx, eax
mov qword [rcx*8 + 0x67d], rdx
xor edx, edx
movsxd r11, dword [r10]
movzx ebx, byte [r9]
or r8, r11
mov r10, qword [0x18002f920]
xor rbx, 0x14ec
mov rax, qword [0x18002f8f8]
lea rcx, [rax + rax*2]
movzx eax, word [r15]
movsxd rcx, dword [rbp + rcx*4]
movzx r9d, byte [rax + r14]
lea rax, [r10 + r10*2]
movzx eax, word [r12 + rax*2]
inc r10
div r9d
mov qword [0x18002f920], r10
movsxd r9, edx
mov rdx, rbx
call fcn.1800180ec
mov r11, qword [rsp + 0x110]
mov r10, qword [rsp + 0x108]
movsxd rcx, eax
mov rax, qword [0x18002f918]
mov qword [r11 + rax], rcx
add r11, 0x18
movzx edx, word [r10]
add r10, 2
mov r9, qword [0x18002f8f0]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x108], r10
mov r10, qword [rsp + 0x118]
add r10, 0xc
mov qword [rsp + 0x110], r11
mov rcx, qword [rax]
mov rax, qword [0x18002f918]
mov qword [rsp + 0x118], r10
mov r8d, dword [rax + rcx*8 + 0xe0]
add r8d, edx
sub r8d, dword [r9 + r13]
mov dword [r9 + r13], r8d
mov r8, qword [rsp + 0x68]
movzx eax, word [r15 + r13 + 0x16]
lea r13, [r13 + 4]
xor eax, dword [0x18002f914]
mov r9, qword [rsp + 0x100]
cdq
movzx ecx, word [r8]
idiv ecx
mov word [r8], ax
mov eax, 1
add r9, rax
add r8, 6
add edi, eax
mov qword [rsp + 0x100], r9
sub esi, eax
mov qword [rsp + 0x68], r8
cmp edi, dword [0x18002f910]
jge 0x18001a236
mov eax, dword [rbp + 0x5094]
and eax, dword [0x18002f8a4]
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret