Function at 0x140006180
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov qword [rax - 0xe8], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
lea r14, str.base_stor_vssmoduleswriters_regwriter.cxx
mov qword [rax - 0x198], r14
lea r15, str.CRegistryWriter::CreateWriter
mov qword [rax - 0x190], r15
lea r12, str.WRTREGRC
mov qword [rax - 0x188], r12
mov dword [rax - 0x180], 0x1e4
mov dword [rax - 0x17c], 4
mov dword [rax - 0x178], 0xff
xor esi, esi
mov dword [rax - 0xf8], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rax - 0x170]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], esi
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
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_1_0.dll_GetTickCount]
nop dword [rax + rax]
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 + 0x268], rsi
lea rcx, [rsp + 0x268]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x140021e96
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140021e96
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140021ea3
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x80], eax
mov ebx, dword [rsp + 0x88]
cmp ebx, 0xff
jne 0x14000630b
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140021eaf
cmp byte [rsp + 0x163], sil
je 0x140006356
lea rbx, [rsp + 0xe8]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140021f29
add rbx, 8
sub rdi, 1
jne 0x140006340
cmp qword [0x140161ce0], 0
jne 0x140021f3d
lea rdx, [0x1400fe4f8]
mov ecx, 0x28
call fcn.1400175d8
mov qword [rsp + 0x270], rax
test rax, rax
je 0x140021f4e
mov qword [rax + 8], rsi
lea rcx, [0x1400f9138]
mov qword [rax], rcx
mov qword [rax + 0x18], rsi
lea rcx, [0x1400f91c8]
mov qword [rax + 0x10], rcx
mov qword [0x140161ce0], rax
test rax, rax
je 0x140021f56
lea rax, [rsp + 0x260]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140005a00]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140021fcc
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [0x140161ce8]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x140022068
mov edi, dword [rsp + 0x58]
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0x90], rsi
inc rbx
cmp rbx, 4
jl 0x14000642c
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 + 0x84]
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 + 0x88]
cmp r8d, 0xff
jne 0x1400064e7
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x58]
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 + 0x50]
call fcn.14000c1c0
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov eax, edi
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0xb0]
jmp 0x1400062e2
mov dword [rsp + 0x80], esi
jmp 0x1400062f7
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140006323
lea rcx, [rsp + 0x50]
call fcn.1400c7430
cmp dword [rsp + 0x50], esi
je 0x140006323
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
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 dword [rax + rax]
nop
jmp 0x140006323
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x14000634c
lea rcx, [rsp + 0x50]
call fcn.140006990
xor eax, eax
jmp 0x140006534
mov rax, rsi
jmp 0x1400063a3
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0xd8], 0x1f0
mov dword [rsp + 0xdc], 4
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
lea r9, str.Allocation_of_CRegistryWriter_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.1400c54dc
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0xd8], 0x201
mov dword [rsp + 0xdc], 4
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str.CreateThread_failed_with_error__d
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.1400c6fc8
nop
xor esi, esi
lea r12, str.WRTREGRC
lea r15, str.CRegistryWriter::CreateWriter
lea r14, str.base_stor_vssmoduleswriters_regwriter.cxx
jmp 0x14000641a
mov rcx, qword [0x140161ce0]
test rcx, rcx
je 0x14002208c
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x1400faf30]
mov qword [0x140161ce0], rsi
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0xd8], 0x214
mov dword [rsp + 0xdc], 4
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0xc0]
call fcn.1400c2278
mov r9d, 1
mov r8, rax
mov edx, 0x3036
lea rcx, [rsp + 0x50]
call fcn.1400c3df0
lea rcx, [rsp + 0xc0]
call fcn.1400c21a8
nop
jmp 0x140006425