Function at 0x14007b7d8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1400b4efc
test al, al
je 0x14007bb7d
mov rcx, rbx
call fcn.1400bf390
test rax, rax
jne 0x14007b82f
mov rcx, rbx
call fcn.1400bf530
test rax, rax
je 0x14007bb7d
lea rcx, str.fileChm
cmp rax, rcx
jne 0x14007b941
mov rax, qword [0x140172270]
cmp byte [rax + 0x12c], 0
jne 0x14007b941
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, rbx
lea rcx, str.Starting:__s_n
call fcn.1400b3458
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rcx, rbx
call fcn.14002c324
mov rdi, rax
test rax, rax
je 0x14007b97b
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x38]
lea rcx, str.load:__.2f_ms_n
sub rax, qword [rsp + 0x28]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x20]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x140156958]
movq rdx, xmm1
call fcn.1400b3458
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x20]
lea rcx, str.Finished__in__.2f_ms_:__s_n
sub rax, qword [rsp + 0x30]
xorps xmm1, xmm1
xorps xmm0, xmm0
mov r8, rbx
cvtsi2sd xmm0, qword [rsp + 0x28]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x140156958]
movq rdx, xmm1
call fcn.1400b3458
jmp 0x14007bb7d
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, rbx
lea rcx, str.Starting:__s_n
call fcn.1400b3458
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8b, 1
xor edx, edx
mov rcx, rbx
call fcn.14003d40c
mov r14, rax
test rax, rax
jne 0x14007b98f
mov rdx, rbx
lea rcx, str.Error:_failed_to_load__s_n
call fcn.1400b3458
jmp 0x14007bb7d
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x30]
lea rcx, str.load:__.2f_ms_n
sub rax, qword [rsp + 0x20]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x28]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x140156958]
movq rdx, xmm1
call fcn.1400b3458
mov rcx, r14
call fcn.14003cd6c
mov edx, eax
lea rcx, str.page_count:__d_n
mov r15d, eax
call fcn.1400b3458
test rsi, rsi
jne 0x14007ba17
lea edi, [rsi + 1]
cmp r15d, edi
jl 0x14007ba4b
mov edx, edi
mov rcx, r14
call fcn.14007b6a4
inc edi
cmp edi, r15d
jle 0x14007ba04
jmp 0x14007ba4b
lea rdx, str.loadonly
cmp rsi, rdx
je 0x14007ba4b
mov rcx, rsi
call fcn.14010b2d0
test eax, eax
je 0x14007ba4b
mov rcx, rsi
call fcn.1400593b8
test al, al
jne 0x14007ba4b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14007ba4b
call qword [sym.imp.KERNEL32.dll_DebugBreak]
lea rax, [rbp - 0x61]
mov edx, 0x10
mov dword [rax], 1
mov dword [rax + 4], 0x7fffffff
lea rax, [rax + 8]
sub rdx, 1
jne 0x14007ba54
and qword [rsp + 0x40], rdx
lea rax, [rbp - 0x61]
and qword [rbp - 0x71], rdx
lea rcx, [rbp - 0x61]
and qword [rsp + 0x48], rdx
mov r8d, 0x80
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x79], 0xf
call fcn.14012a960
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400590e0
test al, al
je 0x14007baf7
xor edi, edi
jmp 0x14007baf0
mov rax, qword [rbp - 0x69]
mov esi, dword [rax + rdi*8]
cmp rdi, qword [rsp + 0x48]
jb 0x14007bacb
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14007bacb
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rax, qword [rbp - 0x69]
cmp esi, dword [rax + rdi*8 + 4]
jg 0x14007baed
cmp esi, 1
jl 0x14007bae9
cmp esi, r15d
jg 0x14007bae9
mov edx, esi
mov rcx, r14
call fcn.14007b6a4
inc esi
jmp 0x14007bab4
inc rdi
cmp rdi, qword [rsp + 0x48]
jb 0x14007baad
mov rcx, r14
call fcn.14003ccc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x30]
lea rcx, str.Finished__in__.2f_ms_:__s_n
sub rax, qword [rsp + 0x38]
xorps xmm1, xmm1
xorps xmm0, xmm0
mov r8, rbx
cvtsi2sd xmm0, qword [rsp + 0x20]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x140156958]
movq rdx, xmm1
call fcn.1400b3458
mov rdx, qword [rbp - 0x69]
lea rax, [rbp - 0x61]
cmp rdx, rax
je 0x14007bb7d
test rdx, rdx
je 0x14007bb7d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x14007bb77
mov rcx, rdx
call fcn.140107298
jmp 0x14007bb7d
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f44c0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret