Function at 0x140029fd0
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 [section..data]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov dword [rsp + 0x98], r9d
mov dword [rsp + 0x9c], r8d
mov r13d, edx
mov qword [rsp + 0xa8], 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], 0x52f
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_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], 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 + 0xa0], r15
lea rcx, [rsp + 0xa0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004ed98
lea rcx, [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004ed98
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x110], rax
test rax, rax
je 0x14004eda5
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xe0], eax
mov ebx, dword [rsp + 0xe8]
cmp ebx, 0xff
jne 0x14002a1a2
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0xd4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004edb2
mov r14d, 0xf
cmp byte [rsp + 0x1d3], r15b
je 0x14002a1e8
lea rbx, [rsp + 0x158]
mov edi, r14d
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004ee36
add rbx, 8
sub rdi, 1
jne 0x14002a1d2
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], 0x533
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 + 0x98]
mov dword [rsp + 0x28], eax
mov ebx, dword [rsp + 0x9c]
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.140010920
mov rax, qword [rsp + 0xa8]
cmp byte [rax + 0x20], 0
je 0x14004ee44
test bl, 2
jne 0x14004ee57
and ebx, 1
setne dl
mov r8d, r13d
call fcn.14002a95c
mov rsi, rax
test rax, rax
je 0x14004ee6a
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], 0x546
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.140010920
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], r13d
mov r8d, dword [rsp + 0x9c]
mov dword [rsp + 0x2cc], r8d
mov eax, dword [rsp + 0x98]
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 0x14002a899
mov r13, qword [rsp + 0xa8]
mov rcx, r13
call fcn.140014080
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], 0x16c
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_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], 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 0x14004ee7d
lea rcx, [rsp + 0x130]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004ee7d
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x190], rax
test rax, rax
je 0x14004ee8a
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x160], eax
mov ebx, dword [rsp + 0x168]
cmp ebx, 0xff
jne 0x14002a605
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x154]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004ee97
cmp byte [rsp + 0x283], 0
je 0x14002a646
lea rbx, [rsp + 0x208]
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004ef1b
add rbx, 8
sub r14, 1
jne 0x14002a630
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 0x14004ef29
mov rbx, r15
mov rcx, qword [rsp + rbx*8 + 0x170]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0x170], r15
inc rbx
cmp rbx, 4
jl 0x14002a67e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.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 0x14002a72d
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.14000f840
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_1.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0xf0], r15
inc rbx
cmp rbx, 4
jl 0x14002a77c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.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 0x14002a82b
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.14000f840
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400305f0
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
sub r13d, 0x3fe
je 0x14002a8b6
sub r13d, 1
je 0x14002a934
cmp r13d, 5
jne 0x14002a47a
mov rdx, qword [rsp + 0xa8]
mov eax, dword [rdx + 0x348]
cmp eax, 0xa
jae 0x14002a779
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 0x14002a779
test ebx, ebx
je 0x14002a47a
jmp 0x14002a8b6
mov rax, qword [rsp + 0x110]
jmp 0x14002a179
mov dword [rsp + 0xe0], r15d
jmp 0x14002a18e
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14002a1b7
lea rcx, [rsp + 0xb0]
call fcn.1400d0428
cmp dword [rsp + 0xb0], r15d
je 0x14002a1b7
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 0x14002a1b7
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14002a1de
lea rcx, [rsp + 0xb0]
call fcn.140010ab0
nop
jmp 0x14002a876
lea rcx, [rsp + 0xb0]
call fcn.140010ab0
nop
jmp 0x14002a876
lea rcx, [rsp + 0xb0]
call fcn.140010ab0
nop
jmp 0x14002a876
mov rax, qword [rsp + 0x190]
jmp 0x14002a5dc
mov dword [rsp + 0x160], r15d
jmp 0x14002a5f1
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14002a61a
lea rcx, [rsp + 0x130]
call fcn.1400d0428
cmp dword [rsp + 0x130], 0
je 0x14002a61a
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 0x14002a61a
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14002a63c
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], 0x17f
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 0x14004ef9f
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.1400cf12c
nop
xor r15d, r15d
jmp 0x14002a779