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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x368]
sub rsp, 0x468
mov rax, qword [0x140156408]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r14, rdx
mov r15, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x20], rax
lea rsi, str.CVssRegistryKey::Open
mov qword [rbp - 0x18], rsi
lea rax, str.REGREGSC
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x7f
mov dword [rbp - 4], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp], 0xff
xor r13d, r13d
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp + 8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], r13d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x78], rax
mov eax, dword [rbp - 8]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp - 4]
mov dword [rbp - 0x6c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp - 0x5c], eax
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rbp]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r13d
mov qword [rbp - 0x30], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], 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 0x14001fc70
lea rcx, [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001fc70
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14001fc79
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x60], eax
mov r12d, 0xa0
mov ebx, r12d
cmp dword [rbp - 0x58], 0xff
cmovne ebx, dword [rbp - 0x58]
mov edi, dword [rbp - 0x6c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001fc82
mov edi, 0xf
cmp byte [rbp + 0x83], r13b
je 0x140006e9d
lea rbx, [rbp + 8]
mov esi, edi
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001fcf4
add rbx, 8
sub rsi, 1
jne 0x140006e80
lea rsi, str.CVssRegistryKey::Open
lea r9, [rbp + 0x3c8]
mov r8, qword [rbp + 0x3c0]
mov edx, 0x103
lea rcx, [rbp + 0x140]
call qword [sym.imp.msvcrt.dll__vsnwprintf]
nop dword [rax + rax]
test eax, eax
js 0x14001ff68
cdqe
cmp rax, 0x103
ja 0x14001ff68
mov dword [rsp + 0x78], r13d
je 0x14001fd08
lea rsi, [0x1400f91d8]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [r15]
xor r8d, r8d
lea rdx, [rbp + 0x140]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x140007395
test eax, eax
jne 0x14001fd27
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
lea r14, str.CVssRegistryKey::Close
mov qword [rbp + 0x98], r14
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x29c
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x18], r13d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp - 8], rax
mov eax, dword [rbp + 0xa8]
mov dword [rbp], eax
mov eax, dword [rbp + 0xac]
mov dword [rbp + 4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x1c], 0xffffffff
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x18], eax
mov dword [rbp - 0x20], r13d
mov qword [rbp + 0x40], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], 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 0x14001fdc3
lea rcx, [rbp - 0x20]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001fdc3
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14001fdcc
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x10], eax
mov ebx, r12d
cmp dword [rbp + 0x18], 0xff
cmovne ebx, dword [rbp + 0x18]
mov esi, dword [rbp + 4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001fdd5
cmp byte [rbp + 0x133], 0
je 0x1400070a6
lea rbx, [rbp + 0xb8]
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001fe45
add rbx, 8
sub rdi, 1
jne 0x140007090
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x14001fe59
mov rcx, qword [r15 + 0x18]
test rcx, rcx
jne 0x14001fef0
mov qword [r15 + 0x18], r13
mov rbx, r13
mov rcx, qword [rbp + rbx*8 + 0x20]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0x20], r13
inc rbx
cmp rbx, 4
jl 0x1400070c7
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
sub ebx, dword [rbp + 0x14]
mov eax, 0x10624dd3
mul ebx
mov r11d, edx
shr r11d, 6
imul ecx, r11d, 0x3e8
mov r10d, ebx
sub r10d, ecx
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov eax, 0x45e7b273
mul ebx
mov r9d, edx
shr r9d, 0xe
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x95217cb1
mul ebx
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, r12d
cmp dword [rbp + 0x18], 0xff
cmovne r8d, dword [rbp + 0x18]
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r9d
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 - 0x20]
call fcn.14000a3f0
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
lea rax, [rbp + 0x140]
mov rbx, 0xffffffffffffffff
nop
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x1400071c0
mov rcx, qword [r15 + 0x18]
test rcx, rcx
jne 0x14001ff02
mov qword [r15 + 0x18], r13
lea rcx, [rbx*2 + 2]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [r15 + 0x18], rax
test rax, rax
je 0x14001ff14
lea rdx, [rbx + 1]
lea rcx, [rdx - 1]
mov r8d, 0x7ffffffe
cmp rcx, r8
ja 0x14001ff3c
mov ebx, r13d
sub r8, rdx
lea r9, [rbp + 0x140]
sub r9, rax
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x140007252
movzx ecx, word [rax + r9]
test cx, cx
je 0x140007249
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x140007224
jmp 0x14001ff2e
test rdx, rdx
je 0x14001ff2e
mov word [rax], r13w
test ebx, ebx
js 0x14001ff45
mov rax, qword [rsp + 0x60]
mov qword [r15 + 8], rax
mov qword [rsp + 0x60], r13
lea rax, [0x1400f91d0]
mov qword [rsp + 0x58], rax
mov rbx, r13
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], r13
inc rbx
cmp rbx, 4
jl 0x14000727b
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r8d, eax
sub r8d, dword [rbp - 0x5c]
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov r11d, r8d
sub r11d, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul r8d
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 r8d
mov r10d, edx
shr r10d, 0x15
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov edx, dword [rbp - 0x58]
cmp edx, 0xff
jne 0x140007324
mov edx, r12d
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r10d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, edx
lea rdx, str.EXIT
lea rcx, [rsp + 0x70]
call fcn.14000a3f0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov al, 1
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1400161f0
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x14001fd15
mov qword [rsp + 0x60], r13
lea rax, [0x1400f91d0]
mov qword [rsp + 0x58], rax
mov rbx, r13
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], r13
inc rbx
cmp rbx, 4
jl 0x1400073bc
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r11d, eax
sub r11d, dword [rbp - 0x5c]
mov eax, 0x10624dd3
mul r11d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov r9d, r11d
sub r9d, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r11d
mov r8d, edx
shr r8d, 0xe
mov eax, 0x88888889
mul r8d
shr edx, 5
imul ecx, edx, 0x3c
sub r8d, ecx
mov eax, 0x95217cb1
mul r11d
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
cmp dword [rbp - 0x58], 0xff
cmovne r12d, dword [rbp - 0x58]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, r12d
lea rdx, str.EXIT
lea rcx, [rsp + 0x70]
call fcn.14000a3f0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
xor al, al
jmp 0x140007371
mov rax, qword [rbp - 0x30]
jmp 0x140006e2d
mov dword [rbp - 0x60], r13d
jmp 0x140006e3e
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140006e69
lea rcx, [rsp + 0x70]
call fcn.1400c73b0
cmp dword [rsp + 0x70], r13d
je 0x140006e69
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x140006e69
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x140006e8c
mov word [rbp + 0x346], r13w
jmp 0x140006ee4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x1400073a8
jle 0x14001fd32
movzx ebx, ax
or ebx, 0x80070000
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
lea rax, str.CVssRegistryKey::Open
mov qword [rbp + 0x98], rax
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x9a
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.RegOpenKeyExW__ld__s_..._
mov r8d, ebx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400c5eb0
int3
mov rax, qword [rbp + 0x40]
jmp 0x14000703f
mov dword [rbp + 0x10], r13d
jmp 0x140007050
mov ecx, esi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140007075
lea rcx, [rbp - 0x20]
call fcn.1400c73b0
cmp dword [rbp - 0x20], 0
je 0x140007075
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x140007075
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x14000709c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001fee7
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r14
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x2a3
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
mov r9, qword [r15 + 0x18]
lea r8, str.Error_on_closing_key_with_name__s._lRes__0x_08lx
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x20]
call fcn.140006660
mov qword [r15 + 8], r13
jmp 0x1400070b3
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x1400070c0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x1400071d8
mov dword [rsp + 0x50], 0x8007000e
lea rdx, [0x140152070]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
sub rax, 2
mov ebx, 0x8007007a
jmp 0x140007252
test rdx, rdx
je 0x14001ff45
mov word [rax], r13w
lea rcx, [r15 + 0x10]
call fcn.140032508
mov dword [rsp + 0x50], 0x8000ffff
lea rdx, [0x140152070]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
nop
mov word [rbp + 0x346], r13w
mov ebx, 0x8007007a
mov dword [rsp + 0x78], ebx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rsi
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x8b
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
lea r9, str.StringCchVPrintfW__
mov r8d, ebx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400c5eb0
int3