Function at 0x14009f740
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.14010af10
sub rsp, rax
mov r14, rcx
lea rcx, [rsp + 0x1988]
call fcn.140057738
lea rdx, [0x140119ac0]
lea rcx, [rsp + 0x80]
call fcn.14006ac98
lea rcx, [rsp + 0x1988]
call fcn.140057738
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 0x14009f7ea
mov al, byte [rcx]
movsx esi, al
movzx eax, word [rcx]
cmp esi, eax
jne 0x14009f870
lea rdx, [rsp + 0x1988]
lea rcx, [0x140119ab8]
mov r8d, 2
call fcn.14006245c
cmp al, dil
je 0x14009f817
mov bl, 1
jmp 0x14009f850
lea rdx, [rsp + 0x1988]
lea rcx, [0x140119808]
mov r8d, 2
call fcn.14006245c
cmp al, dil
je 0x14009f85f
lea rcx, [0x14012cb78]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea rcx, [0x14012cfe8]
call qword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x1988]
movzx ecx, word [rax]
cmp esi, ecx
je 0x14009f7f4
cmp bl, dil
je 0x14009f870
lea rcx, [rsp + 0x70]
call fcn.14005d1ec
jmp 0x14009f87b
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 0x14009fb4c
lea rdx, [r11 + 2]
lea rcx, [0x140119ab0]
mov r8d, 4
call fcn.140058db8
cmp al, dil
je 0x14009f8e3
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14006eb98
cmp eax, edi
jg 0x14009fb2f
mov edi, 0x80070057
jmp 0x1400a02f4
lea rdx, [r11 + 2]
lea rcx, [0x140119aa8]
mov r8d, 4
call fcn.140058db8
cmp al, dil
je 0x14009f943
add r11, 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1988]
mov qword [rsp + 0x1988], r11
call fcn.14006eb98
cmp eax, edi
jle 0x14009f8d9
mov rax, qword [rsp + 0x70]
movabs rcx, 0x2b6109100
add rcx, rax
imul rcx, rcx, 0x989680
mov qword [rsp + 0x70], rcx
jmp 0x14009fb2f
lea rdx, [r11 + 2]
lea rcx, [0x140119aa0]
mov r8d, 7
call fcn.140058db8
cmp al, dil
je 0x14009f963
mov r8b, 1
jmp 0x14009f981
lea rdx, [r11 + 2]
lea rcx, [0x140119a94]
mov r8d, 6
call fcn.140058db8
cmp al, dil
je 0x14009f9d2
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.140073a7c
cmp eax, edi
jle 0x14009f8d9
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 0x14009fa4f
lea rdx, [r11 + 2]
lea rcx, [0x140119a8c]
mov r8d, 5
call fcn.140058db8
cmp al, dil
je 0x14009f9f2
mov r8b, 1
jmp 0x14009fa10
lea rdx, [r11 + 2]
lea rcx, [0x140119a84]
mov r8d, 4
call fcn.140058db8
cmp al, dil
je 0x14009fa5c
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.140073a7c
cmp eax, edi
jle 0x14009f8d9
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov r11, qword [rsp + 0x1988]
jmp 0x14009faec
lea rdx, [r11 + 2]
lea rcx, [0x140119a7c]
mov r8d, 4
call fcn.140058d5c
cmp al, dil
je 0x14009fa81
mov eax, 1
mov r12b, al
jmp 0x14009faec
lea rdx, [r11 + 2]
lea rcx, [0x140119a74]
mov r8d, 6
call fcn.140058d5c
cmp al, dil
je 0x14009faa1
mov r13b, 2
jmp 0x14009faec
lea rdx, [r11 + 2]
lea rcx, [0x140119a6c]
mov r8d, 5
call fcn.140058d5c
cmp al, dil
je 0x14009fac6
mov eax, 1
mov r13b, al
jmp 0x14009faec
lea rdx, [r11 + 2]
lea rcx, [0x140119a68]
mov r8d, 2
call fcn.140058d5c
movzx r15d, r15b
cmp al, dil
mov eax, 1
cmovne r15d, eax
movzx eax, word [r11]
cmp ax, di
je 0x14009fb22
mov ecx, 0x20
lea edx, [rcx - 0x17]
cmp dx, ax
ja 0x14009fb08
cmp ax, 0xd
jbe 0x14009fb22
cmp cx, ax
je 0x14009fb22
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14009fafd
lea rcx, [rsp + 0x1988]
call fcn.140057738
mov r11, qword [rsp + 0x1988]
movzx eax, word [r11]
cmp esi, eax
je 0x14009f898
mov ecx, 0x20
lea r8d, [rcx - 0x17]
movzx eax, word [r11]
cmp ax, di
je 0x14009fba7
mov rdx, r11
cmp r8w, ax
ja 0x14009fb64
cmp ax, 0xd
jbe 0x14009fb7e
cmp cx, ax
je 0x14009fb7e
add r11, 2
mov qword [rsp + 0x1988], r11
mov ax, word [r11]
cmp ax, di
jne 0x14009fb58
sub r11, rdx
lea rcx, [rsp + 0x80]
sar r11, 1
mov r8, r11
call fcn.14005fc80
lea rdx, [rsp + 0x80]
xor r8d, r8d
mov rcx, r14
call fcn.140003980
lea rcx, [rsp + 0x1988]
call fcn.140057738
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, [0x14010df0c]
cmp word [rsi], di
jne 0x14009fd54
mov word [rsp + 0xa0], di
cmp r15b, dil
je 0x14009fc46
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, [0x140119a58]
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 0x14009fcbf
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, [0x140119a20]
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, [0x14010df0c]
jmp 0x14009fd51
mov eax, 1
cmp r13b, al
jne 0x14009fcfa
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, [0x1401199e8]
jmp 0x14009fc8b
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, [0x140119990]
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 0x1400a02e6
cmp word [rsi], di
je 0x1400a02e6
lea rax, [rsp + 0x150]
mov esi, 0x20
cmp rbp, rax
je 0x14009fd88
mov word [rbp], si
add rbp, 2
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119988]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x14009fdff
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.1400d9364
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 0x1400a02c8
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119980]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x14009fe6a
lea rcx, [rsp + 0xa4]
xor edx, edx
mov r8d, 0xa8
mov dword [rsp + 0xa0], edi
call fcn.1400f3900
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 0x1400a01bf
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011997c]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x14009fe90
mov rdx, qword [rsp + 0x70]
jmp 0x1400a01fe
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119974]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x14009feb3
call fcn.14005d254
jmp 0x14009fed4
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119968]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x14009fedc
call fcn.14005d2a4
mov rdx, rax
jmp 0x1400a01fe
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119964]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a02b6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119960]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a02b6
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011995c]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a02ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119958]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a02ae
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119954]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a02a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119950]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a02a6
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011994c]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a029e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119944]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a029e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140117f10]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a0296
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119940]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a0296
lea rdx, [rsp + 0x1998]
lea rcx, [0x14010ead0]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a028e
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011993c]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a028e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140112d30]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a0286
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119938]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a0286
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119934]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a027e
lea rdx, [rsp + 0x1998]
lea rcx, [0x14011992c]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a027e
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119928]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a027a
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119924]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a027a
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119920]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a0269
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119918]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a0269
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119914]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
jne 0x1400a0253
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119910]
mov r8d, ebx
call fcn.14005f44c
cmp al, dil
jne 0x1400a0253
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119908]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x1400a01cc
mov rdx, qword [0x14012cb70]
mov rcx, rbp
call fcn.1400d9364
jmp 0x1400a02c8
lea rdx, [rsp + 0x1998]
lea rcx, [0x140119900]
mov r8d, ebx
call fcn.1400623c0
cmp al, dil
je 0x1400a020b
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
mov rdx, qword [rsp + 0x90]
mov rcx, rbp
call fcn.1400d9370
jmp 0x1400a02c8
mov rcx, qword [rsp + 0x1998]
movzx eax, word [rcx]
cmp ax, di
je 0x1400a0244
mov edx, 9
cmp dx, ax
ja 0x1400a022b
cmp ax, 0xd
jbe 0x1400a023c
cmp si, ax
je 0x1400a023c
add rcx, 2
mov ax, word [rcx]
cmp ax, di
jne 0x1400a0220
mov qword [rsp + 0x1998], rcx
lea rcx, [rsp + 0x1998]
call fcn.140057738
jmp 0x1400a02c8
lea rcx, [rsp + 0x60]
call fcn.14005d08c
mov r8d, eax
lea rdx, [0x14010e710]
jmp 0x1400a02bf
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14005d164
jmp 0x1400a025d
xor edx, edx
jmp 0x1400a026e
movzx r8d, word [rsp + 0x6e]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x6c]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x6a]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x68]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x64]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x66]
jmp 0x1400a02bc
movzx r8d, word [rsp + 0x62]
jmp 0x1400a02bc
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 0x14009fd54
cmp word [rsp + 0x150], di
je 0x14009fc03
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x150]
mov rcx, r14
call fcn.14005ee18
lea rcx, [rsp + 0x80]
call fcn.140057768
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