Function at 0x14008ca58
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.1400ed430
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x1988]
call fcn.1400503f4
lea rdx, str.CurDate
lea rcx, [rsp + 0x80]
call fcn.14006252c
lea rcx, [rsp + 0x1988]
call fcn.1400503f4
xor edi, edi
xor eax, eax
lea rdx, [rsp + 0x1988]
lea rcx, [0x1400fb96c]
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.14005a810
lea ecx, [rdi + 1]
cmp al, dil
movzx ebx, dil
lea r8d, [rdi + 2]
cmovne ebx, ecx
lea rcx, [0x1400fb6b8]
lea rdx, [rsp + 0x1988]
call fcn.14005a810
cmp al, dil
je 0x14008cb47
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 0x14008cb58
call fcn.140055f30
jmp 0x14008cb5e
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 0x14008ce19
lea ebx, [rax - 0x25]
lea ebp, [rax - 0x23]
lea rcx, str.utc:
mov r8d, ebx
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008cbc9
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.1400662b4
cmp eax, edi
jg 0x14008cdfb
mov edi, 0x80070057
jmp 0x14008d5c1
lea rcx, str.gmt:
mov r8d, ebx
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008cc25
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.1400662b4
cmp eax, edi
jle 0x14008cbbf
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x14008cdfb
lea rcx, str.local0:
mov r8d, 8
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008cc44
mov r8b, 1
jmp 0x14008cc5e
lea rcx, str.local:
mov r8d, ebp
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008ccae
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.140069d00
cmp eax, edi
jle 0x14008cbbf
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 0x14008cd25
lea rcx, str.sys0:
mov r8d, 6
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008cccd
mov r8b, 1
jmp 0x14008cce7
lea rcx, str.sys:
mov r8d, ebx
mov rdx, r11
call fcn.140051938
cmp al, dil
je 0x14008cd32
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.140069d00
cmp eax, edi
jle 0x14008cbbf
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x14008cdb8
lea rcx, str.bsys
mov r8d, ebx
mov rdx, r11
call fcn.1400518dc
cmp al, dil
je 0x14008cd53
mov eax, 1
mov r12b, al
jmp 0x14008cdb8
lea rcx, str.space0
mov r8d, ebp
mov rdx, r11
call fcn.1400518dc
cmp al, dil
je 0x14008cd6f
mov r13b, 2
jmp 0x14008cdb8
lea rcx, str.space
mov r8d, 6
mov rdx, r11
call fcn.1400518dc
cmp al, dil
je 0x14008cd93
mov eax, 1
mov r13b, al
jmp 0x14008cdb8
lea rcx, [0x1400fb918]
mov r8d, 3
mov rdx, r11
call fcn.1400518dc
movzx r14d, r14b
cmp al, dil
mov eax, 1
cmovne r14d, eax
movzx eax, word [r11]
cmp ax, di
je 0x14008cdee
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x14008cdd4
cmp ax, 0xd
jbe 0x14008cdee
cmp cx, ax
je 0x14008cdee
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14008cdc9
lea rcx, [rsp + 0x1988]
call fcn.1400503f4
mov r11, qword [rsp + 0x1988]
mov eax, 0x2a
cmp ax, word [r11]
je 0x14008cb82
lea ecx, [rax - 0xa]
lea r8d, [rax - 0x21]
movzx eax, word [r11]
cmp ax, di
je 0x14008ce74
mov rdx, r11
cmp r8w, ax
ja 0x14008ce31
cmp ax, 0xd
jbe 0x14008ce4b
cmp cx, ax
je 0x14008ce4b
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14008ce25
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.1400582a0
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r15
call fcn.140003720
lea rcx, [rsp + 0x1988]
call fcn.1400503f4
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, [0x1400f0cb8]
cmp word [rbp], di
jne 0x14008d022
mov word [rsp + 0xa0], di
cmp r14b, dil
je 0x14008cf14
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 0x14008cf8d
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, [0x1400f0cb8]
jmp 0x14008d01f
mov eax, 1
cmp r13b, al
jne 0x14008cfc8
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 0x14008cf59
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 0x14008d5b3
cmp word [rbp], di
je 0x14008d5b3
lea rax, [rsp + 0x150]
mov ebp, 0x20
cmp rsi, rax
je 0x14008d056
mov word [rsi], bp
add rsi, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb838]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d0cd
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.1400c38e4
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 0x14008d596
lea rdx, [rsp + 0x1998]
lea rcx, str.zone
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d138
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400d3e60
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 0x14008d48d
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb82c]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d15e
mov rdx, qword [rsp + 0x70]
jmp 0x14008d4cc
lea rdx, [rsp + 0x1998]
lea rcx, str.uptime
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d181
call fcn.140055f98
jmp 0x14008d1a2
lea rdx, [rsp + 0x1998]
lea rcx, str.uptimens
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d1aa
call fcn.140055fe8
mov rdx, rax
jmp 0x14008d4cc
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb810]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d584
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb80c]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d584
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb808]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d57c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb804]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d57c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb800]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d574
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7fc]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d574
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7f8]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d56c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7f0]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d56c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7ec]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d564
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7e8]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d564
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400f1790]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d55c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7e4]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d55c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400f3ac4]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d554
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7e0]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d554
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7dc]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d54c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7d4]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d54c
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7d0]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d548
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7cc]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d548
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7c8]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d537
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7c0]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d537
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7bc]
mov r8d, ebx
call fcn.14005a810
cmp al, dil
jne 0x14008d521
lea rdx, [rsp + 0x1998]
lea rcx, [0x1400fb7b8]
mov r8d, ebx
call fcn.140057ae8
cmp al, dil
jne 0x14008d521
lea rdx, [rsp + 0x1998]
lea rcx, str.Freq
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d49a
mov rdx, qword [0x14010dab0]
mov rcx, rsi
call fcn.1400c38e4
jmp 0x14008d596
lea rdx, [rsp + 0x1998]
lea rcx, str.Counter
mov r8d, ebx
call fcn.14005a810
cmp al, dil
je 0x14008d4d9
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call fcn.1400c38f0
jmp 0x14008d596
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x14008d512
mov edx, 9
cmp dx, ax
ja 0x14008d4f9
cmp ax, 0xd
jbe 0x14008d50a
cmp bp, ax
je 0x14008d50a
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x14008d4ee
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.1400503f4
jmp 0x14008d596
lea rcx, [rsp + 0x60]
call fcn.140055dd0
mov r8d, eax
lea rdx, [0x1400f13f0]
jmp 0x14008d58d
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140055ea8
jmp 0x14008d52b
xor edx, edx
jmp 0x14008d53c
movzx r8d, word [rsp + 0x6e]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x6c]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x6a]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x68]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x64]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x66]
jmp 0x14008d58a
movzx r8d, word [rsp + 0x62]
jmp 0x14008d58a
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 0x14008d022
cmp word [rsp + 0x150], di
je 0x14008ced1
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r15
call fcn.140057714
lea rcx, [rsp + 0x80]
call fcn.140050424
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