Function at 0x140017d00
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, 0x310
mov qword [r11 - 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x9c], r9d
mov dword [rsp + 0x98], r8d
mov r12d, edx
mov qword [rsp + 0xa0], rcx
mov r13, qword [rsp + 0x378]
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [r11 - 0x218], rax
lea rsi, str.CVssDiag::RecordGenericEvent
mov qword [r11 - 0x210], rsi
lea rax, str.REGREGSC
mov qword [r11 - 0x208], rax
mov dword [rsp + 0x148], 0x52d
mov dword [rsp + 0x14c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x150], 0xff
xor r14d, r14d
mov dword [rsp + 0x1d0], 0x1000000
lea rdi, [r11 - 0x1f0]
xor eax, eax
mov r15d, 0xf
mov ecx, r15d
rep stosq qword [rdi], rax
mov dword [r11 - 0x290], r14d
mov rax, qword [r11 - 0x210]
mov qword [r11 - 0x270], rax
mov rax, qword [r11 - 0x218]
mov qword [r11 - 0x288], rax
mov rax, qword [r11 - 0x208]
mov qword [r11 - 0x280], rax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x14c]
mov dword [rsp + 0xd4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0xb4], 0xffffffff
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0xb0], r14d
mov qword [rsp + 0x110], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x100], xmm1
mov qword [rsp + 0xa8], r14
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140037f12
lea rcx, [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140037f12
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x110], rax
test rax, rax
je 0x140037f1f
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xe0], eax
mov edi, dword [rsp + 0xe8]
cmp edi, 0xff
jne 0x140017ecb
mov edi, RegisterTypeLib
mov ebx, dword [rsp + 0xd4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140037f2c
cmp byte [rsp + 0x1d3], r14b
je 0x140017f16
lea rdi, [rsp + 0x158]
mov rbx, r15
nop word [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140037fb0
add rdi, 8
sub rbx, 1
jne 0x140017f00
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x1f8], 0x531
mov dword [rsp + 0x1fc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x200], 0xff
mov dword [rsp + 0x280], 0x1000000
lea rdi, [rsp + 0x208]
xor eax, eax
mov rcx, r15
rep stosq qword [rdi], rax
movzx eax, byte [r13 + 0xf]
movzx ecx, byte [r13 + 0xe]
movzx edx, byte [r13 + 0xd]
movzx edi, byte [r13 + 0xc]
movzx r8d, byte [r13 + 0xb]
movzx r9d, byte [r13 + 0xa]
movzx r10d, byte [r13 + 9]
movzx r11d, byte [r13 + 8]
movzx ebx, word [r13 + 6]
movzx esi, word [r13 + 4]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x60], r9d
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], esi
mov eax, dword [r13]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x370]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x28], eax
mov edi, dword [rsp + 0x98]
mov dword [rsp + 0x20], edi
mov r9d, r12d
lea r8, str.Parameters__ld___ld___ld__0x_08lx___.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xb0]
call fcn.1400037d0
mov rax, qword [rsp + 0xa0]
cmp byte [rax + 0x20], 0
je 0x140037fbe
test dil, 2
jne 0x140037fd1
mov ebx, edi
and ebx, 1
setne dl
mov r8d, r12d
call fcn.140017600
mov rsi, rax
test rax, rax
je 0x140037fe4
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x1e0], rax
lea rax, str.CVssDiag::RecordGenericEvent
mov qword [rsp + 0x1e8], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x1f8], 0x544
mov dword [rsp + 0x1fc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x200], 0xff
mov dword [rsp + 0x280], 0x1000000
lea rdi, [rsp + 0x208]
xor eax, eax
mov rcx, r15
rep stosq qword [rdi], rax
mov r9, rsi
lea r8, str.Event_name:__s
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xb0]
call fcn.1400037d0
mov qword [rsp + 0x2b0], 0x48
lea rcx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x2b8], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcessId]
mov dword [rsp + 0x2c0], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov dword [rsp + 0x2c4], eax
mov dword [rsp + 0x2c8], r12d
mov r8d, dword [rsp + 0x98]
mov dword [rsp + 0x2cc], r8d
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x2d0], eax
mov eax, dword [rsp + 0x370]
mov dword [rsp + 0x2d4], eax
movaps xmm0, xmmword [r13]
movups xmmword [rsp + 0x2d8], xmm0
mov qword [rsp + 0x2e8], r14
mov qword [rsp + 0x2f0], r14
sub r12d, 0x3fe
je 0x1400185d1
sub r12d, 1
je 0x14001864f
cmp r12d, 5
je 0x1400185d1
mov r13, qword [rsp + 0xa0]
mov rcx, r13
call fcn.140001f10
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x1e0], rax
lea r12, str.CVssRegistryKey::SetBinaryValue
mov qword [rsp + 0x1e8], r12
lea rax, str.REGREGSC
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x1f8], 0x16a
mov dword [rsp + 0x1fc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x200], 0xff
mov dword [rsp + 0x280], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x208]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x138], r14d
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x1fc]
mov dword [rsp + 0x154], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x134], 0xffffffff
mov eax, dword [rsp + 0x200]
mov dword [rsp + 0x168], eax
mov dword [rsp + 0x130], r14d
mov qword [rsp + 0x190], r14
mov qword [rsp + 0x170], r14
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x180], r14
mov qword [rsp + 0x188], r14
mov qword [rsp + 0x90], r14
lea rcx, [rsp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140037ff7
lea rcx, [rsp + 0x130]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140037ff7
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x190], rax
test rax, rax
je 0x140038004
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x160], eax
mov edi, dword [rsp + 0x168]
cmp edi, 0xff
jne 0x140018349
mov edi, RegisterTypeLib
mov ebx, dword [rsp + 0x154]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140038011
cmp byte [rsp + 0x283], 0
je 0x140018386
lea rdi, [rsp + 0x208]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140038095
add rdi, 8
sub r15, 1
jne 0x140018370
mov dword [rsp + 0x28], 0x48
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, rsi
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 0x1400380a3
mov rdi, r14
mov rcx, qword [rsp + rdi*8 + 0x170]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0x170], r14
inc rdi
cmp rdi, 4
jl 0x1400183be
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rsp + 0x164]
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 + 0x168]
cmp r8d, 0xff
jne 0x140018469
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x138]
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 + 0x130]
call fcn.1400035a0
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop
mov rdi, r14
mov rcx, qword [rsp + rdi*8 + 0xf0]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rdi*8 + 0xf0], r14
inc rdi
cmp rdi, 4
jl 0x1400184b8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov edi, eax
sub edi, dword [rsp + 0xe4]
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 ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x45e7b273
mul edi
mov r10d, edx
shr r10d, 0xe
mov eax, 0x88888889
mul r10d
shr edx, 5
imul ecx, edx, 0x3c
sub r10d, 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 r8d, dword [rsp + 0xe8]
cmp r8d, 0xff
jne 0x140018563
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
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 + 0xb0]
call fcn.1400035a0
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14001ff30
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rdx, qword [rsp + 0xa0]
mov eax, dword [rdx + 0x348]
cmp eax, 0xa
jae 0x1400184b5
lea rcx, [rax + rax*4]
add rcx, rcx
mov qword [rdx + rcx*8 + 0x70], rsi
mov eax, dword [rdx + 0x348]
lea rcx, [rax + rax*4]
add rcx, rcx
movaps xmm0, xmmword [rsp + 0x2b0]
movups xmmword [rdx + rcx*8 + 0x28], xmm0
movaps xmm1, xmmword [rsp + 0x2c0]
movups xmmword [rdx + rcx*8 + 0x38], xmm1
movaps xmm0, xmmword [rsp + 0x2d0]
movups xmmword [rdx + rcx*8 + 0x48], xmm0
movaps xmm1, xmmword [rsp + 0x2e0]
movups xmmword [rdx + rcx*8 + 0x58], xmm1
movsd xmm0, qword [rsp + 0x2f0]
movsd qword [rdx + rcx*8 + 0x68], xmm0
inc dword [rdx + 0x348]
jmp 0x1400184b5
test ebx, ebx
jne 0x1400185d1
jmp 0x1400181b6
mov rax, qword [rsp + 0x110]
jmp 0x140017ea2
mov dword [rsp + 0xe0], r14d
jmp 0x140017eb7
mov ecx, ebx
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140017ee0
lea rcx, [rsp + 0xb0]
call fcn.1400ba0d8
cmp dword [rsp + 0xb0], r14d
je 0x140017ee0
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe0]
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140017ee0
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], r14
jmp 0x140017f0c
lea rcx, [rsp + 0xb0]
call fcn.140003960
nop
jmp 0x1400185ae
lea rcx, [rsp + 0xb0]
call fcn.140003960
nop
jmp 0x1400185ae
lea rcx, [rsp + 0xb0]
call fcn.140003960
nop
jmp 0x1400185ae
mov rax, qword [rsp + 0x190]
jmp 0x140018320
mov dword [rsp + 0x160], r14d
jmp 0x140018335
mov ecx, ebx
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001835e
lea rcx, [rsp + 0x130]
call fcn.1400ba0d8
cmp dword [rsp + 0x130], 0
je 0x14001835e
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x160]
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14001835e
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rdi], r14
jmp 0x14001837c
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], r12
lea rax, str.REGREGSC
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x1f8], 0x17d
mov dword [rsp + 0x1fc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x200], 0xff
mov dword [rsp + 0x280], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x208]
call sub.msvcrt.dll_memset
mov rcx, qword [r13 + 0x18]
test edi, edi
jle 0x140038119
movzx edi, di
or edi, 0x80070000
mov dword [rsp + 0x38], 0x48
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x30], rax
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 + 0x1e0]
lea rcx, [rsp + 0x130]
call fcn.1400b8b90
nop
xor r14d, r14d
jmp 0x1400184b5