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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
lea rax, str.base_stor_vssinc_vs_types.hxx
mov dword [rbp - 0x28], 0xb9
mov qword [rbp - 0x40], rax
mov rsi, rcx
lea rax, str.CVssCriticalSection::CVssCriticalSection
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x18]
lea rax, str.INCTYPEH
mov dword [rbp - 0x20], 0xff
xor r14d, r14d
mov qword [rbp - 0x30], rax
xor edx, edx
mov dword [rbp + 0x60], 0x1000000
lea r8d, [r14 + 0x78]
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x58], r14d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
lea rcx, [rbp + 0x90]
mov dword [rsp + 0x54], 0xffffffff
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp + 0x90], r14
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x1400384f8
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400384f8
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140038501
mov dword [rbp - 0x80], r14d
cmp dword [rbp - 0x78], 0xff
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
cmovne ebx, dword [rbp - 0x78]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14003850e
cmp byte [rbp + 0x63], r14b
je 0x140002ec8
lea rbx, [rbp - 0x18]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140038579
add rbx, 8
sub rdi, 1
jne 0x140002eb2
cmp byte [rsi + 0x28], r14b
je 0x140002ed7
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_DeleteCriticalSection]
mov rbx, r14
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x70], r14
inc rbx
cmp rbx, 4
jl 0x140002eda
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r8d, dword [rbp - 0x78]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul r9d
mov eax, 0x88888889
mov ebx, r9d
mov r10d, edx
shr r10d, 6
mul r10d
imul ecx, r10d, 0x3e8
shr edx, 5
imul eax, edx, 0x3c
sub ebx, ecx
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov eax, 0x88888889
mov r11d, edx
shr r11d, 0xe
mul r11d
mov eax, 0x95217cb1
shr edx, 5
imul ecx, edx, 0x3c
mul r9d
sub r11d, ecx
mov eax, 0x88888889
mov ecx, edx
shr ecx, 0x15
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
cmp r8d, 0xff
jne 0x140002f7b
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
lea rdx, str.EXIT
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call fcn.1400035a0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rax, qword [rbp - 0x50]
jmp 0x140002e74
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
jmp 0x140002e81
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140002ea3
lea rcx, [rsp + 0x50]
call fcn.1400ba0d8
cmp dword [rsp + 0x50], r14d
je 0x140002ea3
mov r9d, dword [rbp - 0x80]
lea rax, str.ENTER
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140002ea3
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r14
jmp 0x140002ebe