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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp qword [rcx + 0x1c8], 0
mov rsi, rcx
jne 0x140048bde
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140048bde
call qword [sym.imp.KERNEL32.dll_DebugBreak]
cmp qword [rsi + 0x1c8], 0
jne 0x140048bef
xor al, al
jmp 0x1400491be
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsi + 0x1c8]
mov rbx, qword [rsp + 0x20]
mov dword [rsi + 0x28], 0x42c00000
mov edx, dword [rcx]
test edx, edx
je 0x140048c51
sub edx, 1
je 0x140048c48
sub edx, 1
je 0x140048c3f
cmp edx, 1
je 0x140048c36
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140048c32
call qword [sym.imp.KERNEL32.dll_DebugBreak]
xor edx, edx
jmp 0x140048c58
lea rdx, [0x140144fc0]
jmp 0x140048c58
lea rdx, [0x140144fb8]
jmp 0x140048c58
lea rdx, [0x140144fb0]
jmp 0x140048c58
lea rdx, [0x140144fa8]
lea rcx, [rsi + 0x18]
call fcn.1400b05e0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x68]
and qword [rsp + 0x48], 0
xor edx, edx
mov r8d, 0x80
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], 0xf
call fcn.14012a960
mov r15, qword [rsi + 0x1c8]
xor r14d, r14d
mov r12, qword [r15 + 0x60]
lea r13d, [r14 + 1]
test r12, r12
je 0x140048da5
lea rdx, str._rels_.rels
cmp r14, qword [r15 + 0x60]
jb 0x140048cd7
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140048cd0
call qword [sym.imp.KERNEL32.dll_DebugBreak]
lea rdx, str._rels_.rels
mov rax, qword [r15 + 0x78]
mov rcx, qword [rax + r14*8]
mov qword [rsp + 0x20], rcx
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x140048d92
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140048cf5
test rax, rax
je 0x140048d92
mov rax, qword [rsi + 0x1c8]
cmp dword [rax], 0
jne 0x140048d32
cmp rdi, rdx
je 0x140048f00
mov r8d, 0xb
mov rcx, rdi
call fcn.14010b194
test eax, eax
je 0x140048f00
mov rcx, rdi
call fcn.1400bf530
lea rcx, str.filePng
cmp qword [rcx], rax
je 0x140048d58
add rcx, 8
lea rdx, [0x14016c788]
cmp rcx, rdx
jl 0x140048d41
jmp 0x140048d92
mov rcx, rdi
call fcn.1400b412c
lea rcx, [0x1401443ec]
cmp rax, rcx
je 0x140048d92
test rax, rax
je 0x140048d83
mov rdx, rcx
mov r8, r13
mov rcx, rax
call fcn.140106000
test eax, eax
je 0x140048d92
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140040b64
add r14, r13
lea rdx, str._rels_.rels
cmp r14, r12
jb 0x140048cba
mov rcx, qword [rsi + 0x1c8]
lea r8, str.ComicInfo.xml
lea rdx, [rsp + 0x28]
call fcn.1400c13d0
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140048de0
lea rcx, [rsi + 0x280]
lea rdx, [rsp + 0x28]
call fcn.1400481dc
mov rcx, rdi
call fcn.140107298
mov r15, qword [rsi + 0x1c8]
mov rcx, qword [r15 + 0x110]
test rcx, rcx
je 0x140048ecd
xor r8d, r8d
xor edx, edx
call qword [sym.imp.libmupdf.dll_ar_get_global_comment]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140048ecd
lea rdx, [rax + 1]
lea rcx, [r15 + 8]
call fcn.1400b35ec
mov rdi, rax
test rax, rax
je 0x140048ecd
mov rcx, qword [r15 + 0x110]
mov r8, r14
mov rdx, rax
call qword [sym.imp.libmupdf.dll_ar_get_global_comment]
cmp rax, r14
jne 0x140048ecd
and dword [rbp + 0x28], 0
lea rax, [rbp + 8]
and qword [rbp - 0x10], 0
lea rdx, [0x14013ff98]
and dword [rbp], 0
mov qword [rbp - 8], rax
lea rax, [rsi + 0x280]
mov qword [rbp + 0x38], rax
mov byte [rbp + 8], 0
mov dword [rbp + 4], r13d
mov byte [rbp + 0x30], 0
cmp rdi, rdx
je 0x140048e92
mov r8d, 3
mov rcx, rdi
call fcn.140106000
test eax, eax
jne 0x140048e96
add rdi, 3
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.1400c5030
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x140048ecd
lea rax, [rbp + 8]
cmp rdx, rax
je 0x140048ecd
mov rcx, qword [rbp - 0x10]
test rcx, rcx
jne 0x140048ec7
mov rcx, rdx
call fcn.140107298
jmp 0x140048ecd
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
mov r14, qword [rsp + 0x48]
test r14d, r14d
jne 0x140048f08
mov rdi, qword [rsi + 0x1c8]
test rdi, rdi
je 0x140048ef8
mov rcx, rdi
call fcn.1400c12c4
mov edx, 0x120
mov rcx, rdi
call fcn.1400f451c
and qword [rsi + 0x1c8], 0
xor dil, dil
jmp 0x14004913a
mov rcx, qword [rsp + 0x60]
lea r9, [0x140048b74]
lea rdx, [rcx + r14*8]
mov r8, rdx
sub r8, rcx
sar r8, 3
call fcn.1400499a8
test r14d, r14d
jle 0x140048fba
mov r15d, r14d
mov ecx, 0xc0
call fcn.1400f44e0
xor edx, edx
mov r8d, 0x98
mov rdi, rax
lea rcx, [rax + 0x28]
call fcn.14012a960
xor eax, eax
mov qword [rdi + 0x10], 0xf
lea rcx, [rdi + 0x28]
mov qword [rdi], rax
xor edx, edx
mov qword [rdi + 0x18], rax
mov r8d, 0x80
mov qword [rdi + 8], rax
mov qword [rdi + 0x20], rcx
call fcn.14012a960
xor eax, eax
mov qword [rsp + 0x20], rdi
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movups xmmword [rdi + 0xa8], xmm0
lea rcx, [rsi + 0x120]
mov qword [rdi + 0xa8], rax
mov qword [rdi + 0xb0], rax
mov byte [rdi + 0xb8], al
call fcn.140040b64
sub r15, r13
jne 0x140048f33
lea rdi, [rsi + 0x1d0]
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x140049045
and qword [rdi + 8], 0
lea rcx, [rdi + 0x28]
xor edx, edx
mov qword [rdi + 0x20], rcx
mov r8d, 0x80
mov qword [rdi + 0x10], 0xf
call fcn.14012a960
mov r8, qword [rsp + 0x48]
cmp qword [rdi + 0x10], r8
jae 0x140049008
mov rdx, r8
mov rcx, rdi
call fcn.140021d4c
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 8], r8
shl r8, 3
mov qword [rdi + 0x18], rax
call fcn.14012ad20
mov rcx, qword [rdi + 8]
xor edx, edx
mov rax, qword [rdi + 0x20]
mov r8, qword [rdi + 0x10]
sub r8, rcx
shl r8, 3
lea rcx, [rax + rcx*8]
call fcn.14012a960
xor r15d, r15d
mov dword [rsi + 0x3c], r14d
xor r12d, r12d
xor r13d, r13d
test r14d, r14d
jle 0x140049135
xor r14d, r14d
test r13d, r13d
jns 0x140049073
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140049073
call qword [sym.imp.KERNEL32.dll_DebugBreak]
movsxd rax, r13d
cmp rax, qword [rsi + 0x1d8]
jb 0x14004908f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14004908f
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov rax, qword [rsi + 0x1f0]
mov rcx, qword [r14 + rax]
mov rcx, qword [rcx + 8]
call fcn.1400b412c
mov ecx, 0x60
mov rdi, rax
call fcn.1400f44e0
lea r9d, [r13 + 1]
mov r8, rdi
xor edx, edx
mov rcx, rax
mov r13d, r9d
call fcn.14003cab0
test r15, r15
jne 0x1400490ce
mov r15, rax
jmp 0x1400490d8
test r12, r12
je 0x1400490d8
mov qword [r12 + 0x48], rax
add r14, 8
mov r12, rax
cmp r13d, dword [rsi + 0x3c]
jl 0x14004905e
test r15, r15
je 0x140049135
mov r14d, 0x60
mov ecx, r14d
call fcn.1400f44e0
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14012a960
lea ecx, [r14 - 0x50]
mov dword [rdi + 0x28], 0xfeffffff
mov qword [rdi + 0x40], r15
call fcn.1400f44e0
lea rcx, [0x1401442e0]
mov qword [rax], rcx
mov qword [rax + 8], rdi
mov qword [rsi + 0x278], rax
mov edi, 1
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
cmp rdx, rax
je 0x14004916e
test rdx, rdx
je 0x140049168
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140049162
mov rcx, rdx
call fcn.140107298
jmp 0x140049168
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rsp + 0x20]
xorps xmm1, xmm1
sub rcx, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x28]
cvtsi2sd xmm1, rcx
lea rcx, str.EngineCbx::FinisHLoading___in__.2f_ms_n
divsd xmm1, xmm0
mulsd xmm1, qword [0x140156958]
movq rdx, xmm1
call fcn.1400b3458
mov al, dil
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret