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

Disassembly:
push rdi
sub rsp, 0x70
xor eax, eax
mov rdi, rcx
mov rcx, qword [0x1401b1990]
mov qword [rsp + 0x88], rax
cmp rcx, 0xffffffffffffffff
jne 0x140032d0f
cmp dword [0x1401b83f0], 2
jl 0x140032d04
test dword [0x1401b843c], 0x400
je 0x140032d04
lea rax, str.ESIF_LF_is_not_available_n
lea edx, [rcx + 3]
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_ipc.c
mov dword [rsp + 0x20], 0xf7
lea r8, str.ipc_execute
mov ecx, 0x400
call fcn.140067120
mov eax, 0x3e9
add rsp, 0x70
pop rdi
ret
cmp dword [0x1401bc848], eax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
je 0x140032d95
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], rax
call fcn.1400cc474
mov esi, dword [rsp + 0x98]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x88]
mov rcx, qword [0x1401b1990]
cqo
idiv qword [rsp + 0x90]
imul rax, rdx, 0xf4240
cqo
idiv qword [rsp + 0x90]
mov rbx, rax
jmp 0x140032da3
mov ebx, dword [rsp + 0x8c]
mov esi, dword [rsp + 0x88]
mov rdx, rdi
call fcn.140003f80
cmp dword [0x1401bc848], 0
mov r14d, eax
je 0x140032f88
xor eax, eax
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], rax
call fcn.1400cc474
mov ebp, dword [rsp + 0x98]
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x88]
cqo
idiv qword [rsp + 0x90]
imul rax, rdx, 0xf4240
cqo
idiv qword [rsp + 0x90]
cmp dword [0x1401bc848], 0
mov rdi, rax
je 0x140032f83
mov r8d, dword [0x1401b83f0]
cmp r8d, 4
jl 0x140032ee4
test dword [0x1401b846c], 0x400
je 0x140032e92
mov dword [rsp + 0x38], ebx
lea rax, str.Start_time:__06lu._06lu_n
mov dword [rsp + 0x30], esi
lea r9, str.....esif_uf_ipc.c
mov qword [rsp + 0x28], rax
lea r8, str.ipc_execute
mov edx, 4
mov dword [rsp + 0x20], 0x106
mov ecx, 0x400
call fcn.140067120
mov r8d, dword [0x1401b83f0]
cmp r8d, 4
jl 0x140032ee4
test dword [0x1401b846c], 0x400
je 0x140032ee4
mov dword [rsp + 0x38], edi
lea rax, str.Finish_time:__06lu._06lu_n
mov dword [rsp + 0x30], ebp
lea r9, str.....esif_uf_ipc.c
mov qword [rsp + 0x28], rax
lea r8, str.ipc_execute
mov edx, 4
mov dword [rsp + 0x20], 0x108
mov ecx, 0x400
call fcn.140067120
mov r8d, dword [0x1401b83f0]
cmp edi, ebx
jge 0x140032f09
mov ecx, ebx
mov eax, 0x431bde83
sub ecx, edi
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
inc ecx
add edx, ecx
imul ecx, edx, 0xfff0bdc0
add ebx, ecx
add esi, edx
mov ecx, edi
sub ecx, ebx
cmp ecx, 0xf4240
jle 0x140032f30
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xf4240
add ebx, eax
sub esi, edx
sub ebp, esi
sub edi, ebx
cmp r8d, 4
jl 0x140032f83
test dword [0x1401b846c], 0x400
je 0x140032f83
mov dword [rsp + 0x40], edi
lea rax, str.IPC_Exec_Time:__06lu._06lu___06lu_usecs__n
mov dword [rsp + 0x38], edi
lea r9, str.....esif_uf_ipc.c
mov dword [rsp + 0x30], ebp
lea r8, str.ipc_execute
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x400
mov dword [rsp + 0x20], 0x10c
call fcn.140067120
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov eax, r14d
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
add rsp, 0x70
pop rdi
ret