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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov qword [rsp + 0x290], 0xfffffffffffffffe
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x9c], r9d
mov dword [rsp + 0x98], r8d
mov r13d, edx
mov qword [rsp + 0xa0], rcx
mov r12, qword [rsp + 0x378]
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x130], rax
lea rsi, str.CVssDiag::RecordGenericEvent
mov qword [rsp + 0x138], rsi
lea rax, str.REGREGSC
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x148], 0x52d
mov dword [rsp + 0x14c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x150], 0xff
xor r15d, r15d
mov dword [rsp + 0x1d0], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x158]
call sub.msvcrt.dll_memset
mov dword [rsp + 0xb8], r15d
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc8], 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_1_0.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], r15d
mov qword [rsp + 0x110], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x100], xmm1
mov qword [rsp + 0xa8], r15
lea rcx, [rsp + 0xa8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004f8ce
lea rcx, [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004f8ce
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14004f8db
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xe0], eax
mov ebx, dword [rsp + 0xe8]
cmp ebx, 0xff
jne 0x14001a082
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0xd4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004f8e8
mov r14d, 0xf
cmp byte [rsp + 0x1d3], r15b
je 0x14001a0c8
lea rbx, [rsp + 0x158]
mov edi, r14d
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004f96c
add rbx, 8
sub rdi, 1
jne 0x14001a0b2
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
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x208]
call sub.msvcrt.dll_memset
movzx eax, byte [r12 + 0xf]
movzx ecx, byte [r12 + 0xe]
movzx edx, byte [r12 + 0xd]
movzx r8d, byte [r12 + 0xc]
movzx r9d, byte [r12 + 0xb]
movzx r10d, byte [r12 + 0xa]
movzx r11d, byte [r12 + 9]
movzx ebx, byte [r12 + 8]
movzx edi, word [r12 + 6]
movzx esi, word [r12 + 4]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r10d
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov eax, dword [r12]
mov dword [rsp + 0x38], eax
mov edi, dword [rsp + 0x370]
mov dword [rsp + 0x30], edi
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x28], eax
mov ebx, dword [rsp + 0x98]
mov dword [rsp + 0x20], ebx
mov r9d, r13d
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.14001cc70
mov rax, qword [rsp + 0xa0]
cmp byte [rax + 0x20], 0
je 0x14004f97a
test bl, 2
jne 0x14004f98d
and bl, 1
mov r8d, r13d
movzx edx, bl
call fcn.140019594
mov rsi, rax
test rax, rax
je 0x14004f9a0
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
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x208]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.Event_name:__s
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xb0]
call fcn.14001cc70
mov qword [rsp + 0x2b0], 0x48
lea rcx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.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_0.dll_GetCurrentProcessId]
mov dword [rsp + 0x2c0], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rsp + 0x2c4], eax
mov dword [rsp + 0x2c8], r13d
mov r8d, dword [rsp + 0x98]
mov dword [rsp + 0x2cc], r8d
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x2d0], eax
mov dword [rsp + 0x2d4], edi
movaps xmm0, xmmword [r12]
movups xmmword [rsp + 0x2d8], xmm0
mov qword [rsp + 0x2e8], r15
mov qword [rsp + 0x2f0], r15
cmp r13d, 0x3fe
jae 0x14001a779
mov r13, qword [rsp + 0xa0]
mov rcx, r13
call fcn.140019920
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], r15d
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_1_0.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], r15d
mov qword [rsp + 0x190], r15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x180], xmm1
mov qword [rsp + 0x90], r15
lea rcx, [rsp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004f9b3
lea rcx, [rsp + 0x130]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004f9b3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x190], rax
test rax, rax
je 0x14004f9c0
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x160], eax
mov ebx, dword [rsp + 0x168]
cmp ebx, 0xff
jne 0x14001a4e5
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x154]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004f9cd
cmp byte [rsp + 0x283], 0
je 0x14001a526
lea rbx, [rsp + 0x208]
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004fa51
add rbx, 8
sub r14, 1
jne 0x14001a510
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 ebx, eax
test eax, eax
jne 0x14004fa5f
mov rbx, r15
mov rcx, qword [rsp + rbx*8 + 0x170]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0x170], r15
inc rbx
cmp rbx, 4
jl 0x14001a55e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x164]
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 [rsp + 0x168]
cmp r8d, 0xff
jne 0x14001a60d
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x138]
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, [rsp + 0x130]
call fcn.14001d380
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop
mov rbx, r15
mov rcx, qword [rsp + rbx*8 + 0xf0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0xf0], r15
inc rbx
cmp rbx, 4
jl 0x14001a65c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0xe4]
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 [rsp + 0xe8]
cmp r8d, 0xff
jne 0x14001a70b
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0xb8]
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 + 0xb0]
call fcn.14001d380
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400321c0
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
sub r13d, 0x3fe
je 0x14001a796
sub r13d, 1
je 0x14001a814
cmp r13d, 5
jne 0x14001a35a
mov rdx, qword [rsp + 0xa0]
mov eax, dword [rdx + 0x348]
cmp eax, 0xa
jae 0x14001a659
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 0x14001a659
test bl, bl
je 0x14001a35a
jmp 0x14001a796
mov rax, qword [rsp + 0x110]
jmp 0x14001a059
mov dword [rsp + 0xe0], r15d
jmp 0x14001a06e
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001a097
lea rcx, [rsp + 0xb0]
call fcn.1400dde58
cmp dword [rsp + 0xb0], r15d
je 0x14001a097
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
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 0x14001a097
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14001a0be
lea rcx, [rsp + 0xb0]
call fcn.14001ce00
nop
jmp 0x14001a756
lea rcx, [rsp + 0xb0]
call fcn.14001ce00
nop
jmp 0x14001a756
lea rcx, [rsp + 0xb0]
call fcn.14001ce00
nop
jmp 0x14001a756
mov rax, qword [rsp + 0x190]
jmp 0x14001a4bc
mov dword [rsp + 0x160], r15d
jmp 0x14001a4d1
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001a4fa
lea rcx, [rsp + 0x130]
call fcn.1400dde58
cmp dword [rsp + 0x130], 0
je 0x14001a4fa
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebx
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 0x14001a4fa
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14001a51c
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 ebx, ebx
jle 0x14004fad5
movzx ebx, bx
or ebx, 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, ebx
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x130]
call fcn.1400dcb7c
nop
xor r15d, r15d
jmp 0x14001a659