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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea r14, str.base_stor_vssmoduleswriterscomregdbwriter.cxx
mov qword [rbp - 0x40], r14
lea r15, str.CComRegDBWriterWrapper::CreateWriter
mov qword [rbp - 0x38], r15
lea r12, str.WRTCDBRC
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], 0x73
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], 0xff
xor esi, esi
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], esi
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x24]
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 [rbp - 0x7c], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], esi
mov qword [rbp - 0x50], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp + 0x150], rsi
lea rcx, [rbp + 0x150]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001d984
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001d984
mov rax, qword [rbp + 0x150]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14001d98d
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x78], 0xff
cmovne ebx, dword [rbp - 0x78]
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001d995
cmp byte [rbp + 0x63], sil
je 0x140006696
lea rbx, [rbp - 0x18]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001da0b
add rbx, 8
sub rdi, 1
jne 0x140006680
cmp qword [0x14015dec8], 0
jne 0x14001db3e
lea rdx, [0x1400fb65a]
mov ecx, 0x20
call fcn.140016988
mov qword [rbp + 0x158], rax
test rax, rax
je 0x14001da1f
lea rcx, [0x1400f6240]
mov qword [rax], rcx
lea rcx, [0x1400f6238]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov byte [rax + 0x18], 0
mov qword [0x14015dec8], rax
test rax, rax
je 0x14001da27
mov edi, dword [rsp + 0x58]
test edi, edi
js 0x14001dad6
call fcn.140006f40
mov edi, eax
mov dword [rsp + 0x58], eax
test eax, eax
js 0x14001da81
test edi, edi
js 0x14001dad6
mov rbx, rsi
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 - 0x70], rsi
inc rbx
cmp rbx, 4
jl 0x14000671c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
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 [rbp - 0x78]
cmp r8d, 0xff
jne 0x1400067c9
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.14000a350
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword [rbp - 0x50]
jmp 0x14000662f
mov dword [rbp - 0x80], esi
jmp 0x140006640
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140006668
lea rcx, [rsp + 0x50]
call fcn.1400c3fe4
cmp dword [rsp + 0x50], esi
je 0x140006668
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 [rbp - 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 0x140006668
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x14000668c
mov rax, rsi
jmp 0x1400066e2
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], 0x7e
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
lea r8, str.Allocation_of_CComRegDBWriterWrapper_object_failed.
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140009fb0
mov edi, 0x8007000e
mov dword [rsp + 0x58], edi
jmp 0x140006711
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], 0x85
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
lea r8, str.Initialization_of_CComRegDBWriterWrapper_object_failed.
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140009fb0
mov edi, dword [rsp + 0x58]
jmp 0x140006711
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], 0x89
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
mov r8d, edi
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400bee2c
mov r9d, 1
mov r8, rax
mov edx, 0x303a
lea rcx, [rsp + 0x50]
call fcn.1400c09a4
lea rcx, [rbp - 0x40]
call fcn.1400bed5c
mov edi, dword [rsp + 0x58]
jmp 0x140006719