Function at 0x140001f10
Capabilities:
Check for time delay via gettickcount
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov r13, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [r11 - 0x1b8], rax
lea rax, str.CVssDiag::FlushQueue
mov qword [r11 - 0x1b0], rax
lea rax, str.REGREGSC
mov qword [r11 - 0x1a8], rax
mov dword [rsp + 0xd8], 0x577
mov dword [rsp + 0xdc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xe0], 0xff
xor esi, esi
mov dword [rsp + 0x160], 0x1000000
lea rdi, [r11 - 0x190]
xor eax, eax
mov ecx, 0xf
rep stosq qword [rdi], rax
mov dword [rsp + 0x58], esi
mov rax, qword [r11 - 0x1b0]
mov qword [rsp + 0x78], rax
mov rax, qword [r11 - 0x1b8]
mov qword [rsp + 0x60], rax
mov rax, qword [r11 - 0x1a8]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0xb0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x280], rsi
lea rcx, [rsp + 0x280]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140038166
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140038166
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140038173
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x80], eax
mov edi, dword [rsp + 0x88]
cmp edi, 0xff
jne 0x140002088
mov edi, RegisterTypeLib
mov ebx, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14003817f
cmp byte [rsp + 0x163], sil
je 0x1400020c7
lea rdi, [rsp + 0xe8]
mov ebx, 0xf
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400381ed
add rdi, 8
sub rbx, 1
jne 0x1400020b1
mov r15d, dword [r13 + 0x348]
mov dword [r13 + 0x348], esi
mov r14d, esi
lea rdx, str.CVssRegistryKey::SetBinaryValue
cmp r14d, r15d
jb 0x1400021ee
mov rdi, rsi
mov rcx, qword [rsp + rdi*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x90], rsi
inc rdi
cmp rdi, 4
jl 0x1400020eb
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rsp + 0x84]
mov eax, 0x10624dd3
mul edi
mov r8d, edx
shr r8d, 6
imul ecx, r8d, 0x3e8
mov r10d, edi
sub r10d, ecx
mov eax, 0x88888889
mul r8d
shr edx, 5
imul ecx, edx, 0x3c
sub r8d, ecx
mov eax, 0x45e7b273
mul edi
mov r9d, edx
shr r9d, 0xe
mov eax, 0x88888889
mul r9d
shr edx, 5
imul ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x95217cb1
mul edi
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov edx, dword [rsp + 0x88]
cmp edx, 0xff
jne 0x140002193
mov edx, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, edx
lea rdx, str.EXIT
lea rcx, [rsp + 0x50]
call fcn.1400035a0
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov eax, r14d
lea rcx, [rax + rax*4]
shl rcx, 4
mov rax, qword [rcx + r13 + 0x70]
mov qword [rsp + 0x288], rax
lea r12, [r13 + 0x28]
add r12, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rdx
lea rax, str.REGREGSC
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x190], 0x16a
mov dword [rsp + 0x194], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x198], 0xff
mov dword [rsp + 0x218], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x1a0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xc8], esi
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x194]
mov dword [rsp + 0xe4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rsp + 0xf4], eax
mov dword [rsp + 0xc4], 0xffffffff
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0xc0], esi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rsi
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x280], rsi
lea rcx, [rsp + 0x280]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x1400381fb
lea rcx, [rsp + 0xc0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400381fb
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x120], rax
test rax, rax
je 0x140038208
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xf0], eax
mov edi, dword [rsp + 0xf8]
cmp edi, 0xff
jne 0x140002387
mov edi, RegisterTypeLib
mov ebx, dword [rsp + 0xe4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140038214
cmp byte [rsp + 0x21b], 0
je 0x1400023c9
lea rdi, [rsp + 0x1a0]
mov ebx, 0xf
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140038298
add rdi, 8
sub rbx, 1
jne 0x1400023b3
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], r12
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x288]
mov rcx, qword [r13 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x1400382a6
mov rdi, rsi
mov rcx, qword [rsp + rdi*8 + 0x100]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x100], rsi
inc rdi
cmp rdi, 4
jl 0x1400023fe
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rsp + 0xf4]
mov eax, 0x10624dd3
mul edi
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov r11d, edi
sub r11d, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul edi
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 edi
mov r10d, edx
shr r10d, 0x15
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov r8d, dword [rsp + 0xf8]
cmp r8d, 0xff
jne 0x1400024a9
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
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
lea rdx, str.EXIT
lea rcx, [rsp + 0xc0]
call fcn.1400035a0
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
inc r14d
jmp 0x1400020d8
mov rax, qword [rsp + 0xb0]
jmp 0x14000205f
mov dword [rsp + 0x80], esi
jmp 0x140002074
mov ecx, ebx
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14000209a
lea rcx, [rsp + 0x50]
call fcn.1400ba0d8
cmp dword [rsp + 0x50], esi
je 0x14000209a
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14000209a
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], rsi
jmp 0x1400020bd
mov rax, qword [rsp + 0x120]
jmp 0x14000235e
mov dword [rsp + 0xf0], esi
jmp 0x140002373
mov ecx, ebx
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14000239c
lea rcx, [rsp + 0xc0]
call fcn.1400ba0d8
cmp dword [rsp + 0xc0], 0
je 0x14000239c
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14000239c
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], rsi
jmp 0x1400023bf
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x178], rax
lea rax, str.CVssRegistryKey::SetBinaryValue
mov qword [rsp + 0x180], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x190], 0x17d
mov dword [rsp + 0x194], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x198], 0xff
mov dword [rsp + 0x218], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x1a0]
call sub.msvcrt.dll_memset
mov rcx, qword [r13 + 0x18]
test edi, edi
jle 0x140038323
movzx edi, di
or edi, 0x80070000
mov dword [rsp + 0x38], 0x48
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
mov rax, qword [r13 + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegSetValueExW_0x_08lx__s_0_REG_BINARY__p._lu_
mov r8d, edi
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xc0]
call fcn.1400b8b90
nop
xor esi, esi
jmp 0x1400020e8