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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r15d, r8d
mov r14d, edx
mov rsi, rcx
lea r13, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x58], r13
lea rax, str.CVssSidCollection::AddWellKnownSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x542
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
xor r12d, r12d
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov dword [rbp + 8], r12d
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x18], rax
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp + 0x24], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rbp + 0x34], eax
mov dword [rbp + 4], 0xffffffff
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x38], eax
mov dword [rbp], r12d
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14003a394
lea rcx, [rbp]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14003a394
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14003a39d
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x38], 0xff
cmovne ebx, dword [rbp + 0x38]
mov edi, dword [rbp + 0x24]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14003a3a6
cmp byte [rbp - 5], r12b
je 0x140019d86
lea rbx, [rbp - 0x80]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14003a40a
add rbx, 8
sub rdi, 1
jne 0x140019d70
mov qword [rbp + 0x78], r12
lea rax, [0x1400e53b0]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0xd8], r12d
lea r9, [rbp + 0xd8]
xor r8d, r8d
xor edx, edx
mov ecx, r14d
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_CreateWellKnownSid]
test eax, eax
jne 0x14003a418
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x7a
jne 0x14003a479
mov edx, dword [rbp + 0xd8]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x14003a4da
lea r9, [rbp + 0xd8]
mov r8, rax
xor edx, edx
mov ecx, r14d
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_CreateWellKnownSid]
test eax, eax
je 0x14003a4f4
mov r8d, r15d
mov rdx, rbx
mov rcx, rsi
call fcn.140019330
cmp qword [rsi + 0x68], 0
je 0x140019f2f
test rbx, rbx
je 0x140019e2b
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x40], r12
inc rbx
cmp rbx, 4
jl 0x140019e2e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x34]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rbp + 0x38]
cmp r8d, 0xff
jne 0x140019ecf
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rbp]
call fcn.1400035a0
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x58], r13
lea rax, str.CVssSidCollection::AddWellKnownSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x55e
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r8, str.Set_m_pSidAdmin
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400037d0
mov rax, rbx
mov rbx, r12
mov qword [rsi + 0x68], rax
jmp 0x140019e1c
mov rax, qword [rbp + 0x60]
jmp 0x140019d2f
mov dword [rbp + 0x30], r12d
jmp 0x140019d40
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140019d61
lea rcx, [rbp]
call fcn.1400ba0d8
cmp dword [rbp], r12d
je 0x140019d61
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x30]
mov r8d, dword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140019d61
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x140019d7c
mov qword [rsp + 0x58], r13
lea rax, str.CVssSidCollection::AddWellKnownSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x54c
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r8, str.CreateWellKnownSid_type__NULL__NULL__dwSid_
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b9c70
int3
mov qword [rsp + 0x58], r13
lea rax, str.CVssSidCollection::AddWellKnownSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x54f
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r8, str.CreateWellKnownSid_type__NULL__NULL__dwSid_
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b9c70
int3
mov dword [rsp + 0x50], 0x8007000e
lea rdx, [0x140150690]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
mov qword [rsp + 0x58], r13
lea rax, str.CVssSidCollection::AddWellKnownSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x558
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov r9d, dword [rbp + 0xd8]
lea r8, str.CreateWellKnownSid_type__NULL__pSid____ld__
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b9c70
int3