Function at 0x14001b8c0
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 0x1400501c4
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400501c4
mov rax, qword [rbp + 0xd8]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1400501cd
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 0x1400501d6
cmp byte [rbp + 3], r12b
je 0x14001ba46
lea rbx, [rbp - 0x78]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14005023a
add rbx, 8
sub rdi, 1
jne 0x14001ba30
test sil, sil
je 0x140050476
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
mov ebx, eax
mov dword [rbp + 0x18], eax
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x14001bbe2
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 0x14001ba99
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 0x1400503b3
test edi, edi
je 0x140050413
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.14001d380
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 0x14001badf
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 ecx, edx
shr ecx, 0xe
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov eax, 0x95217cb1
mul r9d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov r8d, dword [rbp + 0x48]
cmp r8d, 0xff
jne 0x14001bb80
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], ecx
mov dword [rsp + 0x20], r11d
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 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
cmp ebx, 0x80010117
jne 0x140050248
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
je 0x1400502ab
test r15b, r15b
jne 0x14005030b
mov dword [rbp + 0x18], r12d
lea rax, str.FALSE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp + 0x10]
call fcn.14001d380
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 0x14001bc47
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 0x14001bce8
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]
xor al, al
jmp 0x14001bbc1
mov rax, qword [rbp + 0x70]
jmp 0x14001b9e4
mov dword [rbp + 0x40], r12d
jmp 0x14001b9f5
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001ba16
lea rcx, [rbp + 0x10]
call fcn.1400dde58
cmp dword [rbp + 0x10], r12d
je 0x14001ba16
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 0x14001ba16
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x14001ba3c
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, [0x1401384f0]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
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], 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, [0x140138588]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400ddc40
int3
mov qword [rsp + 0x58], r12
lea rax, [0x1400f8108]
mov qword [rsp + 0x50], rax
mov rbx, qword [r14]
lea rcx, [rsp + 0x50]
call fcn.140003850
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 0x1400503a3
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.1400ddc40
nop
lea rcx, [rsp + 0x50]
call fcn.140003828
nop
jmp 0x14001bc16
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, [0x1401385d0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400ddc40
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, [0x1401385b0]
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400dcb7c
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 0x14005049c
mov dl, 1
jmp 0x140050586
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3f0
je 0x140050509
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, [0x1401385b0]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400ddc40
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 0x140050584
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, [0x140138588]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400ddc40
int3
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001cbf4
movzx ebx, al
lea rcx, [rbp + 0x10]
call fcn.14001ce00
movzx eax, bl
jmp 0x14001bbc1