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

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x348], rbx
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], r15
lea r12, str.GetClientTokenOwner
mov qword [rsp + 0x68], r12
lea r13, str.SECSECRC
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1eb
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
xor esi, esi
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], esi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0x34], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x14], 0xffffffff
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x10], esi
mov qword [rbp + 0x70], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0x240], rsi
lea rcx, [rbp + 0x240]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004dd8e
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004dd8e
mov rax, qword [rbp + 0x240]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14004dd97
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x40], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x48], 0xff
cmovne ebx, dword [rbp + 0x48]
mov edi, dword [rbp + 0x34]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004dd9f
cmp byte [rbp + 3], sil
je 0x140016976
lea rbx, [rbp - 0x78]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004de02
add rbx, 8
sub rdi, 1
jne 0x140016960
lea r14, [0x1400f83d0]
mov qword [rsp + 0x50], r14
mov qword [rbp + 0x88], rsi
lea rax, [0x1400f83d8]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x238], esi
mov dword [rbp + 0x230], esi
mov qword [rsp + 0x58], 0xffffffffffffffff
lea r8, [rsp + 0x58]
xor edx, edx
mov cl, 1
call fcn.14001b8c0
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
cmp eax, 0x7a
jne 0x14004df94
test ebx, ebx
jne 0x14004df94
mov ecx, dword [rbp + 0x230]
lea rdx, [0x140102ed8]
call fcn.140032688
mov rdi, rax
mov qword [rbp + 0x88], rax
test rax, rax
je 0x14004de10
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x230]
mov r8, rdi
lea edx, [rbx + 4]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
je 0x14004de2e
mov ebx, dword [rbp + 0x238]
cmp ebx, dword [rbp + 0x230]
ja 0x14004de95
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140016a6f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rax, [0x1400f8090]
mov qword [rsp + 0x50], rax
mov rbx, rsi
mov rcx, qword [rbp + rbx*8 + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x50], rsi
inc rbx
cmp rbx, 4
jl 0x140016a87
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x44]
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 + 0x48]
cmp r8d, 0xff
jne 0x140016b28
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 0x18]
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 + 0x10]
call fcn.14001d380
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rax, rdi
mov rbx, qword [rsp + 0x348]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x70]
jmp 0x140016916
mov dword [rbp + 0x40], esi
jmp 0x140016927
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140016948
lea rcx, [rbp + 0x10]
call fcn.1400dde58
cmp dword [rbp + 0x10], esi
je 0x140016948
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x40]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140016948
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x14001696c
mov dword [rbp + 0x240], 0x8007000e
lea rdx, [0x140167770]
lea rcx, [rbp + 0x240]
call sub.msvcrt.dll__CxxThrowException
int3
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x21a
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x14004de7c
movzx eax, ax
or eax, 0x80070000
lea r9, [0x140138738]
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
int3
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x221
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.1400d9be4
mov r8d, dword [rbp + 0x230]
lea rdx, [rbp + 0x140]
mov rcx, rax
call fcn.1400d9be4
mov r9d, 1
mov r8, rax
mov edx, 0x2006
lea rcx, [rbp + 0x10]
call fcn.1400db328
lea rcx, [rbp + 0x98]
call fcn.14000ae60
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x223
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0x230]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x238]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error._Final_buffer_size___lu__original_size_was__lu
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dc25c
int3
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x203
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov r8d, edi
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.1400d9c4c
mov r9d, 1
mov r8, rax
mov edx, 0x2005
lea rcx, [rbp + 0x10]
call fcn.1400db328
lea rcx, [rsp + 0x60]
call fcn.14000ae60
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x205
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, str.ERROR_INSUFFICIENT_BUFFER_expected_error_.__0x_08lx_
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dc25c
int3