Function at 0x1400a7860
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.140115220
sub rsp, rax
mov r14, rcx
lea rcx, [rsp + 0x1988]
call fcn.1400598f0
lea rdx, [0x140123fb0]
lea rcx, [rsp + 0x80]
call fcn.14006e2a8
lea rcx, [rsp + 0x1988]
call fcn.1400598f0
mov rcx, qword [rsp + 0x1988]
xor edi, edi
xor eax, eax
lea edx, [rdi + 0x2d]
mov word [rsp + 0x60], di
mov qword [rsp + 0x62], rax
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x7c], eax
mov word [rsp + 0x150], di
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x78], edi
lea rbp, [rsp + 0x150]
mov r12b, dil
mov r13b, dil
mov r15b, dil
mov bl, dil
mov al, 0x2a
cmp dx, word [rcx]
jne 0x1400a790a
mov al, byte [rcx]
movsx esi, al
movzx eax, word [rcx]
cmp esi, eax
jne 0x1400a7990
lea rdx, [rsp + 0x1988]
lea rcx, [0x140123fa8]
mov r8d, 2
call fcn.140064d6c
cmp al, dil
je 0x1400a7937
mov bl, 1
jmp 0x1400a7970
lea rdx, [rsp + 0x1988]
lea rcx, [0x140123cf8]
mov r8d, 2
call fcn.140064d6c
cmp al, dil
je 0x1400a797f
lea rcx, [0x140136b88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [0x140136ff8]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x1988]
movzx ecx, word [rax]
cmp esi, ecx
je 0x1400a7914
cmp bl, dil
je 0x1400a7990
lea rcx, [rsp + 0x70]
call fcn.14005f570
jmp 0x1400a799b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0x1988]
mov ecx, 0x20
movzx eax, word [r11]
lea r8d, [rcx - 0x17]
cmp esi, eax
jne 0x1400a7c6c
lea rdx, [r11 + 2]
lea rcx, [0x140123fa0]
mov r8d, 4
call fcn.14005af04
cmp al, dil
je 0x1400a7a03
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140072234
cmp eax, edi
jg 0x1400a7c4f
mov edi, 0x80070057
jmp 0x1400a8414
lea rdx, [r11 + 2]
lea rcx, str.gmt:
mov r8d, 4
call fcn.14005af04
cmp al, dil
je 0x1400a7a63
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140072234
cmp eax, edi
jle 0x1400a79f9
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x1400a7c4f
lea rdx, [r11 + 2]
lea rcx, [0x140123f90]
mov r8d, 7
call fcn.14005af04
cmp al, dil
je 0x1400a7a83
mov r8b, 1
jmp 0x1400a7aa1
lea rdx, [r11 + 2]
lea rcx, [0x140123f84]
mov r8d, 6
call fcn.14005af04
cmp al, dil
je 0x1400a7af2
mov r8b, dil
movsx eax, r8b
lea rdx, [rsp + 0x60]
add eax, 7
cdqe
lea rcx, [r11 + rax*2]
mov qword [rsp + 0x1988], rcx
lea rcx, [rsp + 0x1988]
call fcn.140077570
cmp eax, edi
jle 0x1400a79f9
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 0x1400a7b6f
lea rdx, [r11 + 2]
lea rcx, [0x140123f7c]
mov r8d, 5
call fcn.14005af04
cmp al, dil
je 0x1400a7b12
mov r8b, 1
jmp 0x1400a7b30
lea rdx, [r11 + 2]
lea rcx, [0x140123f74]
mov r8d, 4
call fcn.14005af04
cmp al, dil
je 0x1400a7b7c
mov r8b, dil
movsx eax, r8b
lea rdx, [rsp + 0x60]
add eax, 5
cdqe
lea rcx, [r11 + rax*2]
mov qword [rsp + 0x1988], rcx
lea rcx, [rsp + 0x1988]
call fcn.140077570
cmp eax, edi
jle 0x1400a79f9
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x1400a7c0c
lea rdx, [r11 + 2]
lea rcx, [0x140123f6c]
mov r8d, 4
call fcn.14005aea8
cmp al, dil
je 0x1400a7ba1
mov eax, 1
mov r12b, al
jmp 0x1400a7c0c
lea rdx, [r11 + 2]
lea rcx, str.space0
mov r8d, 6
call fcn.14005aea8
cmp al, dil
je 0x1400a7bc1
mov r13b, 2
jmp 0x1400a7c0c
lea rdx, [r11 + 2]
lea rcx, str.space
mov r8d, 5
call fcn.14005aea8
cmp al, dil
je 0x1400a7be6
mov eax, 1
mov r13b, al
jmp 0x1400a7c0c
lea rdx, [r11 + 2]
lea rcx, [0x140123f58]
mov r8d, 2
call fcn.14005aea8
movzx r15d, r15b
cmp al, dil
mov eax, 1
cmovne r15d, eax
movzx eax, word [r11]
cmp ax, di
je 0x1400a7c42
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x1400a7c28
cmp ax, 0xd
jbe 0x1400a7c42
cmp cx, ax
je 0x1400a7c42
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x1400a7c1d
lea rcx, [rsp + 0x1988]
call fcn.1400598f0
mov r11, qword [rsp + 0x1988]
movzx eax, word [r11]
cmp esi, eax
je 0x1400a79b8
mov ecx, 0x20
lea r8d, [rcx - 0x17]
movzx eax, word [r11]
cmp ax, di
je 0x1400a7cc7
mov rdx, r11
cmp r8w, ax
ja 0x1400a7c84
cmp ax, 0xd
jbe 0x1400a7c9e
cmp cx, ax
je 0x1400a7c9e
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x1400a7c78
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.14006245c
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r14
call fcn.140003a08
lea rcx, [rsp + 0x1988]
call fcn.1400598f0
mov rsi, qword [rsp + 0x1988]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x1998], rsi
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, [0x140118018]
cmp word [rsi], di
jne 0x1400a7e74
mov word [rsp + 0xa0], di
cmp r15b, dil
je 0x1400a7d66
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 0x1400a7ddf
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, [0x140118018]
jmp 0x1400a7e71
mov eax, 1
cmp r13b, al
jne 0x1400a7e1a
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 0x1400a7dab
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 rbp, rax
jae 0x1400a8406
cmp word [rsi], di
je 0x1400a8406
lea rax, [rsp + 0x150]
mov esi, 0x20
cmp rbp, rax
je 0x1400a7ea8
mov word [rbp], si
add rbp, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e78]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a7f1f
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, rbp
call fcn.1400e23d0
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 0x1400a83e8
lea rdx, [rsp + 0x1998]
lea rcx, str.zone
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a7f8a
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400fdc00
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 0x1400a82df
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e6c]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a7fb0
mov rdx, qword [rsp + 0x70]
jmp 0x1400a831e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e64]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a7fd3
call fcn.14005f5d8
jmp 0x1400a7ff4
lea rdx, [rsp + 0x1998]
lea rcx, str.uptimens
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a7ffc
call fcn.14005f628
mov rdx, rax
jmp 0x1400a831e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e54]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83d6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e50]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83d6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e4c]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83ce
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e48]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83ce
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e44]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83c6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e40]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83c6
lea rdx, [rsp + 0x1998]
lea rcx, [0x1401230c8]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83be
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e38]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83be
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e34]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83b6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e30]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83b6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140118c10]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e2c]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011ceb0]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a83a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e28]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a83a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e24]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a839e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e1c]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a839e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e18]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a839a
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e14]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a839a
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e10]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a8389
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e08]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a8389
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e04]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
jne 0x1400a8373
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123e00]
mov r8d, ebx
call fcn.140061b18
cmp al, dil
jne 0x1400a8373
lea rdx, [rsp + 0x1998]
lea rcx, str.Freq
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a82ec
mov rdx, qword [0x140136b80]
mov rcx, rbp
call fcn.1400e23d0
jmp 0x1400a83e8
lea rdx, [rsp + 0x1998]
lea rcx, [0x140123df0]
mov r8d, ebx
call fcn.140064cd0
cmp al, dil
je 0x1400a832b
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
call fcn.1400e23dc
jmp 0x1400a83e8
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x1400a8364
mov edx, 9
cmp dx, ax
ja 0x1400a834b
cmp ax, 0xd
jbe 0x1400a835c
cmp si, ax
je 0x1400a835c
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x1400a8340
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.1400598f0
jmp 0x1400a83e8
lea rcx, [rsp + 0x60]
call fcn.14005f410
mov r8d, eax
lea rdx, [0x140118850]
jmp 0x1400a83df
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14005f4e8
jmp 0x1400a837d
xor edx, edx
jmp 0x1400a838e
movzx r8d, word [rsp + 0x6e]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x6c]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x6a]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x68]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x64]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x66]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x62]
jmp 0x1400a83dc
movzx r8d, word [rsp + 0x60]
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rsi, qword [rsp + 0x1998]
movsxd rcx, eax
lea rbp, [rbp + rcx*2]
jmp 0x1400a7e74
cmp word [rsp + 0x150], di
je 0x1400a7d23
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r14
call fcn.14006150c
lea rcx, [rsp + 0x80]
call fcn.140059920
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