Function at 0x140008240
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 r14, r8
movzx r15d, dl
movzx esi, cl
lea r13, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x5a
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
xor r12d, r12d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], r12d
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]
nop dword [rax + rax]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x14], 0xffffffff
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x70], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0xd8], r12
lea rcx, [rbp + 0xd8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001ebe0
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001ebe0
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14001ebe9
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]
nop dword [rax + rax]
test eax, eax
jne 0x14001ebf2
cmp byte [rbp + 3], r12b
je 0x1400083d6
lea rbx, [rbp - 0x78]
mov edi, 0xf
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001ec62
add rbx, 8
sub rdi, 1
jne 0x1400083c0
test sil, sil
je 0x14001ef04
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
nop dword [rax + rax]
mov ebx, eax
mov dword [rbp + 0x18], eax
test eax, eax
js 0x14001ec76
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
mov rcx, rax
mov r9, r14
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14000843c
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
mov dword [rbp + 0x18], eax
test eax, eax
js 0x14001ee41
test edi, edi
je 0x14001eea1
lea rax, str.TRUE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp + 0x10]
call fcn.14000a350
nop
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0x50], r12
inc rbx
cmp rbx, 4
jl 0x140008488
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
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 0x140008535
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.14000a350
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov al, 1
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 rax, qword [rbp + 0x70]
jmp 0x140008376
mov dword [rbp + 0x40], r12d
jmp 0x140008387
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x1400083ae
lea rcx, [rbp + 0x10]
call fcn.1400c3fe4
cmp dword [rbp + 0x10], r12d
je 0x1400083ae
mov qword [rsp + 0x40], r12
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 dword [rax + rax]
nop
jmp 0x1400083ae
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r12
jmp 0x1400083cc
cmp ebx, 0x80010117
je 0x14001ece1
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x69
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
lea r9, [0x140134898]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov r8, r14
mov edx, 0xa
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x14001ed68
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x6e
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
lea r8, [0x140134870]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
int3
test r15b, r15b
je 0x14001ee1e
mov qword [rsp + 0x58], r12
lea rdi, [0x1400f6270]
mov qword [rsp + 0x50], rdi
mov rbx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.140028094
mov qword [rsp + 0x58], rbx
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateToken]
nop dword [rax + rax]
test eax, eax
jne 0x14001ee0f
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x77
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
lea r8, str.DuplicateToken_...__SecurityIdentification__..._
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
nop
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.140028094
mov dword [rbp + 0x18], r12d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140031dac
movzx ebx, al
lea rcx, [rbp + 0x10]
call fcn.140009990
movzx eax, bl
jmp 0x14000857c
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x8a
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
lea r8, [0x1401348c0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
int3
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x8d
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
lea r9, [0x140134948]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
mov rcx, rax
mov r9, r14
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x14001ef36
mov dl, 1
jmp 0x14001ee24
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
je 0x14001efa9
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0xac
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
lea r8, [0x140134948]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov r8, r14
mov edx, 8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x14001ee22
mov qword [rsp + 0x60], r13
lea rax, str.GetCurrentAccessToken
mov qword [rsp + 0x68], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0xb4
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
lea r8, [0x140134870]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c3b7c
int3