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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [r11 - 0x250], 0xfffffffffffffffe
mov r14, rcx
lea r12, str.base_stor_vssinc_vs_types.hxx
mov qword [r11 - 0x238], r12
lea r13, str.CVssCriticalSection::Lock
mov qword [r11 - 0x230], r13
lea rax, str.INCTYPEH
mov qword [r11 - 0x228], rax
mov dword [rsp + 0xf8], SetErrorInfo
mov dword [rsp + 0xfc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x100], 0xff
xor esi, esi
mov dword [rsp + 0x180], 0x1000000
lea rdi, [r11 - 0x210]
xor eax, eax
mov ebx, 0xf
mov ecx, ebx
rep stosq qword [rdi], rax
mov dword [rsp + 0x58], esi
mov rax, qword [r11 - 0x230]
mov qword [rsp + 0x78], rax
mov rax, qword [r11 - 0x238]
mov qword [rsp + 0x60], rax
mov rax, qword [r11 - 0x228]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0xb0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x328], rsi
lea rcx, [rsp + 0x328]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140038688
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140038688
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140038695
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x80], eax
mov edi, dword [rsp + 0x88]
cmp edi, 0xff
jne 0x140003401
mov edi, RegisterTypeLib
mov r15d, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x1400386a1
cmp byte [rsp + 0x183], sil
je 0x140003446
lea rdi, [rsp + 0x108]
nop word [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140038710
add rdi, 8
sub rbx, 1
jne 0x140003430
lea rdi, str.INCTYPEH
cmp byte [r14 + 0x28], 0
je 0x14003871e
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
nop
cmp dword [rsp + 0x58], 0
jl 0x1400387c8
lock inc dword [r14 + 0x2c]
mov rdi, rsi
mov rcx, qword [rsp + rdi*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x90], rsi
inc rdi
cmp rdi, 4
jl 0x140003475
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rsp + 0x84]
mov eax, 0x10624dd3
mul edi
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov r11d, edi
sub r11d, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul edi
mov r10d, edx
shr r10d, 0xe
mov eax, 0x88888889
mul r10d
shr edx, 5
imul ecx, edx, 0x3c
sub r10d, ecx
mov eax, 0x95217cb1
mul edi
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rsp + 0x88]
cmp r8d, 0xff
jne 0x140003520
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rsp + 0x50]
call fcn.1400035a0
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0xb0]
jmp 0x1400033d8
mov dword [rsp + 0x80], esi
jmp 0x1400033ed
mov ecx, r15d
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140003414
lea rcx, [rsp + 0x50]
call fcn.1400ba0d8
cmp dword [rsp + 0x50], esi
je 0x140003414
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
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
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140003414
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], rsi
jmp 0x14000343c
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x190], r13
mov qword [rsp + 0x198], rdi
mov dword [rsp + 0x1a0], 0xc9
mov dword [rsp + 0x1a4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x1a8], 0xff
mov dword [rsp + 0x228], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x1b0]
call sub.msvcrt.dll_memset
movzx edx, byte [r14 + 0x29]
lea rax, str.Non_initialized_CS
mov qword [rsp + 0x20], rax
mov r9d, 0x8007000e
lea r8, [rsp + 0x188]
lea rcx, [rsp + 0x50]
call fcn.1400b83dc
nop
jmp 0x140003458
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x238], r13
mov qword [rsp + 0x240], rdi
mov dword [rsp + 0x248], 0xd4
mov dword [rsp + 0x24c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x250], 0xff
mov dword [rsp + 0x2d0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x258]
call sub.msvcrt.dll_memset
movzx edx, byte [r14 + 0x29]
lea rax, str.Error_entering_into_CS
mov qword [rsp + 0x20], rax
mov r9d, 0x8007000e
lea r8, [rsp + 0x230]
lea rcx, [rsp + 0x50]
call fcn.1400b83dc
nop
jmp 0x14000346d