Function at 0x140020d50
Capabilities:
Check for time delay via gettickcount
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov r14, rdx
lea rax, str.base_stor_vssmoduleswritersdeletewriter.cpp
mov qword [rsp + 0x60], rax
lea rax, str.CVssDeletingWriter::IsSystemAccountSID
mov qword [rsp + 0x68], rax
lea rax, str.WRTDELET
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x553
mov dword [rsp + 0x7c], 4
mov dword [rbp - 0x80], 0xff
xor r15d, r15d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], r15d
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], r15d
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x1a0], r15
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x1400539f0
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400539f0
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1400539f9
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]
lea rsi, str.ENTER
test eax, eax
jne 0x140053a02
mov esi, 0xf
cmp byte [rbp + 3], r15b
je 0x140020ed6
lea rbx, [rbp - 0x78]
mov edi, esi
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140053a5f
add rbx, 8
sub rdi, 1
jne 0x140020ec0
test r14, r14
je 0x140053c2d
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], 0
jne 0x140020ee3
test rax, rax
je 0x140053c2d
mov qword [rbp + 0x88], r15
lea rbx, [0x1400f83e8]
mov qword [rbp + 0x80], rbx
mov edx, 0x16
lea rcx, [rbp + 0x80]
call fcn.14001aec0
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xa0], rbx
mov edx, 0x17
lea rcx, [rbp + 0xa0]
call fcn.14001aec0
mov qword [rbp + 0x98], r15
mov qword [rbp + 0x90], rbx
mov edx, 0x18
lea rcx, [rbp + 0x90]
call fcn.14001aec0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rbx
lea r13, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp + 0xb0], r13
lea r12, str.CAutoSid::CreateFromString
mov qword [rbp + 0xb8], r12
lea rax, str.SECSECRC
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], 0x390
mov dword [rbp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xd0], 0xff
mov dword [rbp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x68], r15d
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp + 0xc8]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp + 0xcc]
mov dword [rbp - 0x7c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp - 0x6c], eax
mov dword [rsp + 0x64], 0xffffffff
mov eax, dword [rbp + 0xd0]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x60], r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp + 0x1a0], r15
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140053a6d
lea rcx, [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140053a6d
mov rax, qword [rbp + 0x1a0]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140053a76
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x70], eax
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x68], 0xff
cmovne ebx, dword [rbp - 0x68]
mov edi, dword [rbp - 0x7c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140053a7f
cmp byte [rbp + 0x153], 0
je 0x1400210d6
lea rbx, [rbp + 0xd8]
mov rdi, rsi
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140053ae7
add rbx, 8
sub rdi, 1
jne 0x1400210c0
lea rdx, [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSidToSidW]
test eax, eax
je 0x140053af5
mov rbx, r15
mov rcx, qword [rbp + rbx*8 - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x60], r15
inc rbx
cmp rbx, 4
jl 0x1400210ef
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x6c]
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 - 0x68]
cmp r8d, 0xff
jne 0x140021190
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x68]
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, [rsp + 0x60]
call fcn.14001d380
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov qword [rbp + 0xb0], r13
lea rax, str.CAutoSid::operator_
mov qword [rbp + 0xb8], rax
lea rax, str.SECSECRC
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], 0x3a2
mov dword [rbp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xd0], 0xff
mov dword [rbp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x68], r15d
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp + 0xc8]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp + 0xcc]
mov dword [rbp - 0x7c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp - 0x6c], eax
mov dword [rsp + 0x64], 0xffffffff
mov eax, dword [rbp + 0xd0]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x60], r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp + 0x1a0], r15
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140053b7d
lea rcx, [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140053b7d
mov rax, qword [rbp + 0x1a0]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140053b86
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x70], eax
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x68], 0xff
cmovne ebx, dword [rbp - 0x68]
mov edi, dword [rbp - 0x7c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140053b8f
cmp byte [rbp + 0x153], 0
je 0x140021336
lea rbx, [rbp + 0xd8]
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140053bf7
add rbx, 8
sub rsi, 1
jne 0x140021320
lea rsi, str.FALSE
mov rcx, qword [rsp + 0x58]
mov rdi, qword [rbp + 0x88]
test rcx, rcx
je 0x140053c05
test rdi, rdi
je 0x140053c0d
mov rdx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
test eax, eax
setne r14b
lea rax, str.TRUE
test r14b, r14b
cmove rax, rsi
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x60]
call fcn.14001d380
mov rbx, r15
mov rcx, qword [rbp + rbx*8 - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x60], r15
inc rbx
cmp rbx, 4
jl 0x14002139e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x6c]
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 - 0x68]
cmp r8d, 0xff
jne 0x14002143f
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x68]
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, [rsp + 0x60]
call fcn.14001d380
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test r14b, r14b
jne 0x1400214b3
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.14001ab20
test al, al
jne 0x1400214b3
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14001ab20
test al, al
je 0x140021648
mov r14b, 1
lea rsi, str.TRUE
mov qword [rsp + 0x20], rsi
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rbp + 0x10]
call fcn.14001d380
lea rax, [0x1400f83e8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400214fb
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rsp + 0x58], r15
lea rax, [0x1400f8090]
mov qword [rsp + 0x50], rax
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14002151f
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140021532
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
test rdi, rdi
je 0x140021541
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop
mov rbx, r15
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], r15
inc rbx
cmp rbx, 4
jl 0x140021544
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r8d, eax
sub r8d, dword [rbp + 0x44]
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov ebx, r8d
sub ebx, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x45e7b273
mul r8d
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 r8d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov ecx, dword [rbp + 0x48]
cmp ecx, 0xff
jne 0x1400215e6
mov ecx, RegisterTypeLib
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, ecx
lea rdx, str.EXIT
lea rcx, [rbp + 0x10]
call fcn.14001d380
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
movzx eax, r14b
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r14b, r14b
jmp 0x1400214bd
mov rax, qword [rbp + 0x70]
jmp 0x140020e6d
mov dword [rbp + 0x40], r15d
jmp 0x140020e7e
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140020ea6
lea rcx, [rbp + 0x10]
call fcn.1400dde58
cmp dword [rbp + 0x10], r15d
je 0x140020ea6
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rsi
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 0x140020ea6
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x140020ecc
mov rax, qword [rbp - 0x40]
jmp 0x140021070
mov dword [rbp - 0x70], r15d
jmp 0x140021081
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x1400210a2
lea rcx, [rsp + 0x60]
call fcn.1400dde58
cmp dword [rsp + 0x60], 0
je 0x1400210a2
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x1400210a2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x1400210cc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x140053b07
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x68], eax
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r12
lea rax, str.SECSECRC
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], 0x397
mov dword [rbp + 0xcc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xd0], 0xff
mov dword [rbp + 0x150], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll_memset
mov r9, r14
lea r8, str.ConvertStringSidToSid__s_
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.1400ddc40
nop
mov rax, qword [rbp - 0x40]
jmp 0x1400212d5
mov dword [rbp - 0x70], r15d
jmp 0x1400212e6
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140021307
lea rcx, [rsp + 0x60]
call fcn.1400dde58
cmp dword [rsp + 0x60], 0
je 0x140021307
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140021307
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14002132c
test rdi, rdi
sete dl
jmp 0x140053c0f
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.14001cbf4
movzx r14d, al
lea rcx, [rsp + 0x60]
call fcn.14001ce00
nop
jmp 0x140021480
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001cbf4
movzx r14d, al
jmp 0x140021541