Function at 0x180163350
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
movzx edx, word [rcx + 0x104]
mov rbx, rcx
mov r8d, dword [rcx + 0x22c]
xor r14d, r14d
mov eax, 0x1e
mov dword [rsp + 0x90], r14d
mov esi, 0xffff
lea ecx, [r8 + rdx]
add ecx, ecx
cmp ecx, eax
cmovb ecx, eax
movzx eax, word [rbx + 0x144]
cmp eax, ecx
jbe 0x1801633a9
cmp ecx, esi
cmova ecx, esi
mov word [rbx + 0x144], cx
mov dword [rbx + 0x3a0], r14d
mov dword [rbx + 0x3a8], r14d
test dx, dx
je 0x1801633e6
lea ecx, [rdx + rdx*4]
mov r9d, 0x32
add ecx, ecx
mov eax, 0xcccccccd
cmp ecx, r9d
cmovb ecx, r9d
mul r8d
shr edx, 3
cmp edx, r9d
cmovb edx, r9d
lea r8d, [rdx + rcx]
jmp 0x1801633f1
imul r8d, r8d, 0x16
add r8d, 0x12c
mov dword [rbx + 0x3a4], r8d
mov rax, qword [rbx]
imul ecx, dword [rax + 0x10], 0x64
cmp r8d, ecx
jbe 0x18016340d
mov dword [rbx + 0x3a4], ecx
mov r8d, ecx
movzx r10d, word [rbx + 0x17e]
lea rax, [0x180161260]
cmp word [rbx + 0x17c], r10w
lea r11, [0x18015efd0]
mov dword [rbx + 0x3ac], r8d
lea rdx, [0x180166960]
mov dword [rbx + 0x1a4], r14d
lea r8, [0x180161270]
cmove r8, rax
lea rcx, [0x180161140]
lea rax, [0x180166920]
cmove rdx, rax
lea rax, [0x180161100]
cmove rcx, rax
lea rax, [0x18015efe0]
cmove rax, r11
mov qword [rbx + 0x378], rax
mov qword [rbx + 0x380], r8
mov qword [rbx + 0x388], rdx
mov qword [rbx + 0x390], rcx
mov rcx, rbx
mov eax, dword [rbx + 0x208]
mov dword [rbx + 0x204], eax
call fcn.18015ee80
movzx eax, byte [rbx + 0x1dc]
lea r9, [0x180161410]
lea rsi, [0x180161490]
lea rbp, [0x1801612a0]
lea r10, [0x180161450]
lea r8, [0x1801613d0]
lea r15, [0x180161300]
lea rdx, [fcn.180161360]
lea r11, [0x1801612d0]
lea rdi, [0x180000000]
cmp eax, 7
ja case.default.0x1801634f8
mov ecx, dword [rdi + rax*4 + 0x165c5c]
add rcx, rdi
jmp rcx
mov qword [rbx + 0x348], r11
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], r9
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], rsi
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], rbp
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], r10
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], r8
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], r15
jmp case.default.0x1801634f8
mov qword [rbx + 0x348], rdx
mov esi, 2
mov word [rbx + 0x39c], r14w
lea r11, [rbx + 0x18]
lea r15, [rbx + 0x21c]
mov r12, r11
lea r13d, [rsi + 0x7f]
movsxd rdx, dword [rbx + 0x218]
mov ebp, 0x100
mov r9, rdx
mov qword [rsp + 0x30], r15
add r9, qword [rbx + 0x210]
movzx r8d, byte [r9]
mov byte [rbx + 0x220], r8b
movsx ecx, byte [r8 + rdi + 0x25f2e0]
mov dword [rbx + 0x224], ecx
test ecx, ecx
jns 0x1801635b9
lea eax, [rdx + 1]
mov r12, r11
cmp eax, dword [r15]
jge 0x180165c3c
movzx eax, byte [r9 + 1]
imul eax, ecx
mov ecx, esi
sub ecx, eax
mov dword [rbx + 0x224], ecx
lea eax, [rdx + rcx]
cmp eax, dword [r15]
jg 0x180165c3c
movzx ecx, byte [r8 + rdi + 0x25f1e0]
mov edx, dword [rbx + 0x1c]
mov eax, ecx
shr eax, 4
sub edx, eax
mov dword [rbx + 0x30], edx
jns 0x180163631
cmp byte [rbx + 0x33d], 0
jne 0x180165bcd
movzx edx, r14w
test cl, 0xf0
jbe 0x18016362a
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x28]
movzx ecx, dx
inc dx
mov dword [rax + rcx*4], r14d
movzx r8d, byte [rbx + 0x220]
movzx eax, byte [r8 + rdi + 0x25f1e0]
shr al, 4
movzx eax, al
cmp dx, ax
jb 0x180163600
mov dword [rbx + 0x30], r14d
mov edx, r14d
cmp r8b, 0x91
jne 0x18016364f
mov rax, qword [rbx]
mov rax, qword [rax + 0x410]
test rax, rax
je 0x18016364a
mov ecx, dword [rax]
jmp 0x18016365e
mov ecx, dword [rbx + 0x34]
jmp 0x180163663
movzx eax, r8b
movzx ecx, byte [rax + rdi + 0x25f1e0]
and ecx, 0xf
add ecx, edx
mov dword [rbx + 0x34], ecx
mov r9d, dword [rbx + 0x20]
lea r12, [rbx + 0x18]
cmp ecx, r9d
jg 0x180165c2c
mov r10, qword [rbx + 0x28]
mov eax, edx
movzx r11d, r8b
mov byte [rbx + 0x228], 1
mov dword [r12], r14d
lea rsi, [r10 + rax*4]
cmp r11d, 0x92
ja case.default.0x1801636a5
mov ecx, dword [rdi + r11*4 + 0x165c7c]
add rcx, rdi
jmp rcx
movzx eax, r8b
mov edx, 0x4000
and al, 1
movzx ecx, al
shl cx, 0xe
movzx eax, cx
xor ax, dx
cmp r8b, 4
jae 0x1801636e1
mov word [rbx + 0x1ca], cx
mov word [rbx + 0x1cc], ax
mov word [rbx + 0x1c6], cx
mov word [rbx + 0x1c8], ax
test r8b, 2
jne 0x18016371e
mov word [rbx + 0x1ce], cx
mov word [rbx + 0x1d0], ax
jmp 0x18016371e
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ca]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180160eb0
test al, al
jne case.0x1801636a5.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1c6], eax
mov rcx, rbx
call fcn.18015ee80
mov edi, 1
mov esi, 2
xor edx, edx
mov eax, dword [r12]
test eax, eax
je 0x180165b73
cmp eax, 0x80
jne 0x180165c0a
mov r8, qword [rbx + 0x270]
test r8, r8
je 0x180163763
mov eax, dword [rbx + 0x268]
lea rcx, [rax + rax*4]
lea rdx, [r8 + rcx*4]
cmp r8, rdx
jae 0x180165bfa
cmp byte [r8 + 0x10], 0
je 0x180163784
movzx eax, byte [r8 + 0xc]
cmp byte [rbx + 0x220], al
je 0x180165adf
add r8, 0x14
jmp 0x180163763
movzx r8d, word [rsi]
lea r9, [rbx + 0x1ce]
movzx edx, word [rsi + 4]
mov rcx, rbx
call fcn.180160eb0
test al, al
je 0x18016371e
xor edx, edx
mov edi, 1
lea esi, [rdi + 1]
jmp 0x180163732
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x1801637cb
test eax, eax
je 0x180163712
mov dword [rsp + 0xa0], ecx
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa4], eax
call fcn.18014fc00
mov eax, dword [rsp + 0xa0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ca], ax
mov eax, dword [rsp + 0xa4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1cc], ax
jmp 0x180163712
movsx ecx, word [rsi]
movsx eax, word [rsi + 4]
test ecx, ecx
jne 0x18016382c
test eax, eax
je 0x18016371e
mov dword [rsp + 0xa8], ecx
lea rcx, [rsp + 0xa8]
mov dword [rsp + 0xac], eax
call fcn.18014fc00
mov eax, dword [rsp + 0xa8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1ce], ax
mov eax, dword [rsp + 0xac]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [rbx + 0x1d0], ax
jmp 0x18016371e
movsx eax, word [rbx + 0x1ca]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1cc]
mov dword [rsi + 4], eax
jmp case.0x1801636a5.33
movsx eax, word [rbx + 0x1ce]
mov dword [rsi], eax
movsx eax, word [rbx + 0x1d0]
mov dword [rsi + 4], eax
jmp case.0x1801636a5.33
mov eax, dword [rbx + 0x1ca]
mov dword [rbx + 0x1ce], eax
jmp 0x18016371e
mov rdx, rsi
mov rcx, rbx
call fcn.18015f9c0
jmp case.0x1801636a5.33
movzx eax, word [rsi]
mov word [rbx + 0x1c0], ax
jmp case.0x1801636a5.33
movzx eax, word [rsi]
mov word [rbx + 0x1c2], ax
jmp case.0x1801636a5.33
movzx eax, word [rsi]
mov word [rbx + 0x1c4], ax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x18016394c
cmp ecx, 1
je 0x180163926
mov edi, 1
xor edx, edx
lea esi, [rdx + 2]
cmp byte [rbx + 0x33d], dl
je 0x180163732
mov dword [r12], 0x86
jmp 0x180163732
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x180163970
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fc], ax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x1801639bf
cmp ecx, 1
jne 0x180163903
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x1801639e6
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x98], xmm0
movups xmmword [rbx + 0xa8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fe], ax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x180163a3e
cmp ecx, 1
jne 0x180163903
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x180163a68
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x200], ax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
test ecx, ecx
je 0x180163aba
cmp ecx, 1
jne 0x180163903
movups xmm0, xmmword [rbx + 0xf8]
movups xmm1, xmmword [rbx + 0x108]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x118]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x128]
jmp 0x180163ade
movups xmm0, xmmword [rbx + 0x138]
movups xmm1, xmmword [rbx + 0x148]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x158]
movups xmmword [rbx + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x168]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm1
movups xmm0, xmmword [rbx + 0x38]
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbx + 0x78], xmm0
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rbx + 0x88], xmm1
movups xmm1, xmmword [rbx + 0x68]
movups xmmword [rbx + 0x98], xmm0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbx + 0xa8], xmm1
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbx + 0xb8], xmm0
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rbx + 0xc8], xmm1
movups xmm1, xmmword [rbx + 0x68]
movups xmmword [rbx + 0xd8], xmm0
movups xmmword [rbx + 0xe8], xmm1
movzx eax, word [rsi]
mov word [rbx + 0x1fc], ax
movzx eax, word [rsi]
mov word [rbx + 0x1fe], ax
movzx eax, word [rsi]
mov word [rbx + 0x200], ax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov edi, 1
lea esi, [rdi + 1]
test eax, eax
jns 0x180163b79
mov dword [r12], 0x84
jmp 0x180163730
mov ecx, 0xffff
cmp eax, ecx
cmovg eax, ecx
mov dword [rbx + 0x1d4], eax
jmp 0x180163730
mov edi, 1
lea rax, [0x180161410]
mov dword [rbx + 0x1dc], edi
mov qword [rbx + 0x348], rax
jmp 0x18016372b
lea rax, [0x180161450]
mov dword [rbx + 0x1dc], r14d
mov qword [rbx + 0x348], rax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov dword [rbx + 0x1d8], eax
jmp case.0x1801636a5.33
mov edi, 1
mov rcx, rbx
call fcn.1801614d0
cmp al, 1
je case.0x1801636a5.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x58
je 0x180163bfd
cmp ecx, 1
jne 0x180163bff
dec edi
jmp 0x180163bff
inc edi
test edi, edi
jne 0x180163bd8
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
test ecx, ecx
jne 0x180163c12
test edx, edx
je 0x180163c7f
mov edx, dword [rbx + 0x218]
add edx, ecx
mov dword [rbx + 0x218], edx
js 0x180163c7f
movsxd rax, dword [rbx + 0x280]
test eax, eax
jle 0x180163c42
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
mov rcx, qword [rax + rcx*8 - 8]
cmp edx, dword [rcx + 8]
jg 0x180163c7f
mov byte [rbx + 0x228], 0
cmp dword [rsi], 0
jge case.0x1801636a5.33
inc dword [rbx + 0x3a8]
xor edx, edx
mov eax, dword [rbx + 0x3a8]
lea edi, [rdx + 1]
lea esi, [rdx + 2]
cmp eax, dword [rbx + 0x3ac]
jbe 0x180163732
mov dword [r12], 0x8b
jmp 0x180163732
mov dword [r12], 0x84
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e4], eax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov dword [rbx + 0x1e8], eax
jmp case.0x1801636a5.33
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi]
call fcn.18014c740
mov dword [rbx + 0x1ec], eax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov dword [rsi + 4], eax
jmp case.0x1801636a5.33
mov dword [rbx + 0x34], r14d
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
mov eax, dword [rsi + 4]
mov dword [rsi], eax
mov dword [rsi + 4], ecx
jmp case.0x1801636a5.33
mov eax, dword [rbx + 0x1c]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
test eax, eax
jle 0x180163d04
cmp eax, edx
jg 0x180163d04
sub edx, eax
movsxd rax, edx
mov ecx, dword [r10 + rax*4]
mov dword [rsi], ecx
jmp case.0x1801636a5.33
cmp byte [rbx + 0x33d], 0
je 0x180163d15
mov dword [r12], 0x86
mov ecx, r14d
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov r8d, dword [rsi]
test r8d, r8d
jle 0x180163903
cmp r8d, edx
jg 0x180163903
sub edx, r8d
movsxd rax, edx
mov edi, dword [r10 + rax*4]
lea rcx, [r10 + rax*4]
lea eax, [r8 - 1]
movsxd r8, eax
lea eax, [rdx + 1]
movsxd rdx, eax
shl r8, 2
lea rdx, [r10 + rdx*4]
call sub.VCRUNTIME140.dll_memmove
movsxd rcx, dword [rbx + 0x30]
mov rax, qword [rbx + 0x28]
mov dword [rax + rcx*4 - 4], edi
jmp case.0x1801636a5.33
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x84]
jae 0x180163903
movzx esi, word [rsi + 4]
cmp si, word [rbx + 0x44]
jae 0x180163903
mov rax, qword [rbx + 0x90]
mov rcx, rbx
lea r9, [rax + rbp*8]
mov rax, qword [rbx + 0x50]
mov r8d, dword [rax + rsi*8 + 4]
mov edx, dword [rax + rsi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x350]
movzx r8d, bp
mov rcx, rbx
cdq
sub eax, edx
lea rdx, [rbx + 0x78]
sar eax, 1
mov r9d, eax
mov edi, eax
call qword [rbx + 0x368]
neg edi
lea rdx, [rbx + 0x38]
mov r9d, edi
movzx r8d, si
mov rcx, rbx
call qword [rbx + 0x368]
jmp case.0x1801636a5.33
movzx ecx, word [rsi]
cmp cx, word [rbx + 0x44]
jae 0x180163903
cmp word [rbx + 0x1ce], 0
mov edx, 0xff
mov eax, 0xf7
cmove eax, edx
mov rdx, qword [rbx + 0x60]
add rdx, rcx
movzx r8d, al
movzx eax, r8b
and al, 0xef
cmp word [rbx + 0x1d0], 0
movzx ecx, al
cmove ecx, r8d
and byte [rdx], cl
jmp case.0x1801636a5.33
mov r10d, dword [rbx + 0x278]
mov r8d, dword [rsi + 4]
inc r10d
cmp r8d, r10d
jae 0x180163f4c
mov r9, qword [rbx + 0x260]
test r9, r9
je 0x180163e5e
lea rcx, [r8 + r8*4]
lea rdx, [r9 + rcx*4]
jmp 0x180163e61
mov rdx, r14
mov eax, dword [rbx + 0x258]
cmp r10d, eax
jne 0x180163e72
cmp dword [rdx + 0xc], r8d
je 0x180163ea5
mov rdx, r9
test r9, r9
je 0x180163f4c
lea rcx, [rax + rax*4]
lea rax, [r9 + rcx*4]
cmp rdx, rax
jae 0x180163e9f
nop dword [rax + rax]
cmp dword [rdx + 0xc], r8d
je 0x180163ea5
add rdx, 0x14
cmp rdx, rax
jb 0x180163e90
je 0x180163f4c
cmp byte [rdx + 0x10], 0
je 0x180163f4c
movsxd rax, dword [rbx + 0x280]
cmp eax, dword [rbx + 0x284]
jl 0x180163ecb
mov dword [r12], 0x82
jmp case.0x1801636a5.33
cmp dword [rsi], 0
jle case.0x1801636a5.33
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
lea r8, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [r8], eax
mov rcx, rbx
mov eax, dword [rbx + 0x218]
inc eax
mov dword [r8 + 4], eax
mov eax, dword [rsi]
mov dword [r8 + 8], eax
mov qword [r8 + 0x10], rdx
inc dword [rbx + 0x280]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.18015f680
xor edx, edx
mov byte [rbx + 0x228], 0
mov eax, dword [rsi]
add dword [rbx + 0x3a0], eax
mov eax, dword [rbx + 0x3a0]
lea edi, [rdx + 1]
lea esi, [rdx + 2]
cmp eax, dword [rbx + 0x3a4]
jbe 0x180163732
mov dword [r12], 0x8b
jmp 0x180163732
mov dword [r12], 0x86
jmp case.0x1801636a5.33
mov r10d, dword [rbx + 0x278]
mov r8d, dword [rsi]
inc r10d
cmp r8d, r10d
jae 0x180163f4c
mov r9, qword [rbx + 0x260]
test r9, r9
je 0x180163f4c
mov eax, dword [rbx + 0x258]
lea rcx, [r8 + r8*4]
lea rdx, [r9 + rcx*4]
cmp r10d, eax
jne 0x180163f90
cmp dword [rdx + 0xc], r8d
je 0x180163fb4
lea rcx, [rax + rax*4]
mov rdx, r9
lea rax, [r9 + rcx*4]
cmp r9, rax
jae 0x180163faf
cmp dword [rdx + 0xc], r8d
je 0x180163fb4
add rdx, 0x14
cmp rdx, rax
jb 0x180163fa0
cmp rdx, rax
je 0x180163f4c
cmp byte [rdx + 0x10], 0
je 0x180163f4c
movsxd rax, dword [rbx + 0x280]
mov edi, 1
cmp eax, dword [rbx + 0x284]
jl 0x180163fdb
mov dword [r12], 0x82
jmp 0x18016372b
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
lea r8, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [r8], eax
mov rcx, rbx
mov eax, dword [rbx + 0x218]
mov dword [r8 + 8], edi
inc eax
mov dword [r8 + 4], eax
mov qword [r8 + 0x10], rdx
inc dword [rbx + 0x280]
mov r8d, dword [rdx + 4]
mov edx, dword [rdx]
call fcn.18015f680
mov byte [rbx + 0x228], 0
jmp 0x18016372b
mov rdx, rsi
mov rcx, rbx
call fcn.18015f4e0
jmp case.0x1801636a5.33
movsxd rcx, dword [rbx + 0x280]
test ecx, ecx
jg 0x18016404f
mov dword [r12], 0x88
jmp case.0x1801636a5.33
lea eax, [rcx - 1]
mov dword [rbx + 0x280], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x288]
dec dword [rax + rcx*8 - 0x10]
lea rdx, [rax + rcx*8]
mov byte [rbx + 0x228], 0
cmp dword [rdx - 0x10], 0
jle 0x180164090
inc dword [rbx + 0x280]
mov rax, qword [rdx - 8]
mov ecx, dword [rax + 4]
mov dword [rbx + 0x218], ecx
jmp case.0x1801636a5.33
mov r8d, dword [rdx - 0x14]
mov rcx, rbx
mov edx, dword [rdx - 0x18]
call fcn.18015f680
jmp case.0x1801636a5.33
movzx edi, word [rsi]
cmp di, word [rbx + 0x44]
jae 0x180163903
test r8b, 1
je 0x1801640fb
mov rax, qword [rbx + 0x50]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
call qword [rbx + 0x350]
lea rcx, [fcn.180161360]
mov r8d, 3
mov esi, eax
mov rax, qword [rbx + 0x348]
cmp rax, rcx
mov edx, esi
mov rcx, rbx
jne 0x1801640f5
call fcn.180161360
sub eax, esi
jmp 0x1801640fe
call rax
sub eax, esi
jmp 0x1801640fe
mov eax, r14d
lea rdx, [rbx + 0x38]
mov r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x368]
mov word [rbx + 0x1c0], di
mov word [rbx + 0x1c2], di
jmp case.0x1801636a5.33
mov rcx, rbx
call fcn.18015fca0
jmp case.0x1801636a5.33
mov rcx, rbx
call fcn.1801607d0
jmp case.0x1801636a5.33
mov rdx, rsi
mov rcx, rbx
call fcn.180160560
jmp case.0x1801636a5.33
mov rdx, rsi
mov rcx, rbx
call fcn.180160c90
jmp case.0x1801636a5.33
mov rdx, rsi
mov rcx, rbx
call fcn.1801609d0
jmp case.0x1801636a5.33
mov rcx, rbx
call fcn.18015f6f0
jmp case.0x1801636a5.33
movzx edi, word [rsi]
cmp di, word [rbx + 0x84]
jae 0x180163903
movzx eax, word [rbx + 0x1c0]
cmp ax, word [rbx + 0x44]
jae 0x180163903
cmp word [rbx + 0x1fe], 0
lea rbp, [rbx + 0x78]
jne 0x1801641ea
mov rcx, qword [rbx + 0x88]
mov edx, eax
mov rax, qword [rbx + 0x48]
movzx r8d, di
mov rax, qword [rax + rdx*8]
mov rdx, rbp
mov qword [rcx + rdi*8], rax
mov rcx, rbx
mov r9d, dword [rsi + 4]
call qword [rbx + 0x370]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rbx + 0x90]
mov rax, qword [rax + rdi*8]
mov qword [rcx + rdi*8], rax
movzx ecx, word [rbx + 0x1c0]
mov rax, qword [rbx + 0x50]
lea r9, [rax + rcx*8]
mov rax, qword [rbx + 0x90]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x350]
mov r9d, dword [rsi + 4]
movzx r8d, di
sub r9d, eax
mov rdx, rbp
mov rcx, rbx
call qword [rbx + 0x368]
movzx eax, word [rbx + 0x1c0]
xor edx, edx
test byte [rbx + 0x220], 1
mov word [rbx + 0x1c2], ax
mov word [rbx + 0x1c4], di
lea esi, [rdx + 2]
je 0x180164259
mov word [rbx + 0x1c0], di
mov edi, 1
jmp 0x180163732
mov ecx, dword [rbx + 0x1d4]
cmp dword [rbx + 0x1c], ecx
jl 0x180164310
movzx eax, word [rbx + 0x44]
cmp word [rbx + 0x1c0], ax
jae 0x180164310
test ecx, ecx
jle 0x180164321
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x30]
lea eax, [rcx - 1]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
movzx edi, word [rax + rcx*4 - 4]
cmp di, word [rbx + 0x84]
jb 0x1801642bb
cmp byte [rbx + 0x33d], 0
jne 0x180163f4c
jmp 0x1801642ff
movzx ecx, word [rbx + 0x1c0]
mov rax, qword [rbx + 0x50]
lea r9, [rax + rcx*8]
mov rax, qword [rbx + 0x90]
mov rcx, rbx
mov r8d, dword [rax + rdi*8 + 4]
mov edx, dword [rax + rdi*8]
sub r8d, dword [r9 + 4]
sub edx, dword [r9]
call qword [rbx + 0x350]
lea rdx, [rbx + 0x78]
movzx r8d, di
neg eax
mov rcx, rbx
mov r9d, eax
call qword [rbx + 0x368]
dec dword [rbx + 0x1d4]
cmp dword [rbx + 0x1d4], 0
jg 0x180164290
jmp 0x180164321
cmp byte [rbx + 0x33d], 0
je 0x180164321
mov dword [r12], 0x86
mov eax, dword [rbx + 0x30]
mov edi, 1
mov dword [rbx + 0x1d4], edi
mov dword [rbx + 0x34], eax
jmp 0x18016372b
mov esi, 2
lea rax, [0x1801613d0]
mov dword [rbx + 0x1dc], esi
mov qword [rbx + 0x348], rax
lea edi, [rsi - 1]
jmp 0x180163730
movzx ebp, word [rsi]
cmp bp, word [rbx + 0x44]
jae 0x180164468
mov edx, dword [rsi + 4]
cmp edx, dword [rbx + 0x22c]
jae 0x180164468
mov rax, qword [rbx + 0x380]
lea rcx, [0x180161260]
cmp rax, rcx
jne 0x180164393
mov rax, qword [rbx + 0x230]
mov edi, dword [rax + rdx*4]
jmp 0x18016439a
mov rcx, rbx
call rax
mov edi, eax
cmp word [rbx + 0x1fc], 0
jne 0x1801643df
movsx edx, word [rbx + 0x1ce]
mov ecx, edi
call fcn.180162b90
mov rcx, qword [rbx + 0x48]
mov dword [rcx + rbp*8], eax
mov ecx, edi
movsx edx, word [rbx + 0x1d0]
call fcn.180162b90
mov rcx, qword [rbx + 0x48]
mov dword [rcx + rbp*8 + 4], eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x50]
mov rax, qword [rax + rbp*8]
mov qword [rcx + rbp*8], rax
mov rax, qword [rbx + 0x50]
mov rcx, rbx
mov r8d, dword [rax + rbp*8 + 4]
mov edx, dword [rax + rbp*8]
call qword [rbx + 0x350]
test byte [rbx + 0x220], 1
mov esi, eax
je 0x18016443f
mov ecx, eax
mov r8d, edi
sub ecx, edi
sub r8d, eax
cmovns ecx, r8d
mov r8d, 3
cmp ecx, dword [rbx + 0x1e4]
lea rcx, [fcn.180161360]
cmovg edi, eax
mov rax, qword [rbx + 0x348]
cmp rax, rcx
mov edx, edi
mov rcx, rbx
jne 0x18016443b
call fcn.180161360
jmp 0x18016443d
call rax
mov edi, eax
sub edi, esi
lea rdx, [rbx + 0x38]
mov r9d, edi
movzx r8d, bp
mov rcx, rbx
call qword [rbx + 0x368]
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x1801636a5.33
cmp byte [rbx + 0x33d], 0
je 0x180164479
mov dword [r12], 0x86
mov word [rbx + 0x1c0], bp
mov word [rbx + 0x1c2], bp
jmp case.0x1801636a5.33
sub r9d, dword [rbx + 0x1c]
mov edi, 1
movsxd rcx, dword [rbx + 0x218]
inc r9d
mov rax, qword [rbx + 0x210]
movzx r10d, byte [rcx + rax + 1]
cmp r10d, r9d
jb 0x1801644be
mov dword [r12], 0x82
jmp 0x18016372b
movzx r9d, di
cmp di, r10w
ja 0x1801644fb
nop dword [rax + rax]
mov ecx, dword [rbx + 0x218]
mov rax, qword [rbx + 0x210]
movzx r8d, r9w
inc r9w
add ecx, r8d
movsxd rdx, ecx
movzx ecx, byte [rdx + rax + 1]
mov dword [rsi + r8*4 - 4], ecx
cmp r9w, r10w
jbe 0x1801644d0
add dword [rbx + 0x34], r10d
jmp 0x18016372b
sub r9d, dword [rbx + 0x1c]
movsxd rdx, dword [rbx + 0x218]
inc r9d
mov rax, qword [rbx + 0x210]
movzx r10d, byte [rdx + rax + 1]
cmp r10d, r9d
jb 0x180164531
mov dword [r12], 0x82
jmp case.0x1801636a5.33
lea eax, [rdx + 2]
mov dword [rbx + 0x218], eax
test r10b, r10b
je 0x18016457d
mov r9, r10
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
mov r8, rcx
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax]
movzx eax, byte [r8 + rax + 1]
movsx ecx, bp
imul edx, ecx
add ax, dx
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x180164542
add dword [rbx + 0x34], r10d
mov byte [rbx + 0x228], 0
jmp case.0x1801636a5.33
mov edi, dword [rsi]
movzx r9d, word [rbx + 0x2c8]
cmp edi, r9d
jae 0x180163903
cmp dword [rbx + 0x204], 3
jne 0x180164630
mov rax, qword [rbx + 0x2e0]
cmp qword [rbx + 0x2d0], rax
je 0x180164630
movzx r8d, word [rbx + 0x2d8]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x28], rcx
mov edx, 4
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.180151c20
mov ecx, dword [rsp + 0x98]
mov qword [rbx + 0x2e0], rax
mov dword [r12], ecx
test ecx, ecx
jne case.0x1801636a5.33
movzx r8d, word [rbx + 0x2c8]
mov rcx, rax
mov rdx, qword [rbx + 0x2d0]
mov word [rbx + 0x2d8], r8w
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x2e0]
mov qword [rbx + 0x2d0], rax
mov rcx, qword [rbx + 0x2d0]
mov eax, dword [rsi + 4]
mov dword [rcx + rdi*4], eax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0x2c8]
cmp ecx, eax
jb 0x18016467b
xor edx, edx
lea edi, [rdx + 1]
cmp byte [rbx + 0x33d], dl
je 0x18016466e
mov dword [r12], 0x86
mov esi, 2
jmp 0x180163732
mov dword [rsi], r14d
mov esi, 2
jmp 0x180163732
mov rax, qword [rbx + 0x2d0]
mov ecx, dword [rax + rcx*4]
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x180163903
mov rax, qword [rbx + 0x388]
lea rcx, [0x180166920]
mov esi, dword [rsi + 4]
cmp rax, rcx
mov rcx, rbx
jne 0x1801646d9
call fcn.180161060
xor edx, edx
cmp dword [r12], edx
jne 0x1801637ab
mov rax, qword [rbx + 0x230]
mov dword [rax + rdi*4], esi
lea edi, [rdx + 1]
lea esi, [rdx + 2]
jmp 0x180163732
mov r8d, esi
mov edx, edi
call rax
jmp case.0x1801636a5.33
mov edx, dword [rsi]
cmp edx, dword [rbx + 0x22c]
jae 0x18016464f
mov rax, qword [rbx + 0x380]
lea rcx, [0x180161260]
cmp rax, rcx
jne 0x180164717
mov rax, qword [rbx + 0x230]
mov eax, dword [rax + rdx*4]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
movzx eax, word [rbx + 0xc4]
cmp ecx, eax
jb 0x18016474b
cmp byte [rbx + 0x33d], 0
je 0x180164741
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x1801636a5.33
lea rdx, [rcx*8]
mov rcx, rbx
test r8b, 1
je 0x180164778
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rdx + 4]
mov edx, dword [rax + rdx]
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx + 4]
mov edx, dword [rax + rdx]
call qword [rbx + 0x350]
mov dword [rsi], eax
jmp case.0x1801636a5.33
movzx edi, word [rsi]
cmp di, word [rbx + 0xc4]
jae 0x180163903
mov rax, qword [rbx + 0xd0]
lea r14, [rdi*8]
mov rcx, rbx
mov r8d, dword [rax + r14 + 4]
mov edx, dword [rax + r14]
call qword [rbx + 0x350]
mov r9d, dword [rsi + 4]
lea rdx, [rbx + 0xb8]
sub r9d, eax
movzx r8d, di
mov rcx, rbx
call qword [rbx + 0x368]
xor edx, edx
lea edi, [rdx + 1]
lea esi, [rdx + 2]
cmp word [rbx + 0x200], dx
jne 0x180163732
mov rax, qword [rbx + 0xd0]
mov rcx, qword [rbx + 0xc8]
mov rax, qword [r14 + rax]
mov qword [r14 + rcx], rax
jmp 0x180163732
movzx edx, word [rsi]
movzx r9d, word [rsi + 4]
cmp dx, word [rbx + 0x44]
jae 0x18016492f
cmp r9w, word [rbx + 0x84]
jae 0x18016492f
test r8b, 1
je 0x180164864
mov rax, qword [rbx + 0x90]
mov rcx, rbx
lea r9, [rax + r9*8]
mov rax, qword [rbx + 0x50]
mov r8d, dword [rax + rdx*8 + 4]
mov edx, dword [rax + rdx*8]
sub edx, dword [r9]
sub r8d, dword [r9 + 4]
call qword [rbx + 0x350]
mov dword [rsi], eax
jmp case.0x1801636a5.33
cmp word [rbx + 0x1fc], 0
je 0x180164900
cmp word [rbx + 0x1fe], 0
je 0x180164900
mov rax, qword [rbx + 0x58]
lea r14, [rax + rdx*8]
mov rax, qword [rbx + 0x98]
mov edx, dword [rbx + 0x180]
lea rbp, [rax + r9*8]
cmp edx, dword [rbx + 0x184]
jne 0x1801648cc
mov r8d, dword [r14 + 4]
mov rcx, rbx
mov edx, dword [r14]
sub r8d, dword [rbp + 4]
sub edx, dword [rbp]
call qword [rbx + 0x358]
mov edx, dword [rbx + 0x180]
mov ecx, eax
call fcn.18014c740
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov ecx, dword [r14]
sub ecx, dword [rbp]
call fcn.18014c740
mov ecx, dword [r14 + 4]
mov edi, eax
sub ecx, dword [rbp + 4]
mov edx, dword [rbx + 0x184]
call fcn.18014c740
mov r8d, eax
mov edx, edi
mov rcx, rbx
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x48]
mov rcx, rbx
mov r8d, dword [rax + rdx*8 + 4]
lea rdx, [rax + rdx*8]
mov rax, qword [rbx + 0x88]
mov edx, dword [rdx]
sub r8d, dword [rax + r9*8 + 4]
sub edx, dword [rax + r9*8]
call qword [rbx + 0x358]
mov dword [rsi], eax
jmp case.0x1801636a5.33
cmp byte [rbx + 0x33d], 0
je 0x180164940
mov dword [r12], 0x86
mov eax, r14d
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x18015efd0]
cmp rax, rcx
jne 0x18016496b
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x23
jne 0x1801649b4
mov rax, qword [rbx + 0x378]
lea rcx, [0x18015efd0]
cmp rax, rcx
jne 0x1801649a8
movzx eax, word [rbx + 0x1a0]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov eax, dword [rbx + 0x178]
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov byte [rbx + 0x1e0], 1
jmp case.0x1801636a5.33
mov byte [rbx + 0x1e0], 0
jmp case.0x1801636a5.33
mov dword [r12], 0x87
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
sete cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
mov ecx, r14d
cmp dword [rsi], eax
setne cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov r9, qword [rbx + 0x348]
lea rcx, [0x1801613d0]
mov eax, dword [rsi]
cmp r9, rcx
jne 0x180164ab5
mov edx, dword [rbx + 0x1b8]
test eax, eax
js 0x180164a92
add edx, 0x10
mov ecx, r14d
add eax, edx
mov edx, r14d
and eax, 0xffffffe0
cmovge edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
sub edx, eax
mov ecx, r14d
add edx, 0x10
and edx, 0xffffffe0
neg edx
test edx, edx
cmovg edx, r14d
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov r8d, 3
mov edx, eax
mov rcx, rbx
call r9
mov ecx, r14d
mov edx, eax
and dl, 0x7f
cmp dl, 0x40
sete cl
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x348]
lea rcx, [0x1801613d0]
mov edx, dword [rsi]
cmp rax, rcx
jne 0x180164b35
mov ecx, dword [rbx + 0x1b8]
test edx, edx
js 0x180164b15
lea eax, [rcx + 0x10]
mov ecx, r14d
add eax, edx
and eax, 0xffffffe0
cmovge ecx, eax
mov eax, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x1801636a5.33
sub ecx, edx
mov eax, r14d
add ecx, 0x10
and ecx, 0xffffffe0
neg ecx
test ecx, ecx
cmovg ecx, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov r8d, 3
mov rcx, rbx
call rax
mov ecx, eax
mov eax, r14d
test cl, 0x7f
sete al
mov dword [rsi], eax
jmp case.0x1801636a5.33
cmp dword [rsi], 0
mov edi, 1
jne 0x18016372b
xor sil, sil
mov rcx, rbx
call fcn.1801614d0
cmp al, 1
je case.0x1801636a5.33
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x1b
je 0x180164b91
sub ecx, 0x3d
je 0x180164b8d
cmp ecx, 1
jne 0x180164b98
sub edi, ecx
jmp 0x180164b94
inc edi
jmp 0x180164b98
cmp edi, 1
sete sil
test sil, sil
je 0x180164b63
jmp case.0x1801636a5.33
cmp dword [rsi], 0
je 0x180164bbb
cmp dword [rsi + 4], 0
je 0x180164bbb
mov edi, 1
mov eax, edi
mov dword [rsi], eax
jmp 0x18016372b
mov eax, r14d
mov edi, 1
mov dword [rsi], eax
jmp 0x18016372b
cmp dword [rsi], 0
jne 0x180164be4
cmp dword [rsi + 4], 0
jne 0x180164be4
mov eax, r14d
mov edi, 1
mov dword [rsi], eax
jmp 0x18016372b
mov edi, 1
mov eax, edi
mov dword [rsi], eax
jmp 0x18016372b
cmp dword [rsi], 0
mov eax, r14d
sete al
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x18015efd0]
cmp rax, rcx
jne 0x180164c1e
movzx ebp, word [rbx + 0x1a0]
jmp 0x180164c25
mov rcx, rbx
call rax
mov ebp, eax
mov esi, dword [rsi]
mov edi, 1
cmp esi, edi
jb 0x180164d58
lea rcx, [rbx + 0x33d]
nop dword [rax + rax]
movsxd rdx, dword [rbx + 0x30]
cmp edx, 2
jl 0x180164d4b
lea eax, [rdx - 2]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
movzx r10d, word [rax + rdx*4 - 4]
cmp r10w, word [rbx + 0x44]
jae 0x180164d22
mov r8d, dword [rax + rdx*4 - 8]
mov ecx, r8d
movzx edx, byte [rbx + 0x220]
shr ecx, 4
and ecx, 0xf
sub edx, 0x71
je 0x180164c8c
cmp edx, 1
jne 0x180164c8f
add ecx, 0x20
jmp 0x180164c8f
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp ebp, eax
jne 0x180164d19
movzx eax, word [rbx + 0x1f2]
and r8d, 0xf
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx]
cmp r8d, 8
sbb r9d, r9d
add r9d, 0xfffffff9
add r9d, r8d
shl r9d, cl
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180164d08
cmp byte [rbx + 0x39b], 0
je 0x180164d08
cmp byte [rbx + 0x39c], 0
je 0x180164cea
cmp byte [rbx + 0x39d], 0
jne 0x180164d19
cmp byte [rbx + 0x33c], 0
je 0x180164cfd
cmp word [rbx + 0x1d0], 0
jne 0x180164d08
mov rax, qword [rbx + 0x60]
test byte [r10 + rax], 0x10
je 0x180164d19
movzx r8d, r10w
lea rdx, [rbx + 0x38]
mov rcx, rbx
call qword [rbx + 0x368]
lea rcx, [rbx + 0x33d]
jmp 0x180164d36
lea rcx, [rbx + 0x33d]
cmp byte [rcx], 0
je 0x180164d36
mov dword [r12], 0x86
inc edi
cmp edi, esi
jbe 0x180164c40
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
jmp case.0x1801636a5.33
cmp byte [rcx], 0
je 0x180164d54
mov dword [r12], r13d
mov dword [rbx + 0x30], r14d
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x34], eax
jmp case.0x1801636a5.33
movzx eax, word [rsi]
mov word [rbx + 0x1f0], ax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
xor edx, edx
lea edi, [rdx + 1]
lea esi, [rdx + 2]
cmp eax, 6
jbe 0x180164d8e
mov dword [r12], 0x84
jmp 0x180163732
mov word [rbx + 0x1f2], ax
jmp 0x180163732
mov eax, dword [rsi + 4]
add dword [rsi], eax
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
sub dword [rsi], eax
jmp case.0x1801636a5.33
mov r8d, dword [rsi + 4]
test r8d, r8d
jne 0x180164dc4
mov dword [r12], 0x85
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
mov edx, 0x40
call fcn.18014c6b0
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov edx, dword [rsi + 4]
mov r8d, 0x40
mov ecx, dword [rsi]
call fcn.18014c610
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov edi, 1
test eax, eax
jns 0x18016372b
neg eax
mov dword [rsi], eax
jmp 0x18016372b
mov eax, dword [rsi]
neg eax
mov dword [rsi], eax
jmp case.0x1801636a5.33
and dword [rsi], 0xffffffc0
jmp case.0x1801636a5.33
mov eax, dword [rsi]
add eax, 0x3f
and eax, 0xffffffc0
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x348]
lea rcx, [fcn.180161360]
mov edx, dword [rsi]
and r11d, 3
cmp rax, rcx
jne 0x180164ea8
mov eax, dword [rbx + 0x2f0]
mov r8d, dword [rbx + 0x2ec]
sub eax, r8d
mov ecx, dword [rbx + r11*4 + 0x1ac]
mov r9d, dword [rbx + 0x2e8]
test edx, edx
js 0x180164e83
add eax, edx
add ecx, eax
mov eax, ecx
cdq
idiv r9d
mov eax, r8d
sub eax, edx
add ecx, eax
cmovns r8d, ecx
mov eax, r8d
mov dword [rsi], eax
jmp case.0x1801636a5.33
sub eax, edx
add ecx, eax
mov eax, ecx
cdq
idiv r9d
mov eax, edx
sub eax, r8d
sub eax, ecx
test eax, eax
jle 0x18016471c
mov eax, r8d
neg eax
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov r8d, r11d
mov rcx, rbx
call rax
mov dword [rsi], eax
jmp case.0x1801636a5.33
mov ecx, dword [rsi]
movzx eax, r8b
and eax, 3
mov edx, dword [rbx + rax*4 + 0x1ac]
test ecx, ecx
js 0x180164edd
lea eax, [rdx + rcx]
mov ecx, r14d
test eax, eax
cmovns ecx, eax
mov dword [rsi], ecx
jmp case.0x1801636a5.33
sub ecx, edx
test ecx, ecx
cmovg ecx, r14d
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov edi, dword [rsi]
cmp edi, dword [rbx + 0x22c]
jae 0x180163903
mov edx, dword [rbx + 0x1a8]
mov ecx, dword [rsi + 4]
call fcn.18014c740
mov rcx, qword [rbx + 0x230]
mov dword [rcx + rdi*4], eax
jmp case.0x1801636a5.33
mov rdx, rsi
mov rcx, rbx
call fcn.18015f380
jmp case.0x1801636a5.33
mov rax, qword [rbx + 0x378]
lea rcx, [0x18015efd0]
cmp rax, rcx
jne 0x180164f44
movzx r15d, word [rbx + 0x1a0]
jmp 0x180164f4c
mov rcx, rbx
call rax
mov r15d, eax
mov r14d, dword [rsi]
mov edi, 1
mov ebp, edi
cmp r14d, edi
jb 0x18016503c
nop
movsxd rcx, dword [rbx + 0x30]
cmp ecx, 2
jl 0x180165051
lea eax, [rcx - 2]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x28]
mov esi, dword [rax + rcx*4 - 4]
cmp esi, dword [rbx + 0x22c]
jb 0x180164fa2
cmp byte [rbx + 0x33d], 0
je 0x18016502c
mov r15, qword [rsp + 0x30]
mov dword [r12], 0x86
jmp case.0x1801636a5.33
mov r8d, dword [rax + rcx*4 - 8]
mov ecx, r8d
movzx edx, byte [rbx + 0x220]
shr ecx, 4
and ecx, 0xf
sub edx, 0x74
je 0x180164fc6
cmp edx, 1
jne 0x180164fc9
add ecx, 0x20
jmp 0x180164fc9
add ecx, 0x10
movzx eax, word [rbx + 0x1f0]
add eax, ecx
cmp r15d, eax
jne 0x18016502c
movzx eax, word [rbx + 0x1f2]
and r8d, 0xf
mov ecx, 6
sub ecx, eax
mov rax, qword [rbx + 0x390]
cmp r8d, 8
sbb edi, edi
add edi, 0xfffffff9
add edi, r8d
shl edi, cl
lea rcx, [0x180161100]
cmp rax, rcx
mov rcx, rbx
jne 0x180165025
call fcn.180161060
cmp dword [r12], 0
jne 0x18016502c
mov rax, qword [rbx + 0x230]
add dword [rax + rsi*4], edi
jmp 0x18016502c
mov r8d, edi
mov edx, esi
call rax
inc ebp
cmp ebp, r14d
jbe 0x180164f60
mov edi, 1
xor edx, edx
mov eax, dword [rbx + 0x30]
lea esi, [rdx + 2]
mov r15, qword [rsp + 0x30]
mov dword [rbx + 0x34], eax
jmp 0x180163732
cmp byte [rbx + 0x33d], 0
je 0x18016505e
mov dword [r12], r13d
mov r15, qword [rsp + 0x30]
xor edx, edx
mov dword [rbx + 0x30], edx
mov eax, edx
mov dword [rbx + 0x34], edx
lea edi, [rdx + 1]
lea esi, [rdx + 2]
jmp 0x180163732
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x1801650ad
sub ecx, 0x40
je 0x180165095
sub ecx, 0x40
je 0x1801650a1
cmp ecx, 0x40
jne 0x1801650b7
mov dword [rbx + 0x2e8], 0x4000
jmp 0x1801650b7
mov dword [rbx + 0x2e8], 0x8000
jmp 0x1801650b7
mov dword [rbx + 0x2e8], 0x2000
mov eax, r8d
and eax, 0x30
je 0x180165112
cmp eax, 0x10
je 0x1801650fb
cmp eax, 0x20
je 0x1801650e8
cmp eax, 0x30
jne 0x180165119
mov eax, dword [rbx + 0x2e8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x180165119
mov eax, dword [rbx + 0x2e8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2ec], eax
jmp 0x180165119
mov eax, dword [rbx + 0x2e8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x180165119
mov dword [rbx + 0x2ec], r14d
mov ecx, dword [rbx + 0x2e8]
and r8d, 0xf
jne 0x18016512a
lea eax, [rcx - 1]
jmp 0x18016513a
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2e8], ecx
sar dword [rbx + 0x2ec], 8
sar eax, 8
mov dword [rbx + 0x2f0], eax
lea rax, [0x180161300]
mov qword [rbx + 0x348], rax
mov dword [rbx + 0x1dc], 6
jmp case.0x1801636a5.33
mov r8d, dword [rsi]
mov ecx, r8d
and ecx, 0xc0
je 0x1801651a5
sub ecx, 0x40
je 0x18016518d
sub ecx, 0x40
je 0x180165199
cmp ecx, 0x40
jne 0x1801651af
mov dword [rbx + 0x2e8], 0x2d41
jmp 0x1801651af
mov dword [rbx + 0x2e8], 0x5a82
jmp 0x1801651af
mov dword [rbx + 0x2e8], 0x16a0
mov eax, r8d
and eax, 0x30
je 0x18016520a
cmp eax, 0x10
je 0x1801651f3
cmp eax, 0x20
je 0x1801651e0
cmp eax, 0x30
jne 0x180165211
mov eax, dword [rbx + 0x2e8]
lea eax, [rax + rax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x180165211
mov eax, dword [rbx + 0x2e8]
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x2ec], eax
jmp 0x180165211
mov eax, dword [rbx + 0x2e8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbx + 0x2ec], eax
jmp 0x180165211
mov dword [rbx + 0x2ec], r14d
mov ecx, dword [rbx + 0x2e8]
and r8d, 0xf
jne 0x180165222
lea eax, [rcx - 1]
jmp 0x180165232
lea eax, [r8 - 4]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
sar ecx, 8
mov dword [rbx + 0x2e8], ecx
sar dword [rbx + 0x2ec], 8
sar eax, 8
mov dword [rbx + 0x2f0], eax
lea rax, [fcn.180161360]
mov qword [rbx + 0x348], rax
mov dword [rbx + 0x1dc], 7
jmp case.0x1801636a5.33
cmp dword [rsi + 4], 0
je case.0x1801636a5.33
jmp case.0x1801636a5.28
cmp dword [rsi + 4], 0
jne case.0x1801636a5.33
jmp case.0x1801636a5.28
lea rax, [0x1801612d0]
mov dword [rbx + 0x1dc], 5
mov qword [rbx + 0x348], rax
jmp case.0x1801636a5.33
lea rax, [0x180161490]
mov dword [rbx + 0x1dc], 4
mov qword [rbx + 0x348], rax
jmp case.0x1801636a5.33
lea rax, [0x1801612a0]
mov dword [rbx + 0x1dc], 3
mov qword [rbx + 0x348], rax
jmp case.0x1801636a5.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18016530e
cmp byte [rbx + 0x39b], 0
je 0x18016530e
cmp byte [rbx + 0x39c], 0
je 0x18016530e
cmp byte [rbx + 0x39d], 0
mov ecx, edx
jne 0x18016538a
mov eax, dword [rbx + 0x1d4]
mov ecx, edx
cmp dword [rbx + 0x1c], eax
jge 0x18016533b
cmp byte [rbx + 0x33d], 0
je 0x18016538a
mov edi, 1
mov dword [r12], r13d
mov dword [rbx + 0x1d4], edi
mov dword [rbx + 0x34], edx
jmp 0x18016372b
test eax, eax
jle 0x18016538a
nop
lea ecx, [rdx - 1]
movsxd rax, edx
mov dword [rbx + 0x30], ecx
movzx edx, word [r10 + rax*4 - 4]
cmp dx, word [rbx + 0x104]
jb 0x180165367
cmp byte [rbx + 0x33d], 0
jne 0x180163f4c
jmp 0x180165379
mov rax, qword [rbx + 0x120]
xor byte [rax + rdx], 1
mov ecx, dword [rbx + 0x30]
mov r10, qword [rbx + 0x28]
dec dword [rbx + 0x1d4]
mov edx, ecx
cmp dword [rbx + 0x1d4], 0
jg 0x180165340
mov edi, 1
mov dword [rbx + 0x34], ecx
mov dword [rbx + 0x1d4], edi
jmp 0x18016372b
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x1801653cc
cmp byte [rbx + 0x39b], 0
je 0x1801653cc
cmp byte [rbx + 0x39c], 0
je 0x1801653cc
cmp byte [rbx + 0x39d], 0
jne case.0x1801636a5.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x180163903
movzx edx, word [rsi]
cmp dx, ax
jae 0x180163903
cmp dx, r8w
ja case.0x1801636a5.33
nop dword [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
or byte [rcx + rax], 1
cmp dx, r8w
jbe 0x180165400
jmp case.0x1801636a5.33
mov rax, qword [rbx]
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x18016544b
cmp byte [rbx + 0x39b], 0
je 0x18016544b
cmp byte [rbx + 0x39c], 0
je 0x18016544b
cmp byte [rbx + 0x39d], 0
jne case.0x1801636a5.33
movzx r8d, word [rsi + 4]
movzx eax, word [rbx + 0x104]
cmp r8w, ax
jae 0x180163903
movzx edx, word [rsi]
cmp dx, ax
jae 0x180163903
cmp dx, r8w
ja case.0x1801636a5.33
nop word [rax + rax]
mov rax, qword [rbx + 0x120]
movzx ecx, dx
inc dx
and byte [rcx + rax], 0xfe
cmp dx, r8w
jbe 0x180165480
jmp case.0x1801636a5.33
mov eax, dword [rsi]
mov edx, 0xff
movzx ecx, al
cmp ecx, edx
jne 0x1801654b6
mov byte [rbx + 0x1f5], 1
jmp case.0x1801636a5.33
test al, al
je 0x18016554f
test ebp, eax
je 0x1801654d4
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
ja 0x1801654d4
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x200
je 0x1801654ec
cmp byte [rbx + 0x1bd], 0
je 0x1801654ec
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x400
je 0x180165504
cmp byte [rbx + 0x1be], 0
je 0x180165504
mov byte [rbx + 0x1f5], 1
test dword [rsi], 0x800
je 0x18016551e
movzx eax, word [rbx + 0x1a0]
cmp eax, ecx
jbe 0x18016551e
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x1000
je 0x180165536
cmp byte [rbx + 0x1bd], 0
je 0x180165536
mov byte [rbx + 0x1f5], 0
test dword [rsi], 0x2000
je case.0x1801636a5.33
cmp byte [rbx + 0x1be], 0
je case.0x1801636a5.33
mov byte [rbx + 0x1f5], 0
jmp case.0x1801636a5.33
mov rdx, rsi
mov rcx, rbx
call fcn.1801603b0
jmp case.0x1801636a5.33
mov r9d, dword [rsi]
mov ecx, r14d
mov rdx, qword [rbx]
test r9b, 1
je 0x180165584
mov rax, qword [rdx + 0x90]
mov ecx, dword [rax + 0x78]
mov rax, rdx
test r9b, 2
je 0x180165598
cmp byte [rbx + 0x1bd], 0
je 0x180165598
or ecx, ebp
test r9b, 4
je 0x1801655ab
cmp byte [rbx + 0x1be], 0
je 0x1801655ab
bts ecx, 9
test r9b, 8
je 0x1801655c2
cmp qword [rax + 0x410], 0
mov rdx, rax
je 0x1801655c2
bts ecx, 0xa
test r9b, 0x20
je 0x1801655d5
cmp byte [rbx + 0x398], 0
je 0x1801655d5
bts ecx, 0xc
mov rax, qword [rdx + 0x90]
cmp dword [rax + 0x78], 0x28
jne 0x180165642
cmp byte [rbx + 0x399], 0
je 0x180165642
mov edx, ecx
bts edx, 0xd
test r9b, 0x40
cmove edx, ecx
mov r8d, edx
test ebp, r9d
je 0x18016560e
cmp byte [rbx + 0x39a], 0
je 0x18016560e
bts r8d, 0xf
mov ecx, r8d
bts ecx, 0x11
bt r9d, 0xa
cmovae ecx, r8d
mov edx, ecx
bts edx, 0x12
bt r9d, 0xb
cmovae edx, ecx
mov ecx, edx
bt r9d, 0xc
jae 0x180165642
cmp byte [rbx + 0x39e], 0
je 0x180165642
bts ecx, 0x13
mov dword [rsi], ecx
jmp case.0x1801636a5.33
cmp dword [rbx + 0x204], 3
jne 0x18016565f
mov dword [r12], 0x9c
jmp case.0x1801636a5.33
mov rdi, qword [rbx + 0x270]
test rdi, rdi
je 0x180165693
mov eax, dword [rbx + 0x268]
lea rcx, [rax + rax*4]
lea rax, [rdi + rcx*4]
cmp rdi, rax
jae 0x180165691
mov ecx, dword [rsi]
cmp dword [rdi + 0xc], ecx
je 0x18016568e
add rdi, 0x14
cmp rdi, rax
jb 0x180165680
cmp rdi, rax
jne 0x1801656ad
mov eax, dword [rbx + 0x268]
cmp eax, dword [rbx + 0x26c]
jae 0x180165742
inc eax
mov dword [rbx + 0x268], eax
mov eax, dword [rsi]
mov ecx, 0xff
cmp eax, ecx
ja 0x180165742
movzx eax, al
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0x218]
inc eax
mov dword [rdi + 4], eax
mov eax, dword [rbx + 0x208]
mov dword [rdi], eax
mov byte [rdi + 0x10], 1
mov eax, dword [rsi]
cmp eax, dword [rbx + 0x27c]
jbe 0x1801656ec
movzx eax, al
mov dword [rbx + 0x27c], eax
mov rcx, rbx
call fcn.1801614d0
test al, al
jne case.0x1801636a5.33
nop dword [rax]
movzx ecx, byte [rbx + 0x220]
sub ecx, 0x2c
je 0x180165735
sub ecx, 1
je 0x180165727
cmp ecx, 0x5c
je 0x180165735
mov rcx, rbx
call fcn.1801614d0
test al, al
je 0x180165700
jmp case.0x1801636a5.33
mov eax, dword [rbx + 0x218]
mov dword [rdi + 8], eax
jmp case.0x1801636a5.33
mov dword [r12], 0x89
jmp case.0x1801636a5.33
mov dword [r12], 0x8d
jmp case.0x1801636a5.33
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 4]
mov eax, dword [rsi]
mov dword [rsi + 8], eax
mov dword [rsi + 4], edx
mov dword [rsi], ecx
jmp case.0x1801636a5.33
mov eax, dword [rsi + 4]
xor edx, edx
lea edi, [rdx + 1]
cmp eax, dword [rsi]
jle 0x180164664
mov dword [rsi], eax
lea esi, [rdx + 2]
jmp 0x180163732
mov eax, dword [rsi + 4]
xor edx, edx
lea edi, [rdx + 1]
cmp eax, dword [rsi]
jge 0x180164664
mov dword [rsi], eax
lea esi, [rdx + 2]
jmp 0x180163732
mov eax, dword [rsi]
xor edx, edx
lea edi, [rdx + 1]
lea esi, [rdx + 2]
test eax, eax
js 0x180163732
movzx eax, ax
mov dword [rbx + 0x1f8], eax
jmp 0x180163732
mov r8d, dword [rsi + 4]
mov edi, 1
mov edx, dword [rsi]
lea ecx, [r8 - 1]
cmp ecx, 2
ja 0x18016583e
mov eax, edi
shl eax, cl
test edx, edx
je 0x1801657dc
cmp edx, eax
jne 0x180163908
mov ecx, dword [rbx + 0x204]
cmp ecx, 2
jne 0x1801657fc
not al
and al, byte [rbx + 0x1f4]
or al, dl
mov byte [rbx + 0x1f4], al
jmp 0x18016372b
cmp ecx, 3
jne 0x180165830
cmp r8d, ecx
jne 0x180165830
mov rax, qword [rbx]
mov esi, 2
mov rcx, qword [rax + 0x90]
cmp dword [rcx + 0x78], 0x28
jne 0x180163730
cmp edx, 4
setne al
mov byte [rbx + 0x39b], al
jmp 0x180163730
cmp byte [rbx + 0x33d], 0
jne 0x18016584b
jmp 0x18016372b
cmp byte [rbx + 0x33d], 0
je 0x18016372b
mov dword [r12], 0x86
jmp 0x18016372b
mov rax, qword [rbx]
mov r8, qword [rax + 0x410]
test r8, r8
je case.0x1801636a5.40
sub r9d, dword [rbx + 0x1c]
mov r11d, dword [r8]
inc r9d
mov r8, qword [r8 + 0x10]
cmp r11d, r9d
jb 0x18016588b
mov dword [r12], 0x82
jmp case.0x1801636a5.33
test r8, r8
je 0x180165969
mov edx, r14d
test r11d, r11d
je case.0x1801636a5.33
cmp r11d, 0x10
jb 0x18016593c
lea eax, [r11 - 1]
lea r9, [rsi + rax*4]
lea rax, [r8 + rax*4]
cmp rsi, rax
ja 0x1801658c0
cmp r9, r8
jae 0x18016593c
mov r10d, r11d
and r10d, 0xfffffff0
mov eax, 2
mov r9d, 8
movd xmm1, eax
nop word [rax + rax]
movdqu xmm0, xmmword [r8 + rdx*4]
lea eax, [r9 - 4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rdx*4], xmm0
add edx, 0x10
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
mov eax, r9d
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
lea eax, [r9 + 4]
add r9d, 0x10
movdqu xmm0, xmmword [r8 + rax*4]
psrad xmm0, xmm1
movdqu xmmword [rsi + rax*4], xmm0
cmp edx, r10d
jb 0x1801658e0
cmp edx, r11d
jae case.0x1801636a5.33
mov eax, edx
sub r8, rsi
sub r11d, edx
mov edx, r11d
lea rcx, [rsi + rax*4]
nop dword [rax + rax]
mov eax, dword [r8 + rcx]
lea rcx, [rcx + 4]
sar eax, 2
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x180165950
jmp case.0x1801636a5.33
test r11d, r11d
je case.0x1801636a5.33
mov r8, r11
xor edx, edx
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
jmp case.0x1801636a5.33
mov rcx, rbx
call fcn.180160f90
jmp case.0x1801636a5.33
mov rax, qword [rbx]
cmp qword [rax + 0x410], 0
je case.0x1801636a5.40
mov dword [rsi], 0x11
jmp case.0x1801636a5.33
cmp r8b, 0xe0
jb 0x1801659c3
mov rdx, rsi
mov rcx, rbx
call fcn.180160140
jmp case.0x1801636a5.33
cmp r8b, 0xc0
jb 0x1801659d9
mov rdx, rsi
mov rcx, rbx
call fcn.18015ff20
jmp case.0x1801636a5.33
cmp r8b, 0xb8
jb 0x180165a67
sub r9d, dword [rbx + 0x1c]
mov eax, 0xb7
movzx ecx, r8b
inc r9d
sub cx, ax
movzx eax, cx
cmp eax, r9d
jb 0x180165a0b
mov dword [r12], 0x82
jmp case.0x1801636a5.33
inc dword [rbx + 0x218]
cmp r14w, cx
jae 0x180165a5b
movzx r9d, cx
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x218]
lea rsi, [rsi + 4]
mov r8, rcx
lea eax, [rcx + 2]
mov dword [rbx + 0x218], eax
mov rax, qword [rbx + 0x210]
movzx edx, byte [rcx + rax]
movzx eax, byte [r8 + rax + 1]
movsx ecx, bp
imul edx, ecx
add ax, dx
cwde
mov dword [rsi - 4], eax
sub r9, 1
jne 0x180165a20
mov byte [rbx + 0x228], 0
jmp case.0x1801636a5.33
cmp r8b, 0xb0
jb case.0x1801636a5.40
sub r9d, dword [rbx + 0x1c]
mov eax, 0xaf
movzx r10d, r8b
inc r9d
sub r10w, ax
mov edi, 1
movzx eax, r10w
cmp eax, r9d
jb 0x180165aa0
mov dword [r12], 0x82
jmp 0x18016372b
movzx r9d, di
cmp di, r10w
ja 0x18016372b
nop
mov ecx, dword [rbx + 0x218]
mov rax, qword [rbx + 0x210]
movzx r8d, r9w
inc r9w
add ecx, r8d
movsxd rdx, ecx
movzx ecx, byte [rdx + rax]
mov dword [rsi + r8*4 - 4], ecx
cmp r9w, r10w
jbe 0x180165ab0
jmp 0x18016372b
movsxd rax, dword [rbx + 0x280]
cmp eax, dword [rbx + 0x284]
jge 0x180165bea
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x288]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0x208]
mov dword [rdx], eax
mov eax, dword [rbx + 0x218]
inc eax
mov dword [rdx + 8], edi
mov dword [rdx + 4], eax
mov qword [rdx + 0x10], r8
movsxd rcx, dword [r8]
mov r9d, dword [r8 + 4]
lea eax, [rcx - 1]
cmp eax, 2
ja 0x180165bda
mov rax, rcx
add rax, rax
mov rdx, qword [rbx + rax*8 + 0x288]
test rdx, rdx
je 0x180165bd2
cmp r9d, dword [rbx + rax*8 + 0x290]
jg 0x180165c3c
mov qword [rbx + 0x210], rdx
mov eax, dword [rbx + rax*8 + 0x290]
mov dword [r15], eax
mov dword [rbx + 0x218], r9d
mov dword [rbx + 0x208], ecx
jmp 0x180165ba6
cmp byte [rbx + 0x228], 0
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x1c], eax
je 0x180165b8e
mov eax, dword [rbx + 0x224]
add dword [rbx + 0x218], eax
mov edi, dword [rsp + 0x90]
inc edi
mov dword [rsp + 0x90], edi
cmp edi, 0xf4240
ja 0x180165c1c
mov eax, dword [r15]
cmp dword [rbx + 0x218], eax
jge 0x180165c0f
cmp byte [rbx + 0x2f4], 0
jne 0x180165c18
lea r11, [rbx + 0x18]
xor r14d, r14d
lea rdi, [0x180000000]
jmp 0x18016355f
mov dword [r11], r13d
jmp 0x180165c46
mov r13d, 0x8a
jmp 0x180165c42
mov dword [r12], 0x84
mov r13d, 0x84
jmp 0x180165c46
mov dword [r12], 0x86
mov r13d, 0x86
jmp 0x180165c46
mov dword [r12], 0x80
mov r13d, 0x80
jmp 0x180165c46
mov r13d, eax
jmp 0x180165c46
cmp dword [rbx + 0x280], 0
jg 0x180165c3c
xor eax, eax
jmp 0x180165c49
mov dword [r12], 0x8b
mov r13d, 0x8b
jmp 0x180165c46
mov dword [r12], 0x82
mov r13d, 0x82
jmp 0x180165c46
mov r13d, 0x83
mov dword [r12], r13d
mov eax, r13d
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret