Function at 0x140004bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
mov r14, qword [0x140156d58]
lea r15, str.base_stor_vssmoduleswriters_regwriter.cxx
mov qword [rax - 0x108], r15
lea r12, str.CRegistryWriter::Initialize
mov qword [rax - 0x100], r12
lea r13, str.WRTREGRC
mov qword [rax - 0xf8], r13
mov dword [rax - 0xf0], 0x63
mov dword [rax - 0xec], 4
mov dword [rax - 0xe8], 0xff
xor esi, esi
mov dword [rax - 0x68], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rax - 0xe0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], esi
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x94], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x70], esi
mov qword [rsp + 0xd0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xc0], xmm1
mov qword [rsp + 0x1f0], rsi
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001e53e
lea rcx, [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001e53e
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x14001e54b
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xa0], eax
mov ebx, dword [rsp + 0xa8]
cmp ebx, 0xff
jne 0x140004d90
mov ebx, 0xa0
mov edi, dword [rsp + 0x94]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001e557
cmp byte [rsp + 0x183], sil
je 0x140004dd8
lea rbx, [rsp + 0x108]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001e5e0
add rbx, 8
sub rdi, 1
jne 0x140004dc2
mov qword [r14 + 0x20], rsi
movups xmm6, xmmword [0x140101ee8]
cmp qword [r14 + 8], 0
jne 0x14001e5f4
lea rdx, [r14 + 8]
mov rcx, r14
call qword [sym.imp.VSSAPI.DLL_CreateWriter]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14001e674
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
movdqa xmmword [rsp + 0x1a0], xmm6
movabs r10, 0x934106b63cddf270
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 0xea60
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.Registry_Writer
lea rdx, [rsp + 0x1a0]
mov rax, qword [rax + 0x18]
call qword [0x1400fb6b0]
mov ebx, eax
test eax, eax
js 0x14001e67a
mov dword [rsp + 0x78], ebx
test ebx, ebx
js 0x14001e5fd
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x14001e69e
mov rax, qword [rcx]
movabs r10, 0xe3b907df3adbb170
mov edx, 0xffffffff
mov r8d, 6
mov rax, qword [rax + 0x20]
call qword [0x1400fb6b0]
mov ebx, eax
mov dword [rsp + 0x78], eax
test eax, eax
js 0x14001e6a7
mov edi, dword [rsp + 0x78]
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0xb0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0xb0], rsi
inc rbx
cmp rbx, 4
jl 0x140004ed0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r9d, eax
sub r9d, dword [rsp + 0xa4]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov esi, r9d
sub esi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
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 ebx, edx
shr ebx, 0x15
mov eax, 0x88888889
mul ebx
shr edx, 5
imul eax, edx, 0x3c
sub ebx, eax
mov r8d, dword [rsp + 0xa8]
cmp r8d, 0xff
jne 0x140004f8b
mov r8d, 0xa0
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rsp + 0x70]
call fcn.14000a3f0
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0xd0]
jmp 0x140004d67
mov dword [rsp + 0xa0], esi
jmp 0x140004d7c
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140004dab
lea rcx, [rsp + 0x70]
call fcn.1400c73b0
cmp dword [rsp + 0x70], esi
je 0x140004dab
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xa0]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x140004dab
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x140004dce
mov ebx, 0x80004005
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0xf8], 0x77
mov dword [rsp + 0xfc], 4
mov dword [rsp + 0x100], 0xff
mov dword [rsp + 0x180], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
lea r9, str.Failed_to_initialize_the_Registry_writer.__hr__0x_08lx
mov r8d, ebx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x70]
call fcn.1400c5eb0
mov dword [rsp + 0x78], eax
jmp 0x14001e5fd
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400fb6b0]
mov qword [r14 + 8], rsi
jmp 0x140004e80
mov ebx, 0x80004005
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0xf8], 0x83
mov dword [rsp + 0xfc], 4
mov dword [rsp + 0x100], 0xff
mov dword [rsp + 0x180], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
lea r9, str.Subscribing_the_Registry_server_writer_failed._hr___0x08lx
mov r8d, ebx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x70]
call fcn.1400c5eb0
nop
xor esi, esi
jmp 0x140004ec9