Function at 0x14002a660
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x110], rax
movzx r15d, r8b
mov byte [rsp + 0x48], r8b
movzx r14d, dl
mov rdi, rcx
mov ebx, dword [rcx + 0x18]
lea r9, [rsp + 0x50]
lea r8, str.Test_TestHookIndex
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000002
call fcn.14002cdc0
test eax, eax
cmovns ebx, dword [rsp + 0x50]
mov dword [rsp + 0x54], ebx
xor esi, esi
mov qword [rsp + 0x7f], rsi
mov byte [rbp - 0x79], sil
lea rax, str.TestHook
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x44], esi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r8, str.Test_TestHookStartWait
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000002
call fcn.14007bd70
cmp dword [rsp + 0x44], esi
je 0x14002a72c
lea rax, [0x140296350]
mov qword [rsp + 0x60], rax
lea rax, [0x1402963a0]
mov qword [rsp + 0x68], rax
jmp 0x14002a73d
lea rax, [0x140296300]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
xor r12b, r12b
mov r13b, 1
lea r9, [rsp + 0x4c]
lea r8, str.Test_TestHookRunMethod
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000002
call fcn.14002cdc0
movzx r8d, r12b
movzx ecx, byte [rsp + 0x4c]
test eax, eax
cmovns r8d, ecx
mov byte [rsp + 0x44], r8b
lea r9, [rsp + 0x4c]
lea r8, str.Test_TestHookStartPhase
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000002
call fcn.14002cdc0
movzx r9d, r13b
movzx r8d, byte [rsp + 0x4c]
test eax, eax
cmovns r9d, r8d
mov byte [rsp + 0x45], r9b
lea r9, [rsp + 0x4c]
lea r8, str.Test_TestHookWaitPhase
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000002
call fcn.14002cdc0
movzx edx, r13b
movzx ecx, byte [rsp + 0x4c]
test eax, eax
cmovns edx, ecx
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], dl
mov word [rsp + 0x73], ax
mov byte [rsp + 0x75], dl
mov word [rsp + 0x76], ax
mov byte [rsp + 0x78], dl
mov word [rsp + 0x79], ax
mov byte [rsp + 0x7b], dl
mov word [rsp + 0x7c], ax
mov byte [rsp + 0x7e], dl
cmp dword [rdi + 0x18], esi
jbe 0x14002ab9c
lea r13, [0x140378178]
nop dword [rax]
cmp esi, ebx
jne 0x14002a847
mov r9d, 0xffffffff
movzx r8d, r14b
lea rdx, [rsp + 0x58]
mov rcx, rdi
test r15b, r15b
je 0x14002a842
call fcn.140291c14
jmp 0x14002a847
call fcn.140291b34
mov eax, esi
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rdi + 0x10]
mov eax, dword [rdi + 0xc8]
mov ecx, eax
and ecx, 0x80000
test r15b, r15b
je 0x14002aaae
test ecx, ecx
je 0x14002a87f
movzx eax, word [rbx + 0x2a]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x2c]
jmp 0x14002a8ef
bt eax, 0xb
jae 0x14002a894
movzx eax, word [rbx + 0x24]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x26]
jmp 0x14002a8ef
bt eax, 0x12
jae 0x14002a8a9
movzx eax, word [rbx + 0x27]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x29]
jmp 0x14002a8ef
test al, 8
je 0x14002a8bc
movzx eax, word [rbx + 0x21]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x23]
jmp 0x14002a8ef
test al, 1
je 0x14002a8e2
test al, 0x10
je 0x14002a8d3
movzx eax, word [rbx + 0x1b]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x1d]
jmp 0x14002a8ef
movzx eax, word [rbx + 0x18]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x1a]
jmp 0x14002a8ef
movzx eax, word [rbx + 0x1e]
mov word [rsp + 0x44], ax
movzx eax, byte [rbx + 0x20]
cmp byte [rsp + 0x44], 0
je 0x14002ab8d
cmp al, r14b
jne 0x14002ab8d
cmp qword [rbx + 0x10], 0
je 0x14002ab8d
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov r12d, eax
mov rcx, qword [0x140378178]
cmp rcx, r13
je 0x14002a951
test byte [rcx + 0x1c], 8
je 0x14002a951
mov edx, SafeArrayDestroy
mov dword [rsp + 0x30], r14d
mov r8, qword [rbx]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], eax
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1402970bc
mov r8d, SafeArrayDestroy
mov edx, esi
lea rcx, [rdi + 0x180]
call fcn.14004220c
test esi, esi
js 0x14002a987
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
movsxd rcx, esi
lea rdx, [rcx + rcx*2]
mov rcx, qword [rdi + 0x1b0]
mov dword [rcx + rdx*8 + 0x10], eax
lea rcx, [rbp - 0x30]
call fcn.1400421dc
nop
cmp byte [rdi + 0xdc], 0
je 0x14002a9c5
cmp r14b, 6
je 0x14002a9b0
lea rdx, [rdi + 0x1c0]
lea rcx, [rbp - 0x30]
call fcn.14026ab08
mov r9d, 1
mov r8d, r9d
mov rdx, qword [rbx]
lea rcx, [rbp - 0x30]
call fcn.14028e458
lea rdx, [rbp - 0x30]
mov rcx, rdi
mov rax, qword [rbx + 0x10]
call qword [case.0x14006c37f.0]
mov r13d, eax
test byte [0x14037dc84], 2
je 0x14002a9f8
mov r9, qword [rbx]
mov r8d, dword [rdi + 0xc8]
lea rdx, [0x1402ffe08]
call fcn.140042450
mov rcx, qword [0x140378178]
lea rax, [0x140378178]
cmp rcx, rax
je 0x14002aa34
test byte [rcx + 0x1c], 8
je 0x14002aa34
mov edx, SafeArrayDestroy
mov dword [rsp + 0x30], r14d
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9d, r12d
mov rcx, qword [rcx + 0x10]
call fcn.1402970bc
cmp byte [rdi + 0xdc], 0
je 0x14002aa49
mov edx, r13d
lea rcx, [rbp - 0x30]
call fcn.1400963d8
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov edx, esi
lea rcx, [rdi + 0x180]
call fcn.14004220c
test esi, esi
js 0x14002aa7f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
movsxd rcx, esi
lea rdx, [rcx + rcx*2]
mov rcx, qword [rdi + 0x1b0]
mov dword [rcx + rdx*8 + 0x14], eax
lea rax, [0x1402c82f0]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
call fcn.1400429f4
lea rcx, [rbp - 0x30]
call fcn.140042b08
movzx r15d, byte [rsp + 0x48]
lea r13, [0x140378178]
jmp 0x14002ab8d
test ecx, ecx
je 0x14002aab8
movzx eax, word [rbx + 0x2a]
jmp 0x14002aaf2
bt eax, 0xb
jae 0x14002aac4
movzx eax, word [rbx + 0x24]
jmp 0x14002aaf2
bt eax, 0x12
jae 0x14002aad0
movzx eax, word [rbx + 0x27]
jmp 0x14002aaf2
test al, 8
je 0x14002aada
movzx eax, word [rbx + 0x21]
jmp 0x14002aaf2
test al, 1
je 0x14002aaee
test al, 0x10
je 0x14002aae8
movzx eax, word [rbx + 0x1b]
jmp 0x14002aaf2
movzx eax, word [rbx + 0x18]
jmp 0x14002aaf2
movzx eax, word [rbx + 0x1e]
mov word [rsp + 0x40], ax
test al, al
je 0x14002ab8d
cmp byte [rsp + 0x41], r14b
jne 0x14002ab8d
cmp qword [rbx + 8], 0
je 0x14002ab8d
cmp al, 1
jne 0x14002ab32
cmp r14b, 6
setne r9b
mov dword [rsp + 0x20], esi
movzx r8d, r14b
mov rdx, rbx
mov rcx, rdi
call fcn.1400425a4
jmp 0x14002ab8d
mov qword [rbp - 0x78], rdi
test rdi, rdi
je 0x14002ab84
mov rcx, rdi
call fcn.1400af6e0
test rdi, rdi
je 0x14002ab84
mov qword [rbp - 0x70], rdi
mov rcx, rdi
call fcn.140189bd0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x38], r14b
mov dword [rbp - 0x34], esi
lea rdx, [rbp - 0x70]
call fcn.1400277b4
lea rcx, [rbp - 0x70]
call fcn.1400868d0
lea rcx, [rbp - 0x78]
call fcn.1400868d0
inc esi
cmp esi, dword [rdi + 0x18]
mov ebx, dword [rsp + 0x54]
jb 0x14002a820
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x270]
add rsp, reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret