Function at 0x140005590
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]
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]
test eax, eax
js 0x14001b042
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14001b042
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14001b04b
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 0x14001b054
cmp byte [rbp + 3], r12b
je 0x140005716
lea rbx, [rbp - 0x78]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001b0b8
add rbx, 8
sub rdi, 1
jne 0x140005700
test sil, sil
je 0x14001b33d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov ebx, eax
mov dword [rbp + 0x18], eax
test eax, eax
js 0x14001b0c6
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
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]
mov edi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140005764
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
mov dword [rbp + 0x18], eax
test eax, eax
js 0x14001b27a
test edi, edi
je 0x14001b2da
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.14000bfc0
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]
mov qword [rbp + rbx*8 + 0x50], r12
inc rbx
cmp rbx, 4
jl 0x1400057aa
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 0x14000584b
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.14000bfc0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
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 0x1400056b4
mov dword [rbp + 0x40], r12d
jmp 0x1400056c5
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x1400056e6
lea rcx, [rbp + 0x10]
call fcn.1400bf350
cmp dword [rbp + 0x10], r12d
je 0x1400056e6
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
jmp 0x1400056e6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x14000570c
cmp ebx, 0x80010117
je 0x14001b131
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, [0x14012c8e8]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400bde10
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r14
mov edx, 0xa
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
jne 0x14001b1ac
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, [0x14012c8c0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400beef0
int3
test r15b, r15b
je 0x14001b257
mov qword [rsp + 0x58], r12
lea rax, [0x1400ef1e8]
mov qword [rsp + 0x50], rax
mov rbx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.140024d94
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]
test eax, eax
jne 0x14001b24d
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.1400beef0
nop
lea rcx, [rsp + 0x50]
call fcn.140023d68
mov dword [rbp + 0x18], r12d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14002e56c
movzx ebx, al
lea rcx, [rbp + 0x10]
call fcn.14000f940
movzx eax, bl
jmp 0x14000588c
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, [0x14012c910]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400beef0
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, [0x14012c998]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400bde10
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
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]
test eax, eax
je 0x14001b363
mov dl, 1
jmp 0x14001b25d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3f0
je 0x14001b3d0
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, [0x14012c998]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400beef0
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r14
mov edx, 8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
jne 0x14001b25b
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, [0x14012c8c0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400beef0
int3