Function at 0x140012630
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x3b0
mov qword [rax - 0x248], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
lea rsi, str.base_stor_vssmodulescoord_srcprovmgr.cxx
mov qword [rsp + 0x50], rsi
lea r14, str.CVssProviderManager::LoadInternalProvidersArray
mov qword [rsp + 0x58], r14
lea r15, str.CORPRVMC
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x3e0
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
xor ebx, ebx
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.140003840
nop
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0xf8], rbx
cmp qword [0x140154f80], rbx
je 0x14001275e
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
jne 0x1400128ce
cmp dword [rsp + 0x118], 0
jl 0x1400347cc
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x14003483a
lea rcx, [rsp + 0x110]
call fcn.140003960
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14001ff30
lea r11, [rsp + 0x3b0]
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
mov ecx, 0x20
call fcn.14001fa0c
test rax, rax
je 0x140034498
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], ebx
lea rcx, [0x1400e56d0]
mov qword [rax], rcx
mov qword [0x140154f80], rax
test rax, rax
je 0x1400344a0
lea r12, [0x1400ed2d8]
mov qword [rsp + 0x20], r12
lea r13, [0x1400ec7f0]
mov r9, r13
lea r8, [0x1400e9278]
mov edx, 0x100
lea rcx, [rsp + 0x1a0]
call fcn.140006550
mov edi, eax
mov dword [rsp + 0x118], eax
test eax, eax
js 0x140034501
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x1a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14003455f
xor r13b, r13b
mov r12d, ebx
test r13b, r13b
jne 0x1400126f2
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x188]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x1a0]
mov edx, r12d
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov edi, eax
test eax, eax
je 0x140012875
cmp eax, 0x103
jne 0x1400345d4
mov r13b, 1
inc r12d
jmp 0x140012811
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xf8]
call fcn.14001d1ec
mov edi, eax
mov dword [rsp + 0x118], eax
test eax, eax
js 0x140034669
mov ecx, ebx
test cl, cl
jne 0x140034673
mov rcx, qword [0x140154f80]
add rcx, 8
lea rdx, [rsp + 0x48]
call fcn.14001f258
test eax, eax
je 0x1400346e6
mov qword [rsp + 0x48], rbx
jmp 0x140012870
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test eax, eax
je 0x140012703
jmp 0x140034762
mov rax, rbx
jmp 0x140012786
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x3f3
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Memory_allocation_error.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8238
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x3f9
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8b90
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x402
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
test edi, edi
jle 0x1400345ae
movzx edi, di
or edi, 0x80070000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
lea r9, str.RegOpenKeyExW_HKLM__s_s_0_KEY_ALL_ACCESS_ptr_
mov r8d, edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8b90
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x43f
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
test edi, edi
jle 0x140034623
movzx edi, di
or edi, 0x80070000
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x30], rax
lea rax, [0x1400ed2d8]
mov qword [rsp + 0x28], rax
lea rax, [0x1400ec7f0]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumKeyExW_HKLM_s_s__s__d_..._
mov r8d, edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8b90
mov ecx, 1
jmp 0x1400128a2
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x423
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x1a0]
lea r8, str.Error_on_getting_Provider_properties_for__s.__0x_08lx_
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400037d0
mov dword [rsp + 0x118], ebx
jmp 0x140012870
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x430
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Cannot_add_element_to_the_array
mov r8d, 0x8007000e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8238
nop
lea r15, str.CORPRVMC
lea r14, str.CVssProviderManager::LoadInternalProvidersArray
lea rsi, str.base_stor_vssmodulescoord_srcprovmgr.cxx
jmp 0x1400126f2
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x44c
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, str.Error_closing_the_hKeyProviders_key.__0x_08lx_
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400037d0
nop
jmp 0x140012703
call fcn.140001930
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], 0x453
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0x118]
mov dword [rsp + 0x20], r8d
lea r9, str.Cannot_load_the_internal_providers_array__0x_08lx_
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400b8238
nop
mov rcx, rbx
call fcn.140001600
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
nop
jmp 0x14001271f