Function at 0x140007480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov r15d, r8d
mov rsi, rdx
mov r12, rcx
lea r14, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp - 0x80], r14
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x56e
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
xor r13d, r13d
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x38], r13d
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0x48], rax
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp - 0x64]
mov dword [rbp + 0x54], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0x64], eax
mov dword [rbp + 0x34], 0xffffffff
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x30], r13d
mov qword [rbp + 0x90], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x80], xmm1
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x140022da8
lea rcx, [rbp + 0x30]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140022da8
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
test rax, rax
je 0x140022db4
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x60], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x68], 0xff
cmovne ebx, dword [rbp + 0x68]
mov edi, dword [rbp + 0x54]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140022dbd
cmp byte [rbp + 0x23], r13b
je 0x140007607
lea rbx, [rbp - 0x58]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140022e2d
add rbx, 8
sub rdi, 1
jne 0x1400075f1
mov qword [rsp + 0x78], r13
lea rax, [0x1400f91c8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r13
lea rax, [0x1400f91c8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 7
mov dword [rbp + 0xf8], r13d
mov dword [rbp + 0x108], r13d
test rsi, rsi
je 0x140023071
cmp word [rsi], 0
je 0x140023071
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x108]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_lsalookup_l1_1_0.dll_LookupAccountNameLocalW]
nop dword [rax + rax]
mov r14d, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test r14d, r14d
jne 0x140022fec
mov ebx, dword [rbp + 0x108]
test ebx, ebx
je 0x140022ff2
cmp dword [rbp + 0xf8], r14d
je 0x140022ff2
cmp eax, 0x534
je 0x140022e41
cmp eax, 0x7a
jne 0x140022ea6
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140022f4b
mov edx, dword [rbp + 0xf8]
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140022f65
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [rbp + 0x108]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_lsalookup_l1_1_0.dll_LookupAccountNameLocalW]
nop dword [rax + rax]
test eax, eax
je 0x140022f7f
mov r8d, r15d
mov rdx, rbx
mov rcx, r12
call fcn.14000ba30
nop
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
nop
mov rbx, r13
mov rcx, qword [rbp + rbx*8 + 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0x70], r13
inc rbx
cmp rbx, 4
jl 0x140007786
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 + 0x64]
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 + 0x68]
cmp r8d, 0xff
jne 0x140007833
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 0x38]
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 + 0x30]
call fcn.14000c1c0
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x90]
jmp 0x1400075aa
mov dword [rbp + 0x60], r13d
jmp 0x1400075bb
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x1400075e2
lea rcx, [rbp + 0x30]
call fcn.1400c7550
cmp dword [rbp + 0x30], r13d
je 0x1400075e2
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x60]
mov r8d, dword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x1400075e2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x1400075fd
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp - 0x80], rax
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x589
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.User__s_specified_under_VssAccessControl_key_doesnt_exist._This_key_value_is_ignored.
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140007d90
jmp 0x140022f0e
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp - 0x80], rax
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x58e
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
mov r9, rsi
lea r8, str.LookupAccountName_fails_for__s__winerror__d._This_key_value_in_VssAccessControl_is_ignored.
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140007d90
nop
lea rax, [0x1400f91c8]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140034a74
nop
lea rax, [0x1400f91c8]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140034a74
nop
lea rcx, [rbp + 0x30]
call fcn.140006990
nop
jmp 0x14000787b
mov dword [rsp + 0x50], 0x8007000e
lea rdx, [0x14015d778]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x50], 0x8007000e
lea rdx, [0x14015d778]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp - 0x80], rax
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x5a0
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, str.LookupAccountName_fails_unexpectedly_for__s__winerror__d._Account_ignored.
jmp 0x140022f00
mov ebx, dword [rbp + 0x108]
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rbp - 0x80], rax
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x584
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0xf8]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, str.LookupAccountName_fails_to_give_SID_size_for__s__fReturn__d__winerror__d__dwSid__d__dwDomain__d._This_key_value_is_ignored.
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.140007d90
jmp 0x140022f0e
mov qword [rbp - 0x80], r14
lea rax, str.CVssSidCollection::AddUser
mov qword [rbp - 0x78], rax
lea rax, str.SECSECRC
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x57d
mov dword [rbp - 0x64], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x60], 0xff
mov dword [rbp + 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x58]
call sub.msvcrt.dll_memset
lea r9, str.Invalid_user_name_argument
mov r8d, 0x8000ffff
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.1400c55fc
int3