Function at 0x1400179f0
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 - 0x378]
sub rsp, 0x478
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r14, rdx
mov r15, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x20], rax
lea r13, str.CVssRegistryKey::Open
mov qword [rbp - 0x18], r13
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 r12d, r12d
mov dword [rbp + 0x80], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp + 8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], r12d
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]
mov dword [rbp - 0x5c], eax
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rbp]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x70], r12d
mov qword [rbp - 0x30], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x40], xmm1
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004e432
lea rcx, [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004e432
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14004e43b
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x60], eax
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x58], 0xff
cmovne ebx, dword [rbp - 0x58]
mov edi, dword [rbp - 0x6c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
lea rsi, str.ENTER
test eax, eax
jne 0x14004e444
mov edi, 0xf
cmp byte [rbp + 0x83], r12b
je 0x140017b7a
lea rbx, [rbp + 8]
mov esi, edi
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004e4a3
add rbx, 8
sub rsi, 1
jne 0x140017b64
lea r9, [rbp + 0x3d8]
mov ebx, r12d
mov r8, qword [rbp + 0x3d0]
mov edx, 0x103
lea rcx, [rbp + 0x150]
call qword [sym.imp.msvcrt.dll__vsnwprintf]
test eax, eax
js 0x14004e4c3
cdqe
cmp rax, 0x103
ja 0x14004e4c3
je 0x14004e4b1
mov dword [rsp + 0x78], ebx
test ebx, ebx
js 0x14004e4d5
lea rsi, [0x1400f83e0]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [r15]
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp eax, 2
je 0x140018047
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]
test eax, eax
jne 0x14004e54e
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], r13
lea r14, str.CVssRegistryKey::Close
mov qword [rbp + 0x98], r14
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x29c
call sub.msvcrt.dll_memset
mov dword [rbp - 0x18], r12d
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]
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x1c], 0xffffffff
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x18], eax
mov dword [rbp - 0x20], r12d
mov qword [rbp + 0x40], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004e5ba
lea rcx, [rbp - 0x20]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004e5ba
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14004e5c3
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x10], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x18], 0xff
cmovne ebx, dword [rbp + 0x18]
mov esi, dword [rbp + 4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004e5cc
cmp byte [rbp + 0x133], 0
je 0x140017d66
lea rbx, [rbp + 0xb8]
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004e630
add rbx, 8
sub rdi, 1
jne 0x140017d50
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x140018075
mov rcx, qword [r15 + 0x18]
test rcx, rcx
jne 0x14001808e
mov qword [r15 + 0x18], r12
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x20]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x20], r12
inc rbx
cmp rbx, 4
jl 0x140017d87
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x14]
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 + 0x18]
cmp r8d, 0xff
jne 0x140017e28
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 - 0x20]
call fcn.14001d380
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea rax, [rbp + 0x150]
or rbx, 0xffffffffffffffff
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x140017e72
mov rcx, qword [r15 + 0x18]
test rcx, rcx
jne 0x14004e6b9
mov qword [r15 + 0x18], r12
lea rcx, [rbx*2 + 2]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov r8, rax
mov qword [r15 + 0x18], rax
test rax, rax
je 0x14004e6c5
lea rax, [rbx + 1]
mov r10d, r12d
lea rcx, [rax - 1]
mov r9d, 0x7ffffffe
cmp rcx, r9
ja 0x14004e6df
test r10d, r10d
js 0x14004e6f9
lea rdx, [rbp + 0x150]
mov r10d, r12d
test rax, rax
je 0x14004e6ea
sub r9, rax
lea rcx, [r9 + rax]
test rcx, rcx
je 0x140017f0d
movzx ecx, word [rdx]
test cx, cx
je 0x140017f0d
mov word [r8], cx
add r8, 2
add rdx, 2
sub rax, 1
jne 0x140017ee5
jmp 0x14004e6ea
test rax, rax
je 0x14004e6ea
mov word [r8], r12w
test r10d, r10d
js 0x14004e707
mov rax, qword [rsp + 0x60]
mov qword [r15 + 8], rax
mov qword [rsp + 0x60], r12
lea rax, [0x1400f8090]
mov qword [rsp + 0x58], rax
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 0x140017f40
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x5c]
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 ecx, edx, 0x3c
sub r10d, ecx
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 - 0x58]
cmp r8d, 0xff
jne 0x140017fe1
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x78]
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, [rsp + 0x70]
call fcn.14001d380
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov al, 1
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400321c0
add rsp, 0x478
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 0x140018099
mov qword [rsp + 0x60], r12
lea rax, [0x1400f8090]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call fcn.14001ce00
xor al, al
jmp 0x140018024
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, eax
test eax, eax
jne 0x14004e63e
mov qword [r15 + 8], r12
jmp 0x140017d73
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
jmp 0x140017d80
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140018056
mov rax, qword [rbp - 0x30]
jmp 0x140017b17
mov dword [rbp - 0x60], r12d
jmp 0x140017b28
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140017b50
lea rcx, [rsp + 0x70]
call fcn.1400dde58
cmp dword [rsp + 0x70], r12d
je 0x140017b50
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rsi
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
jmp 0x140017b50
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x140017b70
mov word [rbp + 0x356], r12w
mov dword [rsp + 0x78], r12d
jmp 0x140017bc5
mov word [rbp + 0x356], r12w
mov ebx, 0x8007007a
jmp 0x140017bb9
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r13
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.1400dcb7c
nop
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r13
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], RegisterTypeLib
call sub.msvcrt.dll_memset
test ebx, ebx
jle 0x14004e58d
movzx ebx, bx
or ebx, 0x80070000
lea rax, [rbp + 0x150]
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.1400dcb7c
int3
mov rax, qword [rbp + 0x40]
jmp 0x140017d08
mov dword [rbp + 0x10], r12d
jmp 0x140017d19
mov ecx, esi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140017d3a
lea rcx, [rbp - 0x20]
call fcn.1400dde58
cmp dword [rbp - 0x20], 0
je 0x140017d3a
mov qword [rsp + 0x40], r12
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
jmp 0x140017d3a
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
jmp 0x140017d5c
mov qword [rbp + 0x90], r13
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.14001cc70
nop
jmp 0x140018085
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
jmp 0x140017e8a
mov dword [rsp + 0x50], 0x8007000e
lea rdx, [0x140167770]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
mov r10d, 0x80070057
jmp 0x140017ec6
sub r8, 2
mov r10d, 0x8007007a
jmp 0x140017f16
test rax, rax
je 0x140017f1a
jmp 0x140017f16
lea rcx, [r15 + 0x10]
call fcn.14003151c
mov dword [rsp + 0x50], 0x8000ffff
lea rdx, [0x140167770]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3