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

Disassembly:
jmp 0x14003d3c0
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
xor ebp, ebp
mov rdi, rcx
mov rcx, qword [0x140167a40]
mov esi, ebp
mov ebx, ebp
cmp rcx, 0xffffffffffffffff
jne 0x14003d431
cmp dword [reloc.WSOCK32.dll_accept], 2
jl 0x14003d423
test dword [0x14016b77e], 0x800
je 0x14003d423
lea rax, str.ESIF_LF_is_not_available_n
mov ecx, 0x800
mov qword [rsp + 0x28], rax
lea r9, str.....esif_uf_ipc.c
lea r8, str.ipc_execute
mov dword [rsp + 0x20], 0xf9
lea edx, [rbp + 2]
call fcn.140003693
mov eax, 0x3e9
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [0x140182c1c], ebx
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x50], r15
movabs r15, 0x431bde82d7b634db
je 0x14003d4c3
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
call fcn.14000213a
mov esi, dword [rsp + 0x98]
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, r15
imul qword [rsp + 0x88]
mov rcx, rdx
sar rcx, 0x12
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsp + 0x90]
cqo
idiv rcx
mov rcx, qword [0x140167a40]
mov rbx, rax
mov rdx, rdi
call fcn.140003e90
cmp dword [0x140182c1c], ebp
mov r14d, eax
je 0x14003d6a1
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rbp
call fcn.14000213a
mov ebp, dword [rsp + 0x98]
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, r15
imul qword [rsp + 0x88]
mov rcx, rdx
sar rcx, 0x12
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov rax, qword [rsp + 0x90]
cqo
idiv rcx
cmp dword [0x140182c1c], 0
mov rdi, rax
je 0x14003d6a1
mov r8d, dword [reloc.WSOCK32.dll_accept]
cmp r8d, 4
jl 0x14003d602
test dword [0x14016b7a0], 0x800
je 0x14003d5b0
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], 0x108
mov ecx, 0x800
call fcn.140003693
mov r8d, dword [reloc.WSOCK32.dll_accept]
cmp r8d, 4
jl 0x14003d602
test dword [0x14016b7a0], 0x800
je 0x14003d602
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], 0x10a
mov ecx, 0x800
call fcn.140003693
mov r8d, dword [reloc.WSOCK32.dll_accept]
cmp edi, ebx
jge 0x14003d627
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 0x14003d64e
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 0x14003d6a1
test dword [0x14016b7a0], 0x800
je 0x14003d6a1
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, 0x800
mov dword [rsp + 0x20], 0x10e
call fcn.140003693
mov r15, qword [rsp + 0x50]
mov eax, r14d
mov r14, qword [rsp + 0x80]
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret