Function at 0x1400976f4
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.1400fac70
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x1988]
call fcn.140054c14
lea rdx, str.CurDate
lea rcx, [rsp + 0x80]
call fcn.1400671f0
lea rcx, [rsp + 0x1988]
call fcn.140054c14
xor edi, edi
xor eax, eax
lea rdx, [rsp + 0x1988]
lea rcx, [0x140109680]
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.14005f144
lea ecx, [rdi + 1]
cmp al, dil
movzx ebx, dil
lea r8d, [rdi + 2]
cmovne ebx, ecx
lea rcx, [0x1401093f8]
lea rdx, [rsp + 0x1988]
call fcn.14005f144
cmp al, dil
je 0x1400977e3
lea rcx, [0x14011bb08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [0x14011bf20]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rcx, [rsp + 0x70]
cmp bl, dil
je 0x1400977f4
call fcn.14005a364
jmp 0x1400977fa
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 0x140097ab5
lea ebx, [rax - 0x25]
lea ebp, [rax - 0x23]
lea rcx, str.utc:
mov r8d, ebx
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x140097865
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14006b114
cmp eax, edi
jg 0x140097a97
mov edi, 0x80070057
jmp 0x14009825d
lea rcx, str.gmt:
mov r8d, ebx
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x1400978c1
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14006b114
cmp eax, edi
jle 0x14009785b
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x140097a97
lea rcx, str.local0:
mov r8d, 8
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x1400978e0
mov r8b, 1
jmp 0x1400978fa
lea rcx, str.local:
mov r8d, ebp
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x14009794a
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.14006f4ec
cmp eax, edi
jle 0x14009785b
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 0x1400979c1
lea rcx, str.sys0:
mov r8d, 6
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x140097969
mov r8b, 1
jmp 0x140097983
lea rcx, str.sys:
mov r8d, ebx
mov rdx, r11
call fcn.14005615c
cmp al, dil
je 0x1400979ce
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.14006f4ec
cmp eax, edi
jle 0x14009785b
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x140097a54
lea rcx, str.bsys
mov r8d, ebx
mov rdx, r11
call fcn.140056100
cmp al, dil
je 0x1400979ef
mov eax, 1
mov r12b, al
jmp 0x140097a54
lea rcx, str.space0
mov r8d, ebp
mov rdx, r11
call fcn.140056100
cmp al, dil
je 0x140097a0b
mov r13b, 2
jmp 0x140097a54
lea rcx, str.space
mov r8d, 6
mov rdx, r11
call fcn.140056100
cmp al, dil
je 0x140097a2f
mov eax, 1
mov r13b, al
jmp 0x140097a54
lea rcx, [0x140109658]
mov r8d, 3
mov rdx, r11
call fcn.140056100
movzx r14d, r14b
cmp al, dil
mov eax, 1
cmovne r14d, eax
movzx eax, word [r11]
cmp ax, di
je 0x140097a8a
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x140097a70
cmp ax, 0xd
jbe 0x140097a8a
cmp cx, ax
je 0x140097a8a
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x140097a65
lea rcx, [rsp + 0x1988]
call fcn.140054c14
mov r11, qword [rsp + 0x1988]
mov eax, 0x2a
cmp ax, word [r11]
je 0x14009781e
lea ecx, [rax - 0xa]
lea r8d, [rax - 0x21]
movzx eax, word [r11]
cmp ax, di
je 0x140097b10
mov rdx, r11
cmp r8w, ax
ja 0x140097acd
cmp ax, 0xd
jbe 0x140097ae7
cmp cx, ax
je 0x140097ae7
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x140097ac1
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.14005cbd4
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r15
call fcn.14000396c
lea rcx, [rsp + 0x1988]
call fcn.140054c14
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, [0x1400fde8c]
cmp word [rbp], di
jne 0x140097cbe
mov word [rsp + 0xa0], di
cmp r14b, dil
je 0x140097bb0
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 0x140097c29
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, [0x1400fde8c]
jmp 0x140097cbb
mov eax, 1
cmp r13b, al
jne 0x140097c64
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 0x140097bf5
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 0x14009824f
cmp word [rbp], di
je 0x14009824f
lea rax, [rsp + 0x150]
mov ebp, 0x20
cmp rsi, rax
je 0x140097cf2
mov word [rsi], bp
add rsi, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109578]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140097d69
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.1400cca34
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 0x140098232
lea rdx, [rsp + 0x1998]
lea rcx, str.zone
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140097dd4
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400e16a0
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 0x140098129
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010956c]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140097dfa
mov rdx, qword [rsp + 0x70]
jmp 0x140098168
lea rdx, [rsp + 0x1998]
lea rcx, str.uptime
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140097e1d
call fcn.14005a3cc
jmp 0x140097e3e
lea rdx, [rsp + 0x1998]
lea rcx, str.uptimens
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140097e46
call fcn.14005a41c
mov rdx, rax
jmp 0x140098168
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109554]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x140098220
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109550]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x140098220
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010954c]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x140098218
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109548]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x140098218
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109544]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x140098210
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109540]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x140098210
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010953c]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x140098208
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109534]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x140098208
lea rdx, [rsp + 0x1998]
lea rcx, [0x1401079a0]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x140098200
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109530]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x140098200
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fe9b0]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981f8
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010952c]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981f8
lea rdx, [rsp + 0x1998]
lea rcx, [0x140102b18]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981f0
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109528]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981f0
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109524]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981e8
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010951c]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981e8
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109518]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981e4
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109514]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981e4
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109510]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981d3
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109508]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981d3
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109504]
mov r8d, ebx
call fcn.14005f144
cmp al, dil
jne 0x1400981bd
lea rdx, [rsp + 0x1998]
lea rcx, [0x140109500]
mov r8d, ebx
call fcn.14005c3e4
cmp al, dil
jne 0x1400981bd
lea rdx, [rsp + 0x1998]
lea rcx, str.Freq
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140098136
mov rdx, qword [0x14011bb00]
mov rcx, rsi
call fcn.1400cca34
jmp 0x140098232
lea rdx, [rsp + 0x1998]
lea rcx, str.Counter
mov r8d, ebx
call fcn.14005f144
cmp al, dil
je 0x140098175
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.1400cca40
jmp 0x140098232
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x1400981ae
mov edx, 9
cmp dx, ax
ja 0x140098195
cmp ax, 0xd
jbe 0x1400981a6
cmp bp, ax
je 0x1400981a6
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x14009818a
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.140054c14
jmp 0x140098232
lea rcx, [rsp + 0x60]
call fcn.14005a204
mov r8d, eax
lea rdx, [0x1400fe600]
jmp 0x140098229
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14005a2dc
jmp 0x1400981c7
xor edx, edx
jmp 0x1400981d8
movzx r8d, word [rsp + 0x6e]
jmp 0x140098226
movzx r8d, word [rsp + 0x6c]
jmp 0x140098226
movzx r8d, word [rsp + 0x6a]
jmp 0x140098226
movzx r8d, word [rsp + 0x68]
jmp 0x140098226
movzx r8d, word [rsp + 0x64]
jmp 0x140098226
movzx r8d, word [rsp + 0x66]
jmp 0x140098226
movzx r8d, word [rsp + 0x62]
jmp 0x140098226
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 0x140097cbe
cmp word [rsp + 0x150], di
je 0x140097b6d
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r15
call fcn.14005be18
lea rcx, [rsp + 0x80]
call fcn.140054c44
mov rbx, qword [rsp + 0x1980]
movsxd rax, edi
add rsp, 0x1940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret