Function at 0x1800134e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x620
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1800a5f88]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov r12, r9
mov r15, r8
mov rsi, rdx
movsxd r13, ecx
mov rbx, qword [rsp + 0x688]
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0x40], rax
xor edi, edi
mov r14d, edi
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x580], rax
cmp r13d, 1
jne 0x18001355b
lea rcx, [0x1800a65d0]
call sym.Pixelocybe.aex_aescriptsInitLicenseData
jmp 0x1800136cb
cmp r13d, 3
jne 0x18001357c
movabs rdx, 0x1793bb9df35092
lea rcx, [0x1800513bc]
call sym.Pixelocybe.aex_aescriptsDropLicenseFromLicenseServer
jmp 0x1800136cb
lea eax, [r13 - 5]
cmp eax, 1
jbe 0x180013624
lea eax, [r13 - 0xd]
cmp eax, 1
jbe 0x1800136be
cmp r13d, 0xb
je 0x1800135a6
cmp r13d, 0x18
jne 0x1800136cb
cmp dword [0x1800a660c], edi
jle 0x1800136cb
cmp byte [0x1800a671c], dil
je 0x18001361d
mov eax, dword [0x1800a6718]
mov ecx, dword [0x1800a5cb0]
cmp eax, ecx
je 0x1800136cb
cmp eax, 1
jne 0x1800135e4
mov rax, qword [rdx + 0xb0]
lea rdx, [0x180051810]
jmp 0x1800135fb
test eax, eax
jne 0x180013612
cmp ecx, 1
jne 0x180013612
mov rax, qword [rdx + 0xb0]
lea rdx, [0x1800518d0]
lea rcx, [r8 + 0x64]
lea r8, [0x1800513c8]
call qword [rax + 0x148]
mov eax, dword [0x1800a6718]
mov dword [0x1800a5cb0], eax
jmp 0x1800136cb
xor eax, eax
jmp 0x1800143c8
cmp byte [0x1800a6744], dil
jne 0x1800136be
mov byte [0x1800a6744], 1
mov rdx, qword [rdx + 0x180]
lea rcx, [rsp + 0x70]
call fcn.1800017e0
nop
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x590]
call fcn.18004c378
lea r8, [rsp + 0x590]
lea rdx, [0x1800a65d0]
lea rcx, [rsp + 0x70]
call fcn.18000cfe0
lea rcx, [r15 + 0x64]
mov rax, qword [rsi + 0xb0]
lea rdx, [rsp + 0x590]
call qword [rax + 0x148]
call sym.Pixelocybe.aex_aescriptsGetLicLibVersion
cmp eax, 0x28
je 0x1800136b4
mov rax, qword [rsi + 0xb0]
lea rdx, [0x1800517d8]
lea rcx, [r15 + 0x64]
call qword [rax + 0x148]
nop
lea rcx, [rsp + 0x70]
call fcn.180001850
lea rcx, [0x1800a65d0]
call sym.Pixelocybe.aex_aescriptsCheckOveruse
nop
cmp r13d, 0x1c
ja case.0x1800136e7.2
lea rcx, [0x180000000]
mov eax, dword [rcx + r13*4 + 0x1442c]
add rax, rcx
jmp rax
mov r9, qword [rsp + 0x40]
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18000ab70
mov r14d, eax
jmp case.0x1800136e7.2
mov r14d, edi
cmp qword [rsi + 0x140], r14
jne case.0x1800136e7.2
jmp case.0x1800136e7.5
mov rcx, qword [rsi + 0x140]
test rcx, rcx
je 0x18001376f
mov rax, qword [rsi + 0xb0]
call qword [rax + 0x1b8]
cmp rax, 0x110
je 0x180013750
mov rax, qword [rsi + 0xb0]
lea rdx, [rsi + 0x140]
mov ecx, 0x110
call qword [rax + 0x1d0]
mov rax, qword [rsi + 0xb0]
mov rcx, qword [rsi + 0x140]
call qword [rax + 0xb8]
mov qword [r15 + 0x38], rdi
mov qword [rsi + 0x140], rdi
mov r14d, edi
jmp case.0x1800136e7.2
mov r14d, edi
mov rdx, qword [rsi + 0x180]
lea rcx, [rsp + 0x70]
call fcn.1800017e0
nop
mov rbx, qword [rsi + 0x140]
test rbx, rbx
je 0x180013958
mov rbx, qword [rbx]
test rbx, rbx
je 0x18001395e
mov rax, qword [rsp + 0x228]
lea r12, [0x18004fc00]
test rax, rax
jne 0x1800137f3
lea r8, [rsp + 0x40]
lea edx, [rax + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x1800137dc
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1800137eb
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x228], rax
mov ecx, 0x110
call qword [rax]
mov rsi, rax
test rax, rax
je 0x180013958
mov rax, qword [rsp + 0x228]
test rax, rax
jne 0x180013853
lea r8, [rsp + 0x570]
lea edx, [rax + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x180013839
mov rax, qword [rsp + 0x570]
test rax, rax
jne 0x18001384b
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x228], rax
mov rcx, rsi
call qword [rax + 8]
test rax, rax
je 0x18001395e
mov rcx, rax
mov edx, 4
nop word [rax + rax]
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea rcx, [rcx + 0x40]
mov qword [rcx - 0x28], rdi
mov qword [rcx - 0x20], rdi
mov qword [rcx - 0x18], rdi
mov qword [rcx - 0x10], rdi
mov qword [rcx - 8], rdi
sub rdx, 1
jne 0x180013870
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
lea ecx, [rdx + 2]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rcx, 1
jne 0x1800138b0
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov qword [r15 + 0x38], rsi
mov rax, qword [rsp + 0x228]
test rax, rax
jne 0x180013950
lea r8, [rsp + 0x48]
lea edx, [rcx + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x180013939
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x180013948
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x228], rax
mov rcx, rsi
call qword [rax + 0x10]
jmp 0x18001395e
mov r14d, 0x200
lea rcx, [rsp + 0x70]
call fcn.180001850
jmp case.0x1800136e7.2
mov r14d, edi
mov rdx, qword [rsi + 0x180]
lea rcx, [rsp + 0x70]
call fcn.1800017e0
nop
mov rbx, qword [rsi + 0x140]
test rbx, rbx
je 0x180013b9f
mov rbx, qword [rbx]
test rbx, rbx
je 0x180013ba5
mov rax, qword [rsp + 0x228]
lea r12, [0x18004fc00]
test rax, rax
jne 0x1800139e9
lea r8, [rsp + 0x40]
lea edx, [rax + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x1800139d2
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1800139e1
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x228], rax
mov ecx, 0x110
call qword [rax]
mov r13, rax
test rax, rax
je 0x180013b9f
mov rax, qword [rsp + 0x228]
test rax, rax
jne 0x180013a49
lea r8, [rsp + 0x570]
lea edx, [rax + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x180013a2f
mov rax, qword [rsp + 0x570]
test rax, rax
jne 0x180013a41
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x228], rax
mov rcx, r13
call qword [rax + 8]
test rax, rax
je 0x180013ba5
mov rcx, rax
mov edx, 4
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea rcx, [rcx + 0x40]
mov qword [rcx - 0x28], rdi
mov qword [rcx - 0x20], rdi
mov qword [rcx - 0x18], rdi
mov qword [rcx - 0x10], rdi
mov qword [rcx - 8], rdi
sub rdx, 1
jne 0x180013a60
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
lea ecx, [rdx + 2]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rcx, 1
jne 0x180013aa0
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x228]
test rax, rax
jne 0x180013b3c
lea r8, [rsp + 0x48]
lea edx, [rcx + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x180013b25
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x180013b34
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x228], rax
mov rcx, qword [rsi + 0x140]
call qword [rax + 0x18]
mov qword [r15 + 0x38], r13
mov rax, qword [rsp + 0x228]
test rax, rax
jne 0x180013b97
lea r8, [rsp + 0x580]
lea edx, [rax + 2]
mov rcx, r12
mov rax, qword [rsp + 0x70]
call qword [rax]
test eax, eax
jne 0x180013b7d
mov rax, qword [rsp + 0x580]
test rax, rax
jne 0x180013b8f
lea rcx, [rsp + 0x70]
call fcn.180002760
mov rax, qword [rsp + 0x580]
mov qword [rsp + 0x228], rax
mov rcx, r13
call qword [rax + 0x10]
jmp 0x180013ba5
mov r14d, 0x200
lea rcx, [rsp + 0x70]
call fcn.180001850
jmp case.0x1800136e7.2
lea r11, [0x180065d30]
lea r8, [0x180084580]
cmp dword [0x1800a6540], 0
cmove r8, r11
mov rdx, r15
mov rcx, rsi
call fcn.18000ac60
jmp 0x1800136fc
lea r11, [0x180065d30]
lea rbx, [0x180084580]
cmp dword [0x1800a6540], 0
cmove rbx, r11
mov rdx, qword [rsi + 0x180]
lea rcx, [rsp + 0x70]
call fcn.1800017e0
nop
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 3
mov r9d, 1
lea r8, [0x180051980]
lea edx, [r9 + 0xa]
lea rcx, [rsp + 0x580]
call fcn.1800086d0
cmp dword [rsi + 0xcc], 0x50724d72
setne r8b
lea rsi, [0x1800a5b50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x580]
lea rdx, [0x1800a65d0]
lea rcx, [rsp + 0x70]
call fcn.18000f560
nop
lea rcx, [rsp + 0x70]
call fcn.180001850
mov r14d, edi
jmp case.0x1800136e7.2
mov dword [rsp + 0x28], 0x8801410
mov dword [rsp + 0x20], 0x6008020
mov r9, qword [rsp + 0x40]
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18000a2c0
mov r14d, eax
mov edx, 0xdeadbeef
mov ebx, edx
mov r8d, 0x5470210
mov esi, r8d
mov r9d, edi
mov r10, rdi
lea r11, [0x180060820]
movzx eax, si
imul rcx, rax, 0x9069
shr rsi, 0x10
add rsi, rcx
mov esi, esi
movzx eax, bx
imul rcx, rax, 0x4650
shr rbx, 0x10
add rbx, rcx
mov ebx, ebx
mov ecx, esi
shl rcx, 0x10
add rcx, rbx
mov ecx, ecx
shr ecx, 8
xor cl, byte [r10 + r11]
mov eax, r9d
and al, 3
cmp al, 2
jne 0x180013d13
movzx eax, byte [r10 + r11 - 2]
mov byte [r10 + r11], al
mov byte [r10 + r11 - 2], cl
jmp 0x180013d17
mov byte [r10 + r11], cl
inc r9d
inc r10
cmp r9d, 0x5500
jl 0x180013cc1
mov r9, rdx
mov r10, r8
mov r11, rdi
nop
movzx eax, r10w
imul rcx, rax, 0x9069
shr r10, 0x10
add r10, rcx
mov r10d, r10d
movzx eax, r9w
imul rcx, rax, 0x4650
shr r9, 0x10
add r9, rcx
mov r9d, r9d
mov ecx, r10d
shl rcx, 0x10
add rcx, r9
mov ecx, ecx
shr ecx, 8
lea rax, [0x180000000]
xor byte [r11 + rax + 0xa53e0], cl
inc r11
cmp r11, 0x76b
jl 0x180013d30
mov r9, rdx
mov r10, r8
mov rbx, rdi
lea r11, [0x180065d30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, r10w
imul rcx, rax, 0x9069
shr r10, 0x10
add r10, rcx
mov r10d, r10d
movzx eax, r9w
imul rcx, rax, 0x4650
shr r9, 0x10
add r9, rcx
mov r9d, r9d
mov ecx, r10d
shl rcx, 0x10
add rcx, r9
mov ecx, ecx
shr ecx, 8
xor byte [rbx + r11], cl
inc rbx
cmp rbx, 0x1e846
jl 0x180013da0
mov r9, rdx
mov r10, r8
mov r11, rdi
lea rsi, [0x1800a5b50]
nop dword [rax]
movzx eax, r10w
imul rcx, rax, 0x9069
shr r10, 0x10
add r10, rcx
mov r10d, r10d
movzx eax, r9w
imul rcx, rax, 0x4650
shr r9, 0x10
add r9, rcx
mov r9d, r9d
mov ecx, r10d
shl rcx, 0x10
add rcx, r9
mov ecx, ecx
shr ecx, 8
xor byte [r11 + rsi], cl
inc r11
cmp r11, 0x15f
jl 0x180013e00
lea rbx, [0x180084580]
movzx eax, r8w
imul rcx, rax, 0x9069
shr r8, 0x10
add r8, rcx
mov r8d, r8d
movzx eax, dx
imul rcx, rax, 0x4650
shr rdx, 0x10
add rdx, rcx
mov edx, edx
mov ecx, r8d
shl rcx, 0x10
add rcx, rdx
mov ecx, ecx
shr ecx, 8
xor byte [rdi + rbx], cl
inc rdi
cmp rdi, 0x20313
jl 0x180013e50
jmp case.0x1800136e7.2
mov r9, qword [rsp + 0x40]
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18000a590
jmp 0x1800136fc
mov rax, qword [rbx]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x520], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x530], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rsp + 0x540], xmm0
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x548], eax
lea r12, [0x18004fc00]
mov qword [rsp + 0x560], r12
mov dword [rsp + 0x568], 2
mov r13, qword [rsi + 0x180]
mov qword [rsp + 0x558], r13
lea r8, [rsp + 0x580]
mov edx, 2
mov rcx, r12
call qword [r13]
test eax, eax
jne 0x1800143eb
mov rdi, qword [rsp + 0x580]
mov qword [rsp + 0x550], rdi
mov ecx, 0x110
call qword [rdi]
mov r15, rax
test rax, rax
jne 0x180013f5d
lea edx, [rax + 2]
mov rcx, r12
call qword [r13 + 8]
nop
lea r14d, [r15 + 4]
jmp case.0x1800136e7.2
mov rcx, r15
call qword [rdi + 8]
mov r9, rax
mov r8, rbx
xor edx, edx
mov rcx, rsi
call fcn.18001a1e0
mov rax, qword [rbx + 8]
mov qword [rax + 0x28], r15
mov ecx, dword [rsi + 0xe0]
mov r10, qword [rbx + 0x10]
lea rax, [rsp + 0x590]
mov qword [rsp + 0x38], rax
mov eax, dword [rsi + 0xf0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsi + 0xe4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x520]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0xb8]
call qword [r10]
mov r14d, eax
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x590]
call fcn.180001350
mov rdx, qword [rbx + 8]
add rdx, 0x10
lea rcx, [rsp + 0x5a0]
call fcn.180001350
mov rcx, r15
call qword [rdi + 0x10]
nop
mov edx, 2
mov rcx, r12
call qword [r13 + 8]
nop
jmp case.0x1800136e7.2
mov r9, rbx
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18000c580
jmp 0x1800136fc
mov r13d, dword [0x180084578]
movdqa xmm0, xmmword [0x180051a50]
movdqu xmmword [rsp + 0x550], xmm0
mov dword [rsp + 0x560], 0xffffffff
mov dword [rsp + 0x564], 0xf
mov dword [rsp + 0x568], 0xfffffff3
mov dl, 0x26
mov dword [rsp + 0x570], 0x37483f26
mov dword [rsp + 0x574], 0xf63a3b4a
mov dword [rsp + 0x578], 0x4f464519
mov byte [rsp + 0x57c], 0
mov r9d, edi
mov dword [0x1800a6540], edi
mov r8, rdi
lea r14, [0x180051970]
movsx eax, byte [r8 + r14 + 1]
movsx ecx, byte [r8 + r14]
sub ecx, eax
cmp ecx, dword [rsp + r8*4 + 0x550]
jne 0x1800140b2
inc r8
cmp r8, 7
jl 0x180014090
jmp 0x18001410a
mov dword [0x1800a6540], 1
movzx ebx, r13w
lea rcx, [rsp + 0x40]
call qword [fcn.18004f7c0]
lea rcx, [rsp + 0x40]
call qword [0x18004f7c8]
mov ecx, dword [rax + 0x14]
sub ecx, 0x78
lea edx, [rcx + rcx*2]
mov ecx, dword [rax + 0x10]
lea edx, [rcx + rdx*4]
imul ecx, edx, 0x1f
add ecx, dword [rax + 0xc]
sub ecx, ebx
sar r13d, 0x10
mov r9d, edi
cmp ecx, r13d
setge r9b
mov dword [0x1800a6540], r9d
movzx edx, byte [rsp + 0x570]
mov dword [0x1800a6544], r9d
test r9d, r9d
je 0x180014132
test dl, dl
je 0x180014132
lea rax, [rsp + 0x570]
add dl, 0x2a
mov byte [rax], dl
lea rax, [rax + 1]
movzx edx, byte [rax]
test dl, dl
jne 0x180014122
cmp dword [rsi + 0xcc], 0x50724d72
je 0x1800141a5
mov qword [rsp + 0x580], rdi
mov rax, qword [rsi + 0x180]
lea r8, [rsp + 0x580]
mov edx, 1
lea rcx, [0x180051958]
call qword [rax]
mov rax, qword [rsp + 0x580]
test rax, rax
je 0x1800141a5
lea rdx, [rsp + 0x570]
cmp dword [0x1800a6540], 0
cmovne r14, rdx
mov rdx, r14
mov rcx, qword [rsi + 0xb8]
call qword [rax]
mov rax, qword [rsi + 0x180]
mov edx, 1
lea rcx, [0x180051958]
call qword [rax + 8]
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18001a4c0
jmp 0x1800136fc
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18001b360
jmp 0x1800136fc
mov r9, rbx
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18001b360
jmp 0x1800136fc
movzx eax, word [rsi + 0xc4]
cmp ax, 0xd
jg 0x18001420a
jne 0x1800141fa
cmp word [rsi + 0xc6], 9
jge 0x18001420a
cmp dword [rsi + 0xcc], 0x50724d72
jne case.0x1800136e7.2
mov eax, dword [0x1800a6544]
mov dword [rsp + 0x570], eax
mov ecx, 0x13
call fcn.180004530
mov dword [rsp + 0x4d0], eax
mov dword [rsp + 0x4d4], 0x32
mov dword [rsp + 0x4d8], 0x32
lea rax, [0x180002780]
mov qword [rsp + 0x4dc], rax
lea rax, [0x180019b10]
mov qword [rsp + 0x4e4], rax
mov dword [rsp + 0x4ec], 6
movdqa xmm0, xmmword [0x180051a40]
movdqa xmmword [rsp + 0x4f0], xmm0
mov ecx, 0x10
call fcn.180004530
mov dword [rsp + 0x48], eax
mov r14d, edi
mov ecx, dword [rbx + 8]
cmp ecx, 2
je 0x18001435d
cmp ecx, 4
jne 0x180014384
mov r8d, dword [rbx + 0x50]
cmp r8d, eax
jne 0x1800142c8
cmp dword [rbx + 0x54], 1
jne 0x1800142c8
cmp word [rsi + 0xc4], 0xd
jne 0x1800142c1
cmp word [rsi + 0xc6], 0x17
je 0x1800142c8
mov r9, qword [rsp + 0x40]
jmp 0x180014339
cmp dword [rbx + 0x54], 2
jne 0x180014384
mov ecx, edi
cmp ecx, 1
jge 0x180014316
movsxd rax, ecx
mov rdx, qword [rsp + rax*8 + 0x580]
cmp r8d, dword [rdx]
jne 0x180014312
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r13, qword [rsp + 0x40]
mov r9, r13
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.180009e10
mov r14d, eax
mov r8d, dword [rbx + 0x50]
jmp 0x18001431b
inc ecx
jmp 0x1800142d4
mov r13, qword [rsp + 0x40]
cmp r8d, dword [rsp + 0x48]
jne 0x180014384
cmp word [rsi + 0xc4], 0xd
jne 0x180014384
cmp word [rsi + 0xc6], 0x17
jne 0x180014384
mov r9, r13
lea r11, [0x180060820]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rbx
mov r8, r12
mov rdx, r15
mov rcx, rsi
call fcn.18000a020
mov r14d, eax
jmp 0x180014384
cmp dword [rbx + 0x50], eax
jne 0x180014384
mov ecx, dword [rbx + 0x10]
mov eax, ecx
sub eax, dword [0x1800a5cb4]
cmp eax, 0x20
jae 0x18001437e
mov dword [0x1800a5cb4], 0xffffffff
jmp 0x18001438e
mov dword [0x1800a5cb4], ecx
cmp dword [rsp + 0x570], 0
je case.0x1800136e7.2
lea r11, [0x180065d30]
lea r8, [0x180084580]
cmp dword [0x1800a6540], 0
cmove r8, r11
mov rdx, r15
mov rcx, rsi
call fcn.18000ac60
mov r14d, eax
mov dword [0x1800a6544], edi
jmp 0x1800143c5
mov eax, r14d
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.18004a7e0
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
test r15, r15
je 0x180014410
or dword [r15 + 0x60], 0x100
lea rcx, [r15 + 0x64]
mov rax, qword [rsi + 0xb0]
lea rdx, [0x18004f880]
call qword [rax + 0x148]
mov dword [rsp + 0x50], 0xd
lea rdx, [0x18005cc50]
lea rcx, [rsp + 0x50]
call fcn.18004c36c
int3