Function at 0x140004ed0
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry key

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0x3d0
mov qword [r11 - 0x250], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x1401623e0]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
lea r14, str.base_stor_vssmodulescoord_srcprovmgr.cxx
mov qword [rsp + 0x60], r14
lea r12, str.CVssProviderManager::LoadInternalProvidersArray
mov qword [rsp + 0x68], r12
lea r15, str.CORPRVMC
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3e0
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
xor esi, esi
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [r11 - 0x360]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x128], esi
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x140], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x144], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0x154], eax
mov dword [rsp + 0x124], 0xffffffff
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x158], eax
mov dword [rsp + 0x120], esi
mov qword [rsp + 0x180], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x170], xmm1
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x1400227d0
lea rcx, [rsp + 0x120]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x1400227d0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x180], rax
test rax, rax
je 0x1400227dd
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x150], eax
mov ebx, dword [rsp + 0x158]
cmp ebx, 0xff
jne 0x140005072
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x144]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x1400227e9
cmp byte [rsp + 0x103], sil
je 0x1400050ba
lea rbx, [rsp + 0x88]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140022878
add rbx, 8
sub rdi, 1
jne 0x1400050a4
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x108], rsi
cmp qword [0x140162cd8], 0
jne 0x1400052dc
mov ecx, 0x20
call fcn.140016cf8
test rax, rax
je 0x14002288c
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], esi
lea rcx, section..rdata
mov qword [rax], rcx
mov qword [0x140162cd8], rax
test rax, rax
je 0x140022894
lea rdi, [0x1400fd9a8]
mov qword [rsp + 0x20], rdi
lea r13, [0x1400fd9c0]
mov r9, r13
lea r8, [0x1400fe018]
mov edx, 0x100
lea rcx, [rsp + 0x1c0]
call fcn.140005490
mov ebx, eax
mov dword [rsp + 0x128], eax
test eax, eax
js 0x1400228fb
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x1c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002295f
xor r13b, r13b
mov r15d, esi
test r13b, r13b
jne 0x1400052d5
mov dword [rsp + 0x58], 0x100
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x1c0]
mov edx, r15d
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000545b
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x108]
call fcn.140001a90
mov dword [rsp + 0x128], eax
test eax, eax
js 0x140022a75
xor al, al
test al, al
jne 0x140022a7c
mov rbx, qword [0x140162cd8]
movsxd rdi, dword [rbx + 0x10]
lea r12d, [rdi + 1]
mov ecx, dword [rbx + 0x14]
test r12d, r12d
jle 0x140022b03
cmp edi, ecx
jne 0x140005297
cmp edi, 0x3fffffff
jg 0x140022b0a
movabs rdx, 0xfffffffffffffff
cmp rdi, rdx
ja 0x140022b11
test ecx, ecx
jne 0x140022b18
mov r14d, 1
movsxd rdx, r14d
shl rdx, 3
mov rcx, qword [rbx + 8]
call qword [sym.imp.msvcrt.dll_realloc]
nop dword [rax + rax]
test rax, rax
je 0x140022b21
mov dword [rbx + 0x14], r14d
mov qword [rbx + 8], rax
lea r14, str.base_stor_vssmodulescoord_srcprovmgr.cxx
mov dword [rbx + 0x10], r12d
mov rax, qword [rbx + 8]
lea rdx, [rax + rdi*8]
test rdx, rdx
je 0x1400052b0
mov rax, qword [rsp + 0x50]
mov qword [rdx], rax
mov eax, 1
test eax, eax
je 0x140022b2f
mov qword [rsp + 0x50], rsi
lea r12, str.CVssProviderManager::LoadInternalProvidersArray
lea rdi, [0x1400fd9a8]
jmp 0x14000546a
lea r15, str.CORPRVMC
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x1400052fd
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test eax, eax
jne 0x140022bc1
cmp dword [rsp + 0x128], 0
jl 0x140022c37
mov rbx, qword [rsp + 0x50]
test rbx, rbx
jne 0x140022cab
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0x160]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0x160], rsi
inc rbx
cmp rbx, 4
jl 0x14000531c
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 + 0x154]
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 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 + 0x158]
cmp r8d, 0xff
jne 0x1400053d7
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x128]
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 + 0x120]
call fcn.14000c210
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1400171f0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
cmp ebx, 0x103
jne 0x1400229da
mov r13b, 1
inc r15d
jmp 0x14000518e
mov rax, qword [rsp + 0x180]
jmp 0x140005049
mov dword [rsp + 0x150], esi
jmp 0x14000505e
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x14000508d
lea rcx, [rsp + 0x120]
call fcn.1400c8ac0
cmp dword [rsp + 0x120], esi
je 0x14000508d
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x150]
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x14000508d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x1400050b0
mov rax, rsi
jmp 0x1400050fd
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3f3
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.Memory_allocation_error.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c6b6c
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3f9
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c7578
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x402
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
test ebx, ebx
jle 0x1400229b4
movzx ebx, bx
or ebx, 0x80070000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
lea r9, str.RegOpenKeyExW_HKLM__s_s_0_KEY_ALL_ACCESS_ptr_
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c7578
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
lea rax, str.CORPRVMC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x43f
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
test ebx, ebx
jle 0x140022a36
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x38], r15d
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [0x1400fd9c0]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumKeyExW_HKLM_s_s__s__d_..._
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c7578
mov al, 1
jmp 0x140005214
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
lea rax, str.CORPRVMC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x423
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x1c0]
lea r8, str.Error_on_getting_Provider_properties_for__s.__0x_08lx_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.140007de0
mov dword [rsp + 0x128], esi
jmp 0x14000546a
mov eax, esi
jmp 0x1400052b5
mov eax, esi
jmp 0x1400052b5
mov eax, esi
jmp 0x1400052b5
lea r14d, [rdi + rdi]
jmp 0x140005268
mov eax, esi
lea r14, str.base_stor_vssmodulescoord_srcprovmgr.cxx
jmp 0x1400052b5
mov qword [rsp + 0x60], r14
lea rax, str.CVssProviderManager::LoadInternalProvidersArray
mov qword [rsp + 0x68], rax
lea rax, str.CORPRVMC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x430
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.Cannot_add_element_to_the_array
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c6b6c
nop
xor esi, esi
lea r15, str.CORPRVMC
lea r12, str.CVssProviderManager::LoadInternalProvidersArray
lea r14, str.base_stor_vssmodulescoord_srcprovmgr.cxx
jmp 0x1400052dc
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x44c
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
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.Error_closing_the_hKeyProviders_key.__0x_08lx_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.140007de0
nop
jmp 0x1400052fd
call fcn.140049fb0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x453
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x128]
mov dword [rsp + 0x20], r8d
lea r9, str.Cannot_load_the_internal_providers_array__0x_08lx_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400c6b6c
nop
mov rcx, rbx
call fcn.1400cad6c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
jmp 0x140005319