Function at 0x18000e980
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
add rcx, 0x240
call qword [sym.imp.MSVCR100.dll_atoi]
mov rcx, qword [rdi + 0x1d00]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x15b3
call qword [sym.imp.USER32.dll_PostMessageA]
mov r9, qword [rdi + 0x340]
lea r8, str.Start_build_preview_graph__s_.
mov edx, 2
mov rcx, rdi
call fcn.1800190c0
mov rbx, qword [rdi + 0xaf8]
test rbx, rbx
je 0x18000ea03
nop
mov rcx, rbx
test rbx, rbx
je 0x18000eaf4
mov rcx, qword [rcx + 0x10]
mov rbx, qword [rbx]
test rcx, rcx
je 0x18000e9fe
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
jne 0x18000e9e0
lea rcx, [rdi + 0xaf0]
call qword [sym.imp.mfc100.dll_Ordinal_11173]
mov r11, qword [rdi + 0x340]
cmp dword [r11 - 0x10], 0
je 0x18000ea52
cmp byte [rdi + 0x240], 0
jle 0x18000ea52
mov ecx, 0x7e900
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rcx, rax
mov rbx, rax
call fcn.180033d90
lea rcx, [rdi + 0x10]
mov rdx, rbx
call fcn.180032b20
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
cmp dword [rdi + 0x350], 0
jne 0x18000eafb
xor eax, eax
lea rcx, [0x18000e930]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8d, [rax + 2]
mov rdx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.mfc100.dll_Ordinal_1831]
xor edx, edx
mov rcx, qword [rax + 0x58]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000eb83
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x18000eadc
cmp dword [rsp + 0x38], 0x12
je 0x18000eadc
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rcx, qword [rbx + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18000eaa0
jmp 0x18000eb83
call qword [sym.imp.mfc100.dll_Ordinal_2022]
int3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
jae 0x18000eb5d
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x18000eb4e
cmp dword [rsp + 0x38], 0x12
je 0x18000eb4e
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x1f4
jb 0x18000eb12
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
cmp dword [rdi + 0x350], 1
mov rcx, rdi
jne 0x18000eb78
call fcn.180016350
jmp 0x18000eb7d
call fcn.18000db70
mov dword [rdi + 0x1cfc], eax
mov ebx, dword [rdi + 0x1cfc]
test ebx, ebx
je 0x18000ebb3
lea r8, str.BuildPreviewGraph_error__n
mov edx, 2
mov rcx, rdi
call fcn.1800190c0
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
cmp dword [rdi + 0xaec], 0
jne 0x18000ebfc
cmp dword [rdi + 0x1b48], 0
jne 0x18000ebfc
cmp dword [rdi + 0x350], 1
jne 0x18000ebe5
cmp qword [rdi + 0x1c90], 0
je 0x18000ebfc
mov edx, 0xf00
mov r8d, 0x1ec30
jmp 0x18000ebf0
mov edx, 0x2000
mov r8d, 0x2fda0
lea rcx, [rdi + 0xcb8]
call fcn.1800335c0
mov rcx, qword [rdi + 0x9d8]
test rcx, rcx
je 0x18000ec23
mov rdx, qword [rdi + 0x1d00]
test rdx, rdx
je 0x18000ec23
mov rax, qword [rcx]
xor r9d, r9d
mov r8d, 0x23fe
call qword [rax + 0x68]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
xor eax, eax
add rsp, 0x60
pop rdi
ret