Function at 0x14000d3f0
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 rax, qword [0x140156408]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rsi, rdx
mov r15, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], rax
lea r12, str.CVssRegistryKey::Create
mov qword [rbp + 0x98], r12
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x45
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
xor r13d, r13d
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], r13d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rbp + 0x34], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x14], 0xffffffff
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x10], r13d
mov qword [rbp + 0x70], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], 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 0x1400237ae
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x1400237ae
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x1400237b7
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x40], eax
mov ebx, 0xa0
cmp dword [rbp + 0x48], 0xff
cmovne ebx, dword [rbp + 0x48]
mov edi, dword [rbp + 0x34]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
lea r14, str.ENTER
test eax, eax
jne 0x1400237c0
mov r14d, 0xf
cmp byte [rbp + 0x133], r13b
je 0x14000d5b6
lea rbx, [rbp + 0xb8]
mov edi, r14d
nop dword [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140023829
add rbx, 8
sub rdi, 1
jne 0x14000d5a0
lea r9, [rbp + 0x3d8]
mov r8, qword [rbp + 0x3d0]
mov edx, 0x103
lea rcx, [rbp + 0x150]
call qword [sym.imp.msvcrt.dll__vsnwprintf]
nop dword [rax + rax]
test eax, eax
js 0x140023aef
cdqe
cmp rax, 0x103
ja 0x140023aef
mov dword [rbp + 0x18], r13d
je 0x14002383d
mov dword [rsp + 0x58], r13d
lea rax, [0x1400f91d8]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], r13
mov eax, dword [r15]
mov ecx, dword [r15 + 4]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp + 0x88]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x150]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002384a
mov ebx, dword [rsp + 0x58]
mov eax, ebx
sub eax, 1
jne 0x1400238c9
lea rax, [rbp + 0x150]
mov rbx, 0xffffffffffffffff
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x14000d683
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14000d6a3
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
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 0x14002397e
lea rdx, [rbx + 1]
lea rcx, [rdx - 1]
mov r8d, 0x7ffffffe
cmp rcx, r8
ja 0x140023ac3
mov ebx, r13d
sub r8, rdx
lea r9, [rbp + 0x150]
sub r9, rax
nop
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x14000d71e
movzx ecx, word [rax + r9]
test cx, cx
je 0x14000d715
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14000d6f0
jmp 0x140023998
test rdx, rdx
je 0x140023998
mov word [rax], r13w
test ebx, ebx
js 0x140023acc
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], r12
lea rsi, str.CVssRegistryKey::Close
mov qword [rsp + 0x68], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x29c
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
mov dword [rbp + 0x98], r13d
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xb8], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0xa8], rax
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0xb0], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0xb4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0xc4], eax
mov dword [rbp + 0x94], 0xffffffff
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0xc8], eax
mov dword [rbp + 0x90], r13d
mov qword [rbp + 0xf0], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], 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 0x1400239a6
lea rcx, [rbp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x1400239a6
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x1400239b2
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0xc0], eax
mov ebx, dword [rbp + 0xc8]
cmp ebx, 0xff
jne 0x14000d86f
mov ebx, 0xa0
mov edi, dword [rbp + 0xb4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x1400239be
cmp byte [rbp + 3], 0
je 0x14000d8a9
lea rbx, [rbp - 0x78]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140023a46
add rbx, 8
sub r14, 1
jne 0x14000d893
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14000d8cc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140023a5a
mov qword [r15 + 8], r13
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x14000d8e1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [r15 + 0x18], r13
mov rbx, r13
mov rcx, qword [rbp + rbx*8 + 0xd0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0xd0], r13
inc rbx
cmp rbx, 4
jl 0x14000d8e8
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 + 0xc4]
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 + 0xc8]
cmp r8d, 0xff
jne 0x14000d9a1
mov r8d, 0xa0
mov eax, dword [rbp + 0x98]
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 + 0x90]
call fcn.14000a3f0
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov rax, qword [rbp + 0x88]
mov qword [r15 + 8], rax
mov qword [rbp + 0x88], r13
lea rax, [0x1400f91d0]
mov qword [rbp + 0x80], 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 0x14000da12
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 + 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 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 + 0x48]
cmp r8d, 0xff
jne 0x14000dabf
mov r8d, 0xa0
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.14000a3f0
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400161f0
add rsp, 0x478
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rbp + 0x70]
jmp 0x14000d540
mov dword [rbp + 0x40], r13d
jmp 0x14000d551
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x14000d57f
lea rcx, [rbp + 0x10]
call fcn.1400c73b0
cmp dword [rbp + 0x10], r13d
je 0x14000d57f
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r14
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 dword [rax + rax]
nop
jmp 0x14000d57f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x14000d5ac
mov word [rbp + 0x356], r13w
jmp 0x14000d5fc
jle 0x140023855
movzx ebx, ax
or ebx, 0x80070000
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r12
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x63
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 rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.RegCreateKeyExW__ld__s_..._
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c5eb0
int3
mov qword [rsp + 0x68], r12
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]
cmp eax, 1
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
je 0x140023949
mov dword [rsp + 0x78], 0x72
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], ebx
lea rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.RegCreateKeyExW__ld__s_...___lu__
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c5eb0
int3
mov dword [rsp + 0x78], 0x6f
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, str.Key__s_already_exists
mov r8d, 0x8004230d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c54bc
int3
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 0x14000d71e
mov rax, qword [rbp + 0xf0]
jmp 0x14000d848
mov dword [rbp + 0xc0], r13d
jmp 0x14000d85c
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x14000d889
lea rcx, [rbp + 0x90]
call fcn.1400c73b0
cmp dword [rbp + 0x90], 0
je 0x14000d889
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0xb4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xc0]
mov r8d, dword [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x14000d889
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x14000d89f
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x2a3
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
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, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.140006660
nop
jmp 0x14000d8c8
test rdx, rdx
je 0x140023acc
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 + 0x356], r13w
mov ebx, 0x8007007a
mov dword [rbp + 0x18], ebx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r12
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x51
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, str.StringCchVPrintfW__
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c5eb0
int3