Function at 0x140015208
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push r15
sub rsp, 0x3c0
mov qword [r11 - 0x238], 0xfffffffffffffffe
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov qword [r11 + 0x18], r13
mov qword [r11 + 0x20], r14
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
lea rsi, str.base_stor_vssmodulescoord_srcprovmgr.cxx
mov qword [rsp + 0x60], rsi
lea r14, str.CVssProviderManager::LoadInternalProvidersArray
mov qword [rsp + 0x68], r14
lea r15, str.CORPRVMC
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3e5
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
xor edi, edi
mov dword [rsp + 0x100], 0x1000000
lea r13d, [rdi + 0x78]
mov r8d, r13d
xor edx, edx
lea rcx, [r11 - 0x340]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.140010990
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
cmp qword [0x14015afa0], rdi
je 0x140015336
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x1400154a9
mov eax, edi
test eax, eax
jne 0x140054206
cmp dword [rsp + 0x128], edi
jl 0x140054275
cmp qword [rsp + 0x50], rdi
jne 0x1400542e8
lea rcx, [rsp + 0x120]
call fcn.140010ab0
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1400305f0
lea r11, [rsp + 0x3c0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r13, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
mov ecx, 0x20
call fcn.14003005c
test rax, rax
je 0x140053f00
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
lea rcx, [0x1400f4a40]
mov qword [rax], rcx
mov qword [0x14015afa0], rax
test rax, rax
je 0x140053f08
lea rax, [0x1400eef70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400eebc0]
lea r8, [0x1400f2128]
mov edx, 0x100
lea rcx, [rsp + 0x1b0]
call fcn.140008be0
mov dword [rsp + 0x128], eax
test eax, eax
js 0x140053f6e
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x1b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140053fd6
mov cl, dil
mov byte [rsp + 0x40], cl
mov eax, edi
mov dword [rsp + 0x44], eax
test cl, cl
jne 0x1400152cb
mov dword [rsp + 0x110], 0x100
lea rcx, [rsp + 0x198]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x1b0]
mov edx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
mov dword [rsp + 0x48], eax
test eax, eax
je 0x140015457
cmp eax, 0x103
jne 0x140054061
mov cl, 1
mov byte [rsp + 0x40], cl
mov eax, dword [rsp + 0x44]
inc eax
jmp 0x1400153e6
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x58]
call fcn.14000194c
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x128], eax
test eax, eax
js 0x140054101
mov rcx, qword [0x14015afa0]
add rcx, 8
lea rdx, [rsp + 0x50]
call fcn.140001df4
test eax, eax
je 0x14005417d
mov qword [rsp + 0x50], rdi
mov cl, byte [rsp + 0x40]
jmp 0x14001544f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x1400152db
mov rax, rdi
jmp 0x14001535e
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3f8
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
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.1400ce7c0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x3fe
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.StringCchPrintfW__
mov r8d, dword [rsp + 0x128]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400cf12c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x407
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x44]
test eax, eax
jle 0x14005402d
movzx eax, ax
or eax, 0x80070000
lea rcx, [0x1400eef70]
mov qword [rsp + 0x28], rcx
lea rcx, [0x1400eebc0]
mov qword [rsp + 0x20], rcx
lea r9, str.RegOpenKeyExW_HKLM__s_s_0_KEY_ALL_ACCESS_ptr_
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400cf12c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x444
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x48]
test eax, eax
jle 0x1400540b8
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x1b0]
mov qword [rsp + 0x30], rcx
lea rcx, [0x1400eef70]
mov qword [rsp + 0x28], rcx
lea rcx, [0x1400eebc0]
mov qword [rsp + 0x20], rcx
lea r9, str.RegEnumKeyExW_HKLM_s_s__s__d_..._
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.1400cf12c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x428
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x1b0]
lea r8, str.Error_on_getting_Provider_properties_for__s.__0x_08lx_
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x120]
call fcn.140010920
mov dword [rsp + 0x128], edi
jmp 0x1400154a3
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x435
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
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.1400ce7c0
nop
mov r13d, 0x78
xor edi, edi
lea r15, str.CORPRVMC
lea r14, str.CVssProviderManager::LoadInternalProvidersArray
lea rsi, str.base_stor_vssmodulescoord_srcprovmgr.cxx
jmp 0x1400152cb
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x451
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
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 + 0x60]
lea rcx, [rsp + 0x120]
call fcn.140010920
nop
jmp 0x1400152e3
call fcn.14001d2c0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x458
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
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.1400ce7c0
nop
mov rcx, qword [rsp + 0x50]
call fcn.140002274
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
nop
jmp 0x1400152fb