Function at 0x14008ce3c
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.1400ed750
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x1988]
call fcn.14005044c
lea rdx, str.CurDate
lea rcx, [rsp + 0x80]
call fcn.140062680
lea rcx, [rsp + 0x1988]
call fcn.14005044c
xor edi, edi
xor eax, eax
lea rdx, [rsp + 0x1988]
lea rcx, [0x1400fb93c]
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.14005a964
lea ecx, [rdi + 1]
cmp al, dil
movzx ebx, dil
lea r8d, [rdi + 2]
cmovne ebx, ecx
lea rcx, [0x1400fb688]
lea rdx, [rsp + 0x1988]
call fcn.14005a964
cmp al, dil
je 0x14008cf2b
lea rcx, [0x14010dab8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [0x14010de30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rcx, [rsp + 0x70]
cmp bl, dil
je 0x14008cf3c
call fcn.140055f54
jmp 0x14008cf42
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 0x14008d1fd
lea ebx, [rax - 0x25]
lea ebp, [rax - 0x23]
lea rcx, str.utc:
mov r8d, ebx
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008cfad
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140066408
cmp eax, edi
jg 0x14008d1df
mov edi, 0x80070057
jmp 0x14008d9a5
lea rcx, str.gmt:
mov r8d, ebx
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008d009
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140066408
cmp eax, edi
jle 0x14008cfa3
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x14008d1df
lea rcx, str.local0:
mov r8d, 8
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008d028
mov r8b, 1
jmp 0x14008d042
lea rcx, str.local:
mov r8d, ebp
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008d092
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.14006a0c8
cmp eax, edi
jle 0x14008cfa3
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 0x14008d109
lea rcx, str.sys0:
mov r8d, 6
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008d0b1
mov r8b, 1
jmp 0x14008d0cb
lea rcx, str.sys:
mov r8d, ebx
mov rdx, r11
call fcn.140051960
cmp al, dil
je 0x14008d116
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.14006a0c8
cmp eax, edi
jle 0x14008cfa3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x14008d19c
lea rcx, str.bsys
mov r8d, ebx
mov rdx, r11
call fcn.140051904
cmp al, dil
je 0x14008d137
mov eax, 1
mov r12b, al
jmp 0x14008d19c
lea rcx, str.space0
mov r8d, ebp
mov rdx, r11
call fcn.140051904
cmp al, dil
je 0x14008d153
mov r13b, 2
jmp 0x14008d19c
lea rcx, str.space
mov r8d, 6
mov rdx, r11
call fcn.140051904
cmp al, dil
je 0x14008d177
mov eax, 1
mov r13b, al
jmp 0x14008d19c
lea rcx, [0x1400fb8e8]
mov r8d, 3
mov rdx, r11
call fcn.140051904
movzx r14d, r14b
cmp al, dil
mov eax, 1
cmovne r14d, eax
movzx eax, word [r11]
cmp ax, di
je 0x14008d1d2
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x14008d1b8
cmp ax, 0xd
jbe 0x14008d1d2
cmp cx, ax
je 0x14008d1d2
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14008d1ad
lea rcx, [rsp + 0x1988]
call fcn.14005044c
mov r11, qword [rsp + 0x1988]
mov eax, 0x2a
cmp ax, word [r11]
je 0x14008cf66
lea ecx, [rax - 0xa]
lea r8d, [rax - 0x21]
movzx eax, word [r11]
cmp ax, di
je 0x14008d258
mov rdx, r11
cmp r8w, ax
ja 0x14008d215
cmp ax, 0xd
jbe 0x14008d22f
cmp cx, ax
je 0x14008d22f
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14008d209
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.1400583f4
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r15
call fcn.140003700
lea rcx, [rsp + 0x1988]
call fcn.14005044c
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, [0x1400f0cbc]
cmp word [rbp], di
jne 0x14008d406
mov word [rsp + 0xa0], di
cmp r14b, dil
je 0x14008d2f8
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 0x14008d371
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, [0x1400f0cbc]
jmp 0x14008d403
mov eax, 1
cmp r13b, al
jne 0x14008d3ac
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 0x14008d33d
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 0x14008d997
cmp word [rbp], di
je 0x14008d997
lea rax, [rsp + 0x150]
mov ebp, 0x20
cmp rsi, rax
je 0x14008d43a
mov word [rsi], bp
add rsi, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb808]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d4b1
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.1400c3bc8
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 0x14008d97a
lea rdx, [rsp + 0x1998]
lea rcx, str.zone
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d51c
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400d4180
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 0x14008d871
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7fc]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d542
mov rdx, qword [rsp + 0x70]
jmp 0x14008d8b0
lea rdx, [rsp + 0x1998]
lea rcx, str.uptime
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d565
call fcn.140055fbc
jmp 0x14008d586
lea rdx, [rsp + 0x1998]
lea rcx, str.uptimens
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d58e
call fcn.14005600c
mov rdx, rax
jmp 0x14008d8b0
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7e0]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d968
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7dc]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d968
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7d8]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d960
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7d4]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d960
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7d0]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d958
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7cc]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d958
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7c8]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d950
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7c0]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d950
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7bc]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d948
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7b8]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d948
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400f17a0]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d940
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7b4]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d940
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400f3ad4]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d938
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7b0]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d938
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7ac]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d930
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7a4]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d930
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7a0]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d92c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb79c]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d92c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb798]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d91b
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb790]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d91b
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb78c]
mov r8d, ebx
call fcn.14005a964
cmp al, dil
jne 0x14008d905
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb788]
mov r8d, ebx
call fcn.140057b34
cmp al, dil
jne 0x14008d905
lea rdx, [rsp + 0x1998]
lea rcx, str.Freq
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d87e
mov rdx, qword [0x14010dab0]
mov rcx, rsi
call fcn.1400c3bc8
jmp 0x14008d97a
lea rdx, [rsp + 0x1998]
lea rcx, str.Counter
mov r8d, ebx
call fcn.14005a964
cmp al, dil
je 0x14008d8bd
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.1400c3bd4
jmp 0x14008d97a
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x14008d8f6
mov edx, 9
cmp dx, ax
ja 0x14008d8dd
cmp ax, 0xd
jbe 0x14008d8ee
cmp bp, ax
je 0x14008d8ee
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x14008d8d2
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.14005044c
jmp 0x14008d97a
lea rcx, [rsp + 0x60]
call fcn.140055df4
mov r8d, eax
lea rdx, [0x1400f1400]
jmp 0x14008d971
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140055ecc
jmp 0x14008d90f
xor edx, edx
jmp 0x14008d920
movzx r8d, word [rsp + 0x6e]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x6c]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x6a]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x68]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x64]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x66]
jmp 0x14008d96e
movzx r8d, word [rsp + 0x62]
jmp 0x14008d96e
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 0x14008d406
cmp word [rsp + 0x150], di
je 0x14008d2b5
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r15
call fcn.140057738
lea rcx, [rsp + 0x80]
call fcn.14005041c
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