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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1940
call fcn.1400d37c0
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x1988]
call fcn.140044ef4
lea rdx, str.CurDate
lea rcx, [rsp + 0x80]
call fcn.140058920
lea rcx, [rsp + 0x1988]
call fcn.140044ef4
xor edi, edi
xor eax, eax
lea rdx, [rsp + 0x1988]
lea rcx, [0x1400e0798]
lea r8d, [rdi + 2]
mov word [rsp + 0x60], di
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
lea rsi, [rsp + 0x150]
mov word [rsp + 0x150], di
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x7c], eax
mov r12b, dil
mov r13b, dil
mov r14b, dil
call fcn.14004e558
lea ecx, [rdi + 1]
cmp al, dil
movzx ebx, dil
lea r8d, [rdi + 2]
cmovne ebx, ecx
lea rcx, [0x1400e0508]
lea rdx, [rsp + 0x1988]
call fcn.14004e558
cmp al, dil
je 0x140087b83
lea rcx, [0x1400f1a10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [0x1400f1d70]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rcx, [rsp + 0x70]
cmp bl, dil
je 0x140087b94
call fcn.140049fac
jmp 0x140087b9a
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0x1988]
mov eax, 0x2a
lea ecx, [rax - 0xa]
lea r8d, [rax - 0x21]
cmp ax, word [r11]
jne 0x140087e55
lea ebx, [rax - 0x25]
lea ebp, [rax - 0x23]
lea rcx, str.utc:
mov r8d, ebx
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087c05
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14004fbd8
cmp eax, edi
jg 0x140087e37
mov edi, 0x80070057
jmp 0x1400885f7
lea rcx, str.gmt:
mov r8d, ebx
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087c61
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14004fbd8
cmp eax, edi
jle 0x140087bfb
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x140087e37
lea rcx, str.local0:
mov r8d, 8
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087c80
mov r8b, 1
jmp 0x140087c9a
lea rcx, str.local:
mov r8d, ebp
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087cea
mov r8b, dil
movsx eax, r8b
lea rdx, [rsp + 0x60]
add eax, ebp
cdqe
lea rcx, [r11 + rax*2]
mov qword [rsp + 0x1988], rcx
lea rcx, [rsp + 0x1988]
call fcn.140062d0c
cmp eax, edi
jle 0x140087bfb
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
jmp 0x140087d61
lea rcx, str.sys0:
mov r8d, 6
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087d09
mov r8b, 1
jmp 0x140087d23
lea rcx, str.sys:
mov r8d, ebx
mov rdx, r11
call fcn.140045fc8
cmp al, dil
je 0x140087d6e
mov r8b, dil
movsx eax, r8b
lea rdx, [rsp + 0x60]
add eax, ebx
cdqe
lea rcx, [r11 + rax*2]
mov qword [rsp + 0x1988], rcx
lea rcx, [rsp + 0x1988]
call fcn.140062d0c
cmp eax, edi
jle 0x140087bfb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x140087df4
lea rcx, str.bsys
mov r8d, ebx
mov rdx, r11
call fcn.140045f78
cmp al, dil
je 0x140087d8f
mov eax, 1
mov r12b, al
jmp 0x140087df4
lea rcx, str.space0
mov r8d, ebp
mov rdx, r11
call fcn.140045f78
cmp al, dil
je 0x140087dab
mov r13b, 2
jmp 0x140087df4
lea rcx, str.space
mov r8d, 6
mov rdx, r11
call fcn.140045f78
cmp al, dil
je 0x140087dcf
mov eax, 1
mov r13b, al
jmp 0x140087df4
lea rcx, [0x1400e0768]
mov r8d, 3
mov rdx, r11
call fcn.140045f78
movzx r14d, r14b
cmp al, dil
mov eax, 1
cmovne r14d, eax
movzx eax, word [r11]
cmp ax, di
je 0x140087e2a
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x140087e10
cmp ax, 0xd
jbe 0x140087e2a
cmp cx, ax
je 0x140087e2a
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x140087e05
lea rcx, [rsp + 0x1988]
call fcn.140044ef4
mov r11, qword [rsp + 0x1988]
mov eax, 0x2a
cmp ax, word [r11]
je 0x140087bbe
lea ecx, [rax - 0xa]
lea r8d, [rax - 0x21]
movzx eax, word [r11]
cmp ax, di
je 0x140087eb0
mov rdx, r11
cmp r8w, ax
ja 0x140087e6d
cmp ax, 0xd
jbe 0x140087e87
cmp cx, ax
je 0x140087e87
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x140087e61
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8d, r11d
call fcn.14004c0cc
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r15
call fcn.1400035d0
lea rcx, [rsp + 0x1988]
call fcn.140044ef4
mov rbp, qword [rsp + 0x1988]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x1998], rbp
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x70]
cmp r12b, dil
lea rdx, [rsp + 0x60]
cmove rcx, rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
or ebx, 0xffffffff
lea r12, [0x1400d6908]
cmp word [rbp], di
jne 0x14008805e
mov word [rsp + 0xa0], di
cmp r14b, dil
je 0x140087f50
mov r8d, dword [rsp + 0x78]
movabs rax, 0x346dc5d63886594b
lea rcx, [rsp + 0xa0]
mul qword [rsp + 0x78]
shr rdx, 0xb
imul edx, edx, 0x2710
sub r8d, edx
lea rdx, str.._04lu
call qword [sym.imp.USER32.dll_wsprintfW]
movzx ebx, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
cmp r13b, dil
jne 0x140087fc9
movzx edx, word [rsp + 0x6a]
movzx eax, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
lea r12, [rsp + 0xa0]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
lea rdx, str._d__d__d_d_d:_d:_d._u_s
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x64]
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfW]
lea r12, [0x1400d6908]
jmp 0x14008805b
mov eax, 1
cmp r13b, al
jne 0x140088004
movzx edx, word [rsp + 0x6a]
movzx eax, word [rsp + 0x6e]
movzx ecx, word [rsp + 0x6c]
lea r12, [rsp + 0xa0]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
lea rdx, str._d__d__d__d__d__d__d__u_s
jmp 0x140087f95
movzx eax, word [rsp + 0x64]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
lea rdx, str._04u__02u__02u__02u__02u__02u__03u_s__1u
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfW]
or ebx, 0xffffffff
lea rax, [rsp + 0x18c0]
cmp rsi, rax
jae 0x1400885e9
cmp word [rbp], di
je 0x1400885e9
lea rax, [rsp + 0x150]
mov ebp, 0x20
cmp rsi, rax
je 0x140088092
mov word [rsi], bp
add rsi, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0688]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x140088109
lea rcx, [rsp + 0x70]
movabs rax, 0xd6bf94d5e57a42bd
imul qword [rcx]
movabs rax, 0xfffffffd49ef6f00
add rdx, qword [rcx]
sar rdx, 0x17
mov rcx, rdx
add rdx, rax
shr rcx, 0x3f
add rdx, rcx
mov rcx, rsi
call fcn.1400a9350
xor eax, eax
lea rcx, [rsp + 0x88]
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x8c], eax
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
jmp 0x1400885cc
lea rdx, [rsp + 0x1998]
lea rcx, str.zone
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x140088174
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400b93b0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, 0x77777777
imul dword [rsp + 0xa0]
sub edx, dword [rsp + 0xa0]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd rdx, edx
jmp 0x140088502
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e067c]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x140088197
mov rdx, qword [rsp + 0x70]
jmp 0x1400881de
lea rdx, [rsp + 0x1998]
lea rcx, str.uptime
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x1400881ba
call fcn.14004a014
jmp 0x1400881db
lea rdx, [rsp + 0x1998]
lea rcx, str.uptimens
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x1400881eb
call fcn.14004a064
mov rdx, rax
mov rcx, rsi
call fcn.1400a935c
jmp 0x1400885cc
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0660]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x1400885ba
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e065c]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x1400885ba
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0658]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x1400885b2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0654]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x1400885b2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0650]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x1400885aa
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e064c]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x1400885aa
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0648]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x1400885a2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0640]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x1400885a2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e063c]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x14008859a
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0638]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x14008859a
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400d73a0]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x140088592
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0634]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x140088592
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400d91bc]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x14008858a
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0630]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x14008858a
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e062c]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x140088582
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0624]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x140088582
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0620]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x14008857e
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e061c]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x14008857e
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0618]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x14008856d
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0610]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x14008856d
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e060c]
mov r8d, ebx
call fcn.14004e558
cmp al, dil
jne 0x140088557
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400e0608]
mov r8d, ebx
call fcn.14004b880
cmp al, dil
jne 0x140088557
lea rdx, [rsp + 0x1998]
lea rcx, str.Freq
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x1400884d0
mov rdx, qword [0x1400f1a08]
jmp 0x140088502
lea rdx, [rsp + 0x1998]
lea rcx, str.Counter
mov r8d, ebx
call fcn.14004e558
cmp al, dil
je 0x14008850f
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.1400a9350
jmp 0x1400885cc
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x140088548
mov edx, 9
cmp dx, ax
ja 0x14008852f
cmp ax, 0xd
jbe 0x140088540
cmp bp, ax
je 0x140088540
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x140088524
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.140044ef4
jmp 0x1400885cc
lea rcx, [rsp + 0x60]
call fcn.140049e4c
mov r8d, eax
lea rdx, [0x1400d7040]
jmp 0x1400885c3
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140049f24
jmp 0x140088561
xor edx, edx
jmp 0x140088572
movzx r8d, word [rsp + 0x6e]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x6c]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x6a]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x68]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x64]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x66]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x62]
jmp 0x1400885c0
movzx r8d, word [rsp + 0x60]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rbp, qword [rsp + 0x1998]
movsxd rcx, eax
lea rsi, [rsi + rcx*2]
jmp 0x14008805e
cmp word [rsp + 0x150], di
je 0x140087f0d
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r15
call fcn.14004b578
lea rcx, [rsp + 0x80]
call fcn.140044f24
mov rbx, qword [rsp + 0x1980]
mov eax, edi
add rsp, 0x1940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret