Function at 0x1400a4a38
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.140111960
sub rsp, rax
mov r14, rcx
lea rcx, [rsp + 0x1988]
call fcn.140059340
lea rdx, [0x140120ed0]
lea rcx, [rsp + 0x80]
call fcn.14006d8b0
lea rcx, [rsp + 0x1988]
call fcn.140059340
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 0x1400a4ae2
mov al, byte [rcx]
movsx esi, al
movzx eax, word [rcx]
cmp esi, eax
jne 0x1400a4b68
lea rdx, [rsp + 0x1988]
lea rcx, [0x140120ec8]
mov r8d, 2
call fcn.140064438
cmp al, dil
je 0x1400a4b0f
mov bl, 1
jmp 0x1400a4b48
lea rdx, [rsp + 0x1988]
lea rcx, [0x140120c18]
mov r8d, 2
call fcn.140064438
cmp al, dil
je 0x1400a4b57
lea rcx, [0x140133b88]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [0x140133ff8]
call qword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x1988]
movzx ecx, word [rax]
cmp esi, ecx
je 0x1400a4aec
cmp bl, dil
je 0x1400a4b68
lea rcx, [rsp + 0x70]
call fcn.14005ef58
jmp 0x1400a4b73
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 0x1400a4e44
lea rdx, [r11 + 2]
lea rcx, [0x140120ec0]
mov r8d, 4
call fcn.14005a9ec
cmp al, dil
je 0x1400a4bdb
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140071820
cmp eax, edi
jg 0x1400a4e27
mov edi, 0x80070057
jmp 0x1400a55ec
lea rdx, [r11 + 2]
lea rcx, [0x140120eb8]
mov r8d, 4
call fcn.14005a9ec
cmp al, dil
je 0x1400a4c3b
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.140071820
cmp eax, edi
jle 0x1400a4bd1
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x1400a4e27
lea rdx, [r11 + 2]
lea rcx, [0x140120eb0]
mov r8d, 7
call fcn.14005a9ec
cmp al, dil
je 0x1400a4c5b
mov r8b, 1
jmp 0x1400a4c79
lea rdx, [r11 + 2]
lea rcx, [0x140120ea4]
mov r8d, 6
call fcn.14005a9ec
cmp al, dil
je 0x1400a4cca
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.140076860
cmp eax, edi
jle 0x1400a4bd1
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 0x1400a4d47
lea rdx, [r11 + 2]
lea rcx, [0x140120e9c]
mov r8d, 5
call fcn.14005a9ec
cmp al, dil
je 0x1400a4cea
mov r8b, 1
jmp 0x1400a4d08
lea rdx, [r11 + 2]
lea rcx, [0x140120e94]
mov r8d, 4
call fcn.14005a9ec
cmp al, dil
je 0x1400a4d54
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.140076860
cmp eax, edi
jle 0x1400a4bd1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x1400a4de4
lea rdx, [r11 + 2]
lea rcx, [0x140120e8c]
mov r8d, 4
call fcn.14005a990
cmp al, dil
je 0x1400a4d79
mov eax, 1
mov r12b, al
jmp 0x1400a4de4
lea rdx, [r11 + 2]
lea rcx, [0x140120e84]
mov r8d, 6
call fcn.14005a990
cmp al, dil
je 0x1400a4d99
mov r13b, 2
jmp 0x1400a4de4
lea rdx, [r11 + 2]
lea rcx, [0x140120e7c]
mov r8d, 5
call fcn.14005a990
cmp al, dil
je 0x1400a4dbe
mov eax, 1
mov r13b, al
jmp 0x1400a4de4
lea rdx, [r11 + 2]
lea rcx, [0x140120e78]
mov r8d, 2
call fcn.14005a990
movzx r15d, r15b
cmp al, dil
mov eax, 1
cmovne r15d, eax
movzx eax, word [r11]
cmp ax, di
je 0x1400a4e1a
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x1400a4e00
cmp ax, 0xd
jbe 0x1400a4e1a
cmp cx, ax
je 0x1400a4e1a
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x1400a4df5
lea rcx, [rsp + 0x1988]
call fcn.140059340
mov r11, qword [rsp + 0x1988]
movzx eax, word [r11]
cmp esi, eax
je 0x1400a4b90
mov ecx, 0x20
lea r8d, [rcx - 0x17]
movzx eax, word [r11]
cmp ax, di
je 0x1400a4e9f
mov rdx, r11
cmp r8w, ax
ja 0x1400a4e5c
cmp ax, 0xd
jbe 0x1400a4e76
cmp cx, ax
je 0x1400a4e76
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x1400a4e50
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.140061ba8
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r14
call fcn.14000395c
lea rcx, [rsp + 0x1988]
call fcn.140059340
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, [0x140115008]
cmp word [rsi], di
jne 0x1400a504c
mov word [rsp + 0xa0], di
cmp r15b, dil
je 0x1400a4f3e
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, [0x140120e68]
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 0x1400a4fb7
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, [0x140120e30]
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, [0x140115008]
jmp 0x1400a5049
mov eax, 1
cmp r13b, al
jne 0x1400a4ff2
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, [0x140120df8]
jmp 0x1400a4f83
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, [0x140120da0]
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 0x1400a55de
cmp word [rsi], di
je 0x1400a55de
lea rax, [rsp + 0x150]
mov esi, 0x20
cmp rbp, rax
je 0x1400a5080
mov word [rbp], si
add rbp, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d98]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a50f7
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.1400df64c
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 0x1400a55c0
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d90]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a5162
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400fa350
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 0x1400a54b7
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d8c]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a5188
mov rdx, qword [rsp + 0x70]
jmp 0x1400a54f6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d84]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a51ab
call fcn.14005efc0
jmp 0x1400a51cc
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d78]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a51d4
call fcn.14005f010
mov rdx, rax
jmp 0x1400a54f6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d74]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a55ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d70]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a55ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d6c]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a55a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d68]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a55a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d64]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a559e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d60]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a559e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d5c]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a5596
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d54]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a5596
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011f270]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a558e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d50]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a558e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140115c00]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a5586
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d4c]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a5586
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119eb0]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a557e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d48]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a557e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d44]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a5576
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d3c]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a5576
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d38]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a5572
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d34]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a5572
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d30]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a5561
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d28]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a5561
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d24]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
jne 0x1400a554b
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d20]
mov r8d, ebx
call fcn.140061370
cmp al, dil
jne 0x1400a554b
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d18]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a54c4
mov rdx, qword [0x140133b80]
mov rcx, rbp
call fcn.1400df64c
jmp 0x1400a55c0
lea rdx, [rsp + 0x1998]
lea rcx, [0x140120d10]
mov r8d, ebx
call fcn.14006439c
cmp al, dil
je 0x1400a5503
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
call fcn.1400df658
jmp 0x1400a55c0
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x1400a553c
mov edx, 9
cmp dx, ax
ja 0x1400a5523
cmp ax, 0xd
jbe 0x1400a5534
cmp si, ax
je 0x1400a5534
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x1400a5518
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.140059340
jmp 0x1400a55c0
lea rcx, [rsp + 0x60]
call fcn.14005edf8
mov r8d, eax
lea rdx, [0x140115840]
jmp 0x1400a55b7
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14005eed0
jmp 0x1400a5555
xor edx, edx
jmp 0x1400a5566
movzx r8d, word [rsp + 0x6e]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x6c]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x6a]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x68]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x64]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x66]
jmp 0x1400a55b4
movzx r8d, word [rsp + 0x62]
jmp 0x1400a55b4
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 0x1400a504c
cmp word [rsp + 0x150], di
je 0x1400a4efb
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r14
call fcn.140060d64
lea rcx, [rsp + 0x80]
call fcn.140059370
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