Function at 0x1400051f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movdqa xmmword [rsp + 0x80], xmm9
movdqa xmmword [rsp + 0x70], xmm8
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm6
mov dword [rsp + 0x28], edx
mov rsi, rcx
movdqa xmm6, xmmword [0x14000c150]
movdqa xmm7, xmmword [0x14000c160]
pcmpeqd xmm8, xmm8
jmp 0x1400052d2
mov rax, qword [rsi + 0x50]
mov ecx, dword [rsi + 0x94]
movzx eax, byte [rax + rcx]
mov rcx, qword [rsi + 0x16e8]
mov edx, dword [rsi + 0x16f4]
lea r8d, [rdx + 1]
mov dword [rsi + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov rcx, qword [rsi + 0x16e8]
mov edx, dword [rsi + 0x16f4]
lea r8d, [rdx + 1]
mov dword [rsi + 0x16f4], r8d
mov byte [rcx + rdx], 0
mov rcx, qword [rsi + 0x16e8]
mov edx, dword [rsi + 0x16f4]
lea r8d, [rdx + 1]
mov dword [rsi + 0x16f4], r8d
mov byte [rcx + rdx], al
inc word [rsi + rax*4 + 0xbc]
mov eax, dword [rsi + 0x16f4]
dec dword [rsi + 0x9c]
mov r8d, dword [rsi + 0x94]
inc r8d
cmp eax, dword [rsi + 0x16f8]
mov dword [rsi + 0x94], r8d
je 0x140005d5e
mov eax, dword [rsi + 0x9c]
cmp eax, 0x105
jbe 0x140005771
mov eax, dword [rsi + 0x70]
movzx ecx, byte [rsi + 0x80]
shl eax, cl
mov edx, dword [rsi + 0x94]
lea ecx, [rdx + 2]
mov r8, qword [rsi + 0x50]
movzx ecx, byte [r8 + rcx]
xor ecx, eax
and ecx, dword [rsi + 0x7c]
mov rax, qword [rsi + 0x60]
mov dword [rsi + 0x70], ecx
mov r8, qword [rsi + 0x68]
movzx ecx, word [r8 + rcx*2]
and edx, dword [rsi + 0x4c]
mov word [rax + rdx*2], cx
movzx eax, word [rsi + 0x94]
mov rdx, qword [rsi + 0x68]
mov r8d, dword [rsi + 0x70]
mov word [rdx + r8*2], ax
test ecx, ecx
je 0x140005950
mov r14d, dword [rsi + 0x94]
mov edx, r14d
sub edx, ecx
mov eax, dword [rsi + 0x44]
mov r8d, 0xfffffefa
add eax, r8d
cmp edx, eax
ja 0x140005950
mov edx, dword [rsi + 0xa4]
movsxd r9, dword [rsi + 0xa0]
mov r8d, r14d
sub r8d, eax
mov eax, 0
cmovb r8d, eax
cmp r9d, dword [rsi + 0xb4]
jae 0x140005eee
mov r10, qword [rsi + 0x50]
lea r11, [r10 + r14]
mov ebx, dword [rsi + 0xb8]
mov r13, qword [rsi + 0x60]
mov eax, dword [rsi + 0x4c]
mov qword [rsp + 0x48], rax
lea rbp, [r10 + r14 + 0x102]
movzx eax, byte [r9 + r11 - 1]
mov byte [rsp + 0x27], al
movzx edi, byte [r9 + r11]
mov eax, dword [rsi + 0x9c]
cmp ebx, eax
cmovae ebx, eax
mov dword [rsp + 0x2c], ebx
lea r15, [r10 + 0xa]
mov qword [rsp + 0x30], r15
add r14, r10
add r14, 2
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r13
mov r14d, ecx
lea r15, [r10 + r14]
movsxd r12, r9d
cmp byte [r12 + r15], dil
jne 0x140005535
mov ebx, edi
movzx edi, byte [rsp + 0x27]
cmp byte [r12 + r15 - 1], dil
jne 0x14000576a
movzx r12d, byte [r15]
cmp r12b, byte [r11]
mov edi, ebx
jne 0x140005535
movzx r15d, byte [r15 + 1]
cmp r15b, byte [r11 + 1]
jne 0x140005535
add r14, qword [rsp + 0x30]
xor r15d, r15d
mov r12, r15
mov r15, qword [rsp + 0x40]
add r15, r12
movzx r13d, byte [rbp + r12 - 0xff]
cmp r13b, byte [r14 + r12 - 7]
jne 0x1400054ee
movzx r13d, byte [rbp + r12 - 0xfe]
cmp r13b, byte [r14 + r12 - 6]
jne 0x14000554e
movzx r13d, byte [rbp + r12 - 0xfd]
cmp r13b, byte [r14 + r12 - 5]
jne 0x140005731
movzx r13d, byte [rbp + r12 - 0xfc]
cmp r13b, byte [r14 + r12 - 4]
jne 0x14000573a
movzx r13d, byte [rbp + r12 - 0xfb]
cmp r13b, byte [r14 + r12 - 3]
jne 0x140005743
movzx r13d, byte [rbp + r12 - 0xfa]
cmp r13b, byte [r14 + r12 - 2]
jne 0x14000574c
movzx r13d, byte [rbp + r12 - 0xf9]
cmp r13b, byte [r14 + r12 - 1]
jne 0x140005755
lea r15, [r12 + 2]
cmp r15, 0xf9
ja 0x14000575e
movzx r13d, byte [r14 + r12]
lea r15, [r12 + 8]
cmp byte [rbp + r12 - 0xf8], r13b
je 0x140005428
jmp 0x14000575e
inc r15
mov r12, r15
sub r12, rbp
lea r14d, [r12 + 0x102]
cmp r14d, r9d
mov r13, qword [rsp + 0x38]
jle 0x140005535
mov dword [rsi + 0x98], ecx
cmp r14d, dword [rsp + 0x2c]
jge 0x140005560
add r12d, 0x101
movsxd r9, r12d
movzx r9d, byte [r11 + r9]
mov byte [rsp + 0x27], r9b
movsxd r9, r14d
movzx edi, byte [r11 + r9]
mov r9d, r14d
and ecx, dword [rsp + 0x48]
movzx ecx, word [r13 + rcx*2]
cmp r8d, ecx
jae 0x140005563
dec edx
jne 0x1400053dc
jmp 0x140005563
add r15, 2
jmp 0x1400054f1
mov r9d, r14d
cmp r9d, eax
cmovb eax, r9d
mov dword [rsi + 0x88], eax
cmp eax, 3
jb 0x140005240
add al, 0xfd
mov ecx, dword [rsi + 0x94]
sub ecx, dword [rsi + 0x98]
mov rdx, qword [rsi + 0x16e8]
mov r8d, dword [rsi + 0x16f4]
lea r9d, [r8 + 1]
mov dword [rsi + 0x16f4], r9d
mov byte [rdx + r8], cl
mov rdx, qword [rsi + 0x16e8]
mov edi, dword [rsi + 0x16f4]
lea r8d, [rdi + 1]
mov dword [rsi + 0x16f4], r8d
mov byte [rdx + rdi], ch
mov rdx, qword [rsi + 0x16e8]
mov r8d, dword [rsi + 0x16f4]
lea r9d, [r8 + 1]
mov dword [rsi + 0x16f4], r9d
mov byte [rdx + r8], al
dec ecx
movzx eax, al
lea rdx, [0x14000e920]
movzx eax, byte [rax + rdx]
inc word [rsi + rax*4 + 0x4c0]
movzx eax, cx
mov edx, eax
shr edx, 7
add edx, 0x100
cmp eax, 0x100
cmovb edx, ecx
movzx eax, dx
lea rcx, [0x14000e720]
movzx eax, byte [rax + rcx]
inc word [rsi + rax*4 + 0x9b0]
mov eax, dword [rsi + 0x16f4]
mov edx, dword [rsi + 0x16f8]
mov r9d, dword [rsi + 0x88]
mov ecx, dword [rsi + 0x9c]
sub ecx, r9d
mov dword [rsi + 0x9c], ecx
cmp r9d, dword [rsi + 0xa8]
ja 0x1400056e0
cmp ecx, 3
jb 0x1400056e0
dec r9d
mov dword [rsi + 0x88], r9d
mov r8d, dword [rsi + 0x94]
lea r9d, [r8 + 1]
mov dword [rsi + 0x94], r9d
mov r10d, dword [rsi + 0x70]
movzx ecx, byte [rsi + 0x80]
shl r10d, cl
add r8d, 3
mov rcx, qword [rsi + 0x50]
mov r11, qword [rsi + 0x60]
movzx ecx, byte [rcx + r8]
xor ecx, r10d
and ecx, dword [rsi + 0x7c]
mov dword [rsi + 0x70], ecx
mov r8, qword [rsi + 0x68]
movzx ecx, word [r8 + rcx*2]
and r9d, dword [rsi + 0x4c]
mov word [r11 + r9*2], cx
movzx ecx, word [rsi + 0x94]
mov r8, qword [rsi + 0x68]
mov r9d, dword [rsi + 0x70]
mov word [r8 + r9*2], cx
dec dword [rsi + 0x88]
jne 0x140005662
mov r8d, dword [rsi + 0x94]
inc r8d
mov dword [rsi + 0x94], r8d
jmp 0x140005724
mov r10d, dword [rsi + 0x94]
lea r8d, [r10 + r9]
mov dword [rsi + 0x94], r8d
mov dword [rsi + 0x88], 0
mov r11, qword [rsi + 0x50]
movzx edi, byte [r11 + r8]
mov dword [rsi + 0x70], edi
movzx ecx, byte [rsi + 0x80]
shl edi, cl
lea ecx, [r10 + r9]
inc ecx
movzx ecx, byte [r11 + rcx]
xor ecx, edi
and ecx, dword [rsi + 0x7c]
mov dword [rsi + 0x70], ecx
cmp eax, edx
jne 0x1400052d2
jmp 0x140005d5e
add r15, 3
jmp 0x1400054f1
add r15, 4
jmp 0x1400054f1
add r15, 5
jmp 0x1400054f1
add r15, 6
jmp 0x1400054f1
add r15, 7
jmp 0x1400054f1
add r12, 0xa
add r12, r11
jmp 0x1400054f4
mov edi, ebx
jmp 0x140005535
mov r12d, dword [rsi + 0x44]
mov ecx, dword [rsi + 0x44]
mov ebx, dword [rsi + 0x58]
mov edx, dword [rsi + 0x94]
sub ebx, eax
sub ebx, edx
add ecx, r12d
add ecx, 0xfffffefa
cmp edx, ecx
jae 0x140005b22
mov rdi, qword [rsi]
mov ecx, dword [rdi + 8]
test ecx, ecx
je 0x140005919
cmp ecx, ebx
cmovb ebx, ecx
test ebx, ebx
je 0x1400057f8
mov edx, dword [rsi + 0x94]
add rdx, qword [rsi + 0x50]
mov r15d, eax
add r15, rdx
sub ecx, ebx
mov dword [rdi + 8], ecx
mov rdx, qword [rdi]
mov r14d, ebx
mov rcx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x28]
mov eax, dword [rax + 0x2c]
cmp eax, 1
je 0x140005c69
cmp eax, 2
je 0x140005f6c
add qword [rdi], r14
add dword [rdi + 0xc], ebx
mov eax, dword [rsi + 0x9c]
add eax, ebx
mov dword [rsi + 0x9c], eax
mov r8d, dword [rsi + 0x1708]
lea ecx, [r8 + rax]
cmp ecx, 3
jb 0x140005849
mov edx, dword [rsi + 0x94]
sub edx, r8d
mov r9, qword [rsi + 0x50]
movzx r10d, byte [r9 + rdx]
mov dword [rsi + 0x70], r10d
mov cl, byte [rsi + 0x80]
shl r10d, cl
lea ecx, [rdx + 1]
movzx ecx, byte [r9 + rcx]
xor ecx, r10d
and ecx, dword [rsi + 0x7c]
mov dword [rsi + 0x70], ecx
test r8d, r8d
jne 0x140005ef6
cmp eax, 0x105
ja 0x140005919
jmp 0x140005e29
movdqu xmm2, xmmword [rdx + rdi*2 - 0x10]
movdqa xmm3, xmm1
pxor xmm3, xmm6
movdqa xmm4, xmm7
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm1
pand xmm3, xmm4
pxor xmm4, xmm8
por xmm4, xmm3
pslld xmm4, 0x10
psrad xmm4, 0x10
packssdw xmm4, xmm4
pshuflw xmm3, xmm4, 0x1b
pshufhw xmm3, xmm3, 0x1b
psubusw xmm2, xmm3
movdqu xmmword [rdx + rdi*2 - 0x10], xmm2
add rdi, 0xfffffffffffffff8
cmp r11, rdi
jne 0x140005860
jmp 0x140005bec
movdqu xmm1, xmmword [rcx + r11*2 - 0x10]
movdqa xmm2, xmm0
pxor xmm2, xmm6
movdqa xmm3, xmm7
pcmpgtd xmm3, xmm2
movdqa xmm2, xmm0
pand xmm2, xmm3
pxor xmm3, xmm8
por xmm3, xmm2
pslld xmm3, 0x10
psrad xmm3, 0x10
packssdw xmm3, xmm3
pshuflw xmm2, xmm3, 0x1b
pshufhw xmm2, xmm2, 0x1b
psubusw xmm1, xmm2
movdqu xmmword [rcx + r11*2 - 0x10], xmm1
add r11, 0xfffffffffffffff8
cmp r10, r11
jne 0x1400058c0
jmp 0x140005bf9
mov ecx, dword [rsi + 0x1714]
mov ebx, dword [rsi + 0x58]
cmp ebx, ecx
ja 0x140005964
cmp dword [rsp + 0x28], 0
jne 0x140005938
cmp eax, 0x106
jb 0x140005dfa
test eax, eax
je 0x1400059ae
cmp eax, 3
jae 0x1400052e3
nop word cs:[rax + rax]
mov eax, dword [rsi + 0x88]
cmp eax, 3
jae 0x140005579
jmp 0x140005240
mov edi, dword [rsi + 0x94]
add edi, eax
cmp ecx, edi
jb 0x14000597f
add edi, 0x102
cmp edi, ecx
jbe 0x140005926
jmp 0x140005cf3
sub ebx, edi
mov eax, 0x102
cmp ebx, eax
cmovae ebx, eax
mov ecx, edi
add rcx, qword [rsi + 0x50]
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
add ebx, edi
mov dword [rsi + 0x1714], ebx
mov eax, dword [rsi + 0x9c]
jmp 0x140005926
mov r8d, dword [rsi + 0x94]
cmp r8d, 2
mov eax, 2
cmovb eax, r8d
mov dword [rsi + 0x1708], eax
cmp dword [rsp + 0x28], 4
jne 0x140005a74
mov edx, dword [rsi + 0x84]
sub r8d, edx
test edx, edx
js 0x140005f7f
add rdx, qword [rsi + 0x50]
mov rcx, rsi
mov r9d, 1
call fcn.140005fa0
mov eax, dword [rsi + 0x94]
mov dword [rsi + 0x84], eax
mov r14, qword [rsi]
mov rbx, qword [r14 + 0x28]
mov eax, dword [rbx + 0x1710]
cmp eax, 0x10
je 0x140005d15
cmp eax, 8
jge 0x140005c7f
mov eax, dword [rbx + 0x28]
mov ebp, dword [r14 + 0x18]
cmp eax, ebp
cmovb ebp, eax
test ebp, ebp
je 0x140005a60
mov rcx, qword [r14 + 0x10]
mov rdx, qword [rbx + 0x20]
mov edi, ebp
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [r14 + 0x10], rdi
add qword [rbx + 0x20], rdi
add dword [r14 + 0x1c], ebp
sub dword [r14 + 0x18], ebp
sub dword [rbx + 0x28], ebp
jne 0x140005a60
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x20], rax
mov rax, qword [rsi]
cmp dword [rax + 0x18], 1
mov eax, 3
sbb eax, 0
jmp 0x140005dfc
cmp dword [rsi + 0x16f4], 0
je 0x140005b18
mov edx, dword [rsi + 0x84]
sub r8d, edx
test edx, edx
jns 0x140005d55
xor edx, edx
xor edi, edi
mov rcx, rsi
xor r9d, r9d
call fcn.140005fa0
mov eax, dword [rsi + 0x94]
mov dword [rsi + 0x84], eax
mov r14, qword [rsi]
mov rbx, qword [r14 + 0x28]
mov eax, dword [rbx + 0x1710]
cmp eax, 0x10
je 0x140005e3b
cmp eax, 8
jge 0x140005cb9
mov eax, dword [rbx + 0x28]
mov ebp, dword [r14 + 0x18]
cmp eax, ebp
cmovb ebp, eax
test ebp, ebp
je 0x140005b0b
mov rcx, qword [r14 + 0x10]
mov rdx, qword [rbx + 0x20]
mov edi, ebp
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [r14 + 0x10], rdi
add qword [rbx + 0x20], rdi
add dword [r14 + 0x1c], ebp
sub dword [r14 + 0x18], ebp
sub dword [rbx + 0x28], ebp
jne 0x140005b0b
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x20], rax
mov rax, qword [rsi]
cmp dword [rax + 0x18], 0
je 0x140005dfa
mov eax, 1
jmp 0x140005dfc
movd xmm0, r12d
pshufd xmm9, xmm0, 0x50
mov rcx, qword [rsi + 0x50]
lea rdx, [rcx + r12]
mov r8d, r12d
sub r8d, ebx
call sub.VCRUNTIME140.dll_memcpy
movq xmm0, qword [rsi + 0x94]
psubd xmm0, xmm9
movq qword [rsi + 0x94], xmm0
sub dword [rsi + 0x84], r12d
movd eax, xmm0
cmp dword [rsi + 0x1708], eax
ja 0x140005f86
mov ecx, dword [rsi + 0x74]
mov rdx, rcx
add rdx, rcx
add rdx, qword [rsi + 0x68]
mov eax, dword [rsi + 0x44]
lea r8d, [rcx - 1]
movd xmm0, eax
cmp r8d, 7
jae 0x140005c08
add rdx, 0xfffffffffffffffe
movzx r8d, word [rdx]
sub r8d, eax
mov r9d, 0
cmovb r8d, r9d
mov word [rdx], r8w
add rdx, 0xfffffffffffffffe
dec ecx
jne 0x140005b8e
lea rcx, [rax + rax]
add rcx, qword [rsi + 0x60]
lea edx, [rax - 1]
cmp edx, 7
jae 0x140005c38
mov edx, eax
add rcx, 0xfffffffffffffffe
movzx r8d, word [rcx]
sub r8d, eax
mov r9d, 0
cmovb r8d, r9d
mov word [rcx], r8w
add rcx, 0xfffffffffffffffe
dec edx
jne 0x140005bc1
add ebx, r12d
mov eax, dword [rsi + 0x9c]
jmp 0x140005796
cmp r8, r9
je 0x140005bab
add rdx, r10
sub ecx, r9d
jmp 0x140005b8a
cmp rdx, r8
je 0x140005bde
add rcx, r9
mov edx, eax
sub edx, r8d
jmp 0x140005bbd
inc r8
mov r9, r8
movabs r10, 0x1fffffff8
and r9, r10
lea r10, [r9 + r9]
neg r10
pshufd xmm1, xmm0, 0
mov r11, r8
and r11, 0xfffffffffffffff8
neg r11
xor edi, edi
jmp 0x140005860
inc rdx
mov r8, rdx
movabs r9, 0x1fffffff8
and r8, r9
lea r9, [r8 + r8]
neg r9
pshufd xmm0, xmm0, 0
mov r10, rdx
and r10, 0xfffffffffffffff8
neg r10
xor r11d, r11d
jmp 0x1400058c0
mov ecx, dword [rdi + 0x4c]
mov rdx, r15
mov r8d, ebx
call fcn.140007c10
mov dword [rdi + 0x4c], eax
jmp 0x1400057ec
mov al, byte [rbx + 0x170c]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
movzx eax, byte [rbx + 0x170d]
mov word [rbx + 0x170c], ax
mov eax, dword [rbx + 0x1710]
add eax, 0xfffffff8
mov dword [rbx + 0x1710], eax
jmp 0x140005a21
mov al, byte [rbx + 0x170c]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
movzx eax, byte [rbx + 0x170d]
mov word [rbx + 0x170c], ax
mov edi, dword [rbx + 0x1710]
add edi, 0xfffffff8
mov dword [rbx + 0x1710], edi
jmp 0x140005acc
sub edi, ecx
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add rcx, qword [rsi + 0x50]
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
add ebx, dword [rsi + 0x1714]
jmp 0x14000599d
mov al, byte [rbx + 0x170c]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
mov al, byte [rbx + 0x170d]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
mov word [rbx + 0x170c], 0
xor eax, eax
jmp 0x140005cae
add rdx, qword [rsi + 0x50]
jmp 0x140005a94
mov eax, dword [rsi + 0x84]
test eax, eax
js 0x140005f91
mov rdx, rax
add rdx, qword [rsi + 0x50]
sub r8d, eax
xor ebx, ebx
mov rcx, rsi
xor r9d, r9d
call fcn.140005fa0
mov eax, dword [rsi + 0x94]
mov dword [rsi + 0x84], eax
mov r14, qword [rsi]
mov rdi, qword [r14 + 0x28]
mov eax, dword [rdi + 0x1710]
cmp eax, 0x10
je 0x140005eb3
cmp eax, 8
jge 0x140005e79
mov eax, dword [rdi + 0x28]
mov ebp, dword [r14 + 0x18]
cmp eax, ebp
cmovb ebp, eax
test ebp, ebp
je 0x140005ded
mov rcx, qword [r14 + 0x10]
mov rdx, qword [rdi + 0x20]
mov ebx, ebp
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add qword [r14 + 0x10], rbx
add qword [rdi + 0x20], rbx
add dword [r14 + 0x1c], ebp
sub dword [r14 + 0x18], ebp
sub dword [rdi + 0x28], ebp
jne 0x140005ded
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi]
cmp dword [rax + 0x18], 0
jne 0x1400052d2
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi]
cmp dword [rcx + 8], 0
je 0x140005919
jmp 0x140005775
mov al, byte [rbx + 0x170c]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
mov al, byte [rbx + 0x170d]
mov rcx, qword [rbx + 0x10]
mov edx, dword [rbx + 0x28]
lea r8d, [rdx + 1]
mov dword [rbx + 0x28], r8d
mov byte [rcx + rdx], al
mov word [rbx + 0x170c], 0
jmp 0x140005ce8
mov al, byte [rdi + 0x170c]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rdi + 0x28]
lea r8d, [rdx + 1]
mov dword [rdi + 0x28], r8d
mov byte [rcx + rdx], al
movzx eax, byte [rdi + 0x170d]
mov word [rdi + 0x170c], ax
mov ebx, dword [rdi + 0x1710]
add ebx, 0xfffffff8
mov dword [rdi + 0x1710], ebx
jmp 0x140005dae
mov al, byte [rdi + 0x170c]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rdi + 0x28]
lea r8d, [rdx + 1]
mov dword [rdi + 0x28], r8d
mov byte [rcx + rdx], al
mov al, byte [rdi + 0x170d]
mov rcx, qword [rdi + 0x10]
mov edx, dword [rdi + 0x28]
lea r8d, [rdx + 1]
mov dword [rdi + 0x28], r8d
mov byte [rcx + rdx], al
mov word [rdi + 0x170c], 0
jmp 0x140005ea8
shr edx, 2
jmp 0x140005382
mov eax, dword [rsi + 0x70]
mov cl, byte [rsi + 0x80]
shl eax, cl
lea ecx, [rdx + 2]
mov r8, qword [rsi + 0x50]
movzx ecx, byte [r8 + rcx]
xor ecx, eax
and ecx, dword [rsi + 0x7c]
mov rax, qword [rsi + 0x60]
mov dword [rsi + 0x70], ecx
mov r8, qword [rsi + 0x68]
movzx ecx, word [r8 + rcx*2]
mov r8d, dword [rsi + 0x4c]
and r8d, edx
mov word [rax + r8*2], cx
mov rax, qword [rsi + 0x68]
mov ecx, dword [rsi + 0x70]
mov word [rax + rcx*2], dx
mov r8d, dword [rsi + 0x1708]
lea ecx, [r8 - 1]
mov dword [rsi + 0x1708], ecx
mov eax, dword [rsi + 0x9c]
add r8d, eax
dec r8d
cmp r8d, 3
jb 0x140005849
inc edx
test ecx, ecx
je 0x140005849
jmp 0x140005ef6
mov ecx, dword [rdi + 0x4c]
mov rdx, r15
mov r8d, ebx
call fcn.140003aa0
jmp 0x140005c77
xor edx, edx
jmp 0x1400059e8
mov dword [rsi + 0x1708], eax
jmp 0x140005b6c
xor edx, edx
jmp 0x140005d73