Function at 0x1800160a0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rax, vtable.ScenarioManager.0
mov rbx, rcx
mov qword [rcx], rax
mov rbp, qword [rcx + 0xa8]
mov rdi, qword [rcx + 0xa0]
cmp rdi, rbp
je 0x180016113
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18001610a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
cmp rdi, rbp
jne 0x1800160e0
mov rdi, qword [rbx + 0x60]
test rdi, rdi
je 0x180016131
mov rcx, rdi
call fcn.180017c90
mov edx, 0x58
mov rcx, rdi
call fcn.18001b0b0
mov rdi, qword [rbx + 0x68]
test rdi, rdi
je 0x1800161b7
mov rcx, qword [rdi]
mov edx, 0xffffffff
mov byte [rdi + 0x3c], 0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180016163
call fcn.18001b0b0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x180016171
call fcn.18001b0b0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18001617f
call fcn.18001b0b0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18001618d
call fcn.18001b0b0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x18001619b
call fcn.18001b0b0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1800161aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x40
mov rcx, rdi
call fcn.18001b0b0
mov rcx, qword [rbx + 0x18]
call fcn.18001b0b0
mov rcx, qword [rbx + 0x20]
call fcn.18001b0b0
mov rsi, qword [rbx + 0x78]
mov rdi, qword [rbx + 0x70]
cmp rdi, rsi
je 0x1800161e9
mov rcx, qword [rdi]
xor edx, edx
call fcn.18001b0b0
add rdi, 8
cmp rdi, rsi
jne 0x1800161d6
mov rsi, qword [rbx + 0x90]
mov rdi, qword [rbx + 0x88]
cmp rdi, rsi
je 0x180016211
nop dword [rax]
mov rcx, qword [rdi]
call fcn.18001b0b0
add rdi, 8
cmp rdi, rsi
jne 0x180016200
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x70]
cmp rax, qword [rbx + 0x78]
je 0x18001623d
mov qword [rbx + 0x78], rax
mov rax, qword [rbx + 0x88]
cmp rax, qword [rbx + 0x90]
je 0x180016254
mov qword [rbx + 0x90], rax
mov rax, qword [rbx + 0xa0]
cmp rax, qword [rbx + 0xa8]
je 0x18001626b
mov qword [rbx + 0xa8], rax
mov rcx, qword [rbx + 0xb8]
xor edi, edi
test rcx, rcx
je 0x1800162c6
mov rdx, qword [rbx + 0xc8]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1800162ac
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001641f
mov rcx, r8
call fcn.18001b0b0
mov qword [rbx + 0xb8], rdi
mov qword [rbx + 0xc0], rdi
mov qword [rbx + 0xc8], rdi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x18001631f
mov rdx, qword [rbx + 0xb0]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x180016305
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001641f
mov rcx, r8
call fcn.18001b0b0
mov qword [rbx + 0xa0], rdi
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb0], rdi
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x180016378
mov rdx, qword [rbx + 0x98]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x18001635e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001641f
mov rcx, r8
call fcn.18001b0b0
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x90], rdi
mov qword [rbx + 0x98], rdi
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1800163c4
mov rdx, qword [rbx + 0x80]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x1800163b0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001641f
mov rcx, r8
call fcn.18001b0b0
mov qword [rbx + 0x70], rdi
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x80], rdi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18001640a
mov rdx, qword [rbx + 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800163f9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001641f
mov rcx, r8
call fcn.18001b0b0
mov qword [rbx + 0x38], rdi
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.180022104
int3