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

Disassembly:
push rbp
push rdi
sub rsp, 0x78
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov rdi, rcx
mov rcx, qword [0x1401ffa40]
mov qword [rsp + 0x50], rbp
cmp rcx, 0xffffffffffffffff
jne 0x14003777b
cmp dword [0x140209140], 2
jl 0x140037771
test dword [0x14020918c], 0x400
je 0x140037771
lea rax, str.ESIF_LF_is_not_available_n
mov ecx, 0x400
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_ipc.c
lea r8, str.ipc_execute
mov dword [rsp + 0x20], 0xf6
lea edx, [rbp + 2]
call fcn.140077c20
mov eax, 0x3e9
jmp 0x1400379c9
cmp dword [0x140213c58], ebp
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x70], r14
je 0x1400377ec
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
call fcn.1400e9b14
mov esi, dword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
mov rcx, qword [0x1401ffa40]
cqo
idiv qword [rsp + 0x50]
imul rax, rdx, 0xf4240
cqo
idiv qword [rsp + 0x50]
mov rbx, rax
jmp 0x1400377f4
mov ebx, dword [rsp + 0x54]
mov esi, dword [rsp + 0x50]
mov rdx, rdi
call fcn.1400044a0
cmp dword [0x140213c58], ebp
mov r14d, eax
je 0x1400379b1
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
call fcn.1400e9b14
mov ebp, dword [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
cqo
idiv qword [rsp + 0x58]
imul rax, rdx, 0xf4240
cqo
idiv qword [rsp + 0x58]
cmp dword [0x140213c58], 0
mov rdi, rax
je 0x1400379b1
mov r8d, dword [0x140209140]
cmp r8d, 4
jl 0x140037912
test dword [0x1402091bc], 0x400
je 0x1400378c0
mov dword [rsp + 0x38], ebx
lea rax, str.Start_time:__06lu._06lu_n
mov dword [rsp + 0x30], esi
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_ipc.c
mov qword [rsp + 0x28], rax
lea r8, str.ipc_execute
mov edx, 4
mov dword [rsp + 0x20], 0x105
mov ecx, 0x400
call fcn.140077c20
mov r8d, dword [0x140209140]
cmp r8d, 4
jl 0x140037912
test dword [0x1402091bc], 0x400
je 0x140037912
mov dword [rsp + 0x38], edi
lea rax, str.Finish_time:__06lu._06lu_n
mov dword [rsp + 0x30], ebp
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_ipc.c
mov qword [rsp + 0x28], rax
lea r8, str.ipc_execute
mov edx, 4
mov dword [rsp + 0x20], 0x107
mov ecx, 0x400
call fcn.140077c20
mov r8d, dword [0x140209140]
cmp edi, ebx
jge 0x140037937
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 0x14003795e
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 0x1400379b1
test dword [0x1402091bc], 0x400
je 0x1400379b1
mov dword [rsp + 0x40], edi
lea rax, str.IPC_Exec_Time:__06lu._06lu___06lu_usecs__n
mov dword [rsp + 0x38], edi
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_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], 0x10b
call fcn.140077c20
mov rsi, qword [rsp + 0xa0]
mov eax, r14d
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x78
pop rdi
pop rbp
ret