Function at 0x140006ac0
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], 0x5c
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 0x140022192
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140022192
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14002219b
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 0x1400221a4
cmp byte [rbp + 3], r12b
je 0x140006c56
lea rbx, [rbp - 0x78]
mov edi, 0xf
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140022214
add rbx, 8
sub rdi, 1
jne 0x140006c40
test sil, sil
je 0x1400224b6
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 0x140022228
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 0x140006cbc
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 0x1400223f3
test edi, edi
je 0x140022453
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.14000c1c0
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 0x140006d08
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 0x140006db5
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.14000c1c0
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 0x140006bf6
mov dword [rbp + 0x40], r12d
jmp 0x140006c07
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140006c2e
lea rcx, [rbp + 0x10]
call fcn.1400c7430
cmp dword [rbp + 0x10], r12d
je 0x140006c2e
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 0x140006c2e
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r12
jmp 0x140006c4c
cmp ebx, 0x80010117
je 0x140022293
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], 0x6b
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, [0x140137f90]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c5ee8
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 0x14002231a
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], 0x70
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, [0x140138028]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c6fc8
int3
test r15b, r15b
je 0x1400223d0
mov qword [rsp + 0x58], r12
lea rdi, [0x1400f91e8]
mov qword [rsp + 0x50], rdi
mov rbx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.14002b4c4
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 0x1400223c1
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], 0x79
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.1400c6fc8
nop
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x50]
call fcn.14002b4c4
mov dword [rbp + 0x18], r12d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14003535c
movzx ebx, al
lea rcx, [rbp + 0x10]
call fcn.140006990
movzx eax, bl
jmp 0x140006dfc
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], 0x8c
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, [0x140138070]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c6fc8
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], 0x8f
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, [0x140138050]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c5ee8
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 0x1400224e8
mov dl, 1
jmp 0x1400223d6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
je 0x14002255b
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], 0xae
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, [0x140138050]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c6fc8
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 0x1400223d4
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], 0xb6
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, [0x140138028]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c6fc8
int3