Function at 0x1400172f0
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 r15, r8
movzx r12d, dl
movzx r14d, cl
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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 r13d, r13d
mov dword [rbp], 0x1000000
lea rdi, [rbp - 0x78]
xor eax, eax
mov ebx, 0xf
mov ecx, ebx
rep stosq qword [rdi], rax
mov dword [rbp + 0x18], r13d
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_2_1.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], r13d
mov qword [rbp + 0x70], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rbp + 0xd8], r13
lea rcx, [rbp + 0xd8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x1400373b6
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400373b6
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1400373bf
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x40], eax
mov edi, RegisterTypeLib
cmp dword [rbp + 0x48], 0xff
cmovne edi, dword [rbp + 0x48]
mov esi, dword [rbp + 0x34]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x1400373c8
cmp byte [rbp + 3], r13b
je 0x140017467
lea rdi, [rbp - 0x78]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14003742c
add rdi, 8
sub rbx, 1
jne 0x140017451
test r14b, r14b
je 0x1400376b9
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoImpersonateClient]
mov edi, eax
mov dword [rbp + 0x18], eax
test eax, eax
js 0x14003743a
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
mov rcx, rax
mov r9, r15
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThreadToken]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1400174b5
movzx edi, ax
or edi, 0x80070000
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoRevertToSelf]
mov dword [rbp + 0x18], eax
test eax, eax
js 0x1400375e8
test ebx, ebx
je 0x14003764f
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.1400035a0
nop
mov rdi, r13
mov rcx, qword [rbp + rdi*8 + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rdi*8 + 0x50], r13
inc rdi
cmp rdi, 4
jl 0x1400174fb
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rbp + 0x44]
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 [rbp + 0x48]
cmp r8d, 0xff
jne 0x140017598
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 0x18]
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, [rbp + 0x10]
call fcn.1400035a0
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 0x140017415
mov dword [rbp + 0x40], r13d
jmp 0x140017426
mov ecx, esi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140017447
lea rcx, [rbp + 0x10]
call fcn.1400ba0d8
cmp dword [rbp + 0x10], r13d
je 0x140017447
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], edi
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 0x140017447
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], r13
jmp 0x14001745d
cmp eax, 0x80010117
je 0x1400374ab
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122e48]
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b8b90
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r15
mov edx, 0xa
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcessToken]
test eax, eax
jne 0x14003752d
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122e20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b9c70
int3
test r12b, r12b
je 0x1400375df
mov qword [rsp + 0x58], r13
lea rax, [0x1400e53c0]
mov qword [rsp + 0x50], rax
mov rdi, qword [r15]
lea rcx, [rsp + 0x50]
call fcn.14003ebd4
mov qword [rsp + 0x58], rdi
mov r8, r15
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_DuplicateToken]
test eax, eax
jne 0x1400375d5
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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.1400b9c70
nop
lea rcx, [rsp + 0x50]
call fcn.14003eba4
mov dword [rbp + 0x18], r13d
jmp 0x1400377d5
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122e70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b9c70
int3
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122ef8]
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b8b90
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThread]
mov rcx, rax
mov r9, r15
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThreadToken]
test eax, eax
je 0x1400376df
mov dl, 1
jmp 0x1400377d7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x3f0
je 0x140037753
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122ef8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b9c70
int3
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov r8, r15
mov edx, 8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenProcessToken]
test eax, eax
jne 0x1400377d5
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x60], rax
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, [0x140122e20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400b9c70
int3
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140013f94
movzx edi, al
lea rcx, [rbp + 0x10]
call fcn.140003960
movzx eax, dil
jmp 0x1400175d9