Function at 0x180012b60
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x620
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180050b58]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov r13, rcx
mov qword [rsp + 0xa8], rcx
add rcx, 0x50
call fcn.18000dc50
mov rcx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x10]
cmp r8, rcx
je 0x180012bdf
movzx r9d, byte [rsp + 0x44]
mov rdx, rcx
call fcn.180005dc0
mov rdi, rax
mov r8, qword [r13 + 0x18]
mov rdx, rax
lea rcx, [r13 + 0x10]
call fcn.18000a100
mov qword [r13 + 0x18], rdi
mov eax, 0x80000000
lock xadd dword [r13 + 0x50], eax
bt eax, 0x1e
jb 0x180012c13
cmp eax, 0x80000000
jle 0x180012c13
lock bts dword [r13 + 0x50], 0x1e
jb 0x180012c13
lea rcx, [r13 + 0x50]
call fcn.18000d160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
lea rax, vtable.Cxx::Core::Utils::CComHolder.0
mov qword [rsp + 0x78], rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x80], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x20], r13
lea r9, [0x18003a5a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x18003a5b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
xor esi, esi
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xb0], rsi
mov dword [rsp + 0xb8], esi
mov qword [rsp + 0xc0], rsi
mov r9d, 0x2001f
lea r8, [0x180038c44]
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0xb0]
call fcn.180001320
or r14, 0xffffffffffffffff
test eax, eax
jne 0x180013227
mov r15d, esi
lea rbx, str..__._:__1__
nop word [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x40], 0x104
mov edx, 0x104
lea rcx, [rsp + 0x88]
call fcn.180008a70
mov edx, r15d
inc r15d
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r12, qword [rsp + 0x88]
mov r8, r12
mov rdi, qword [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180012dc3
mov dword [rsp + 0x40], 0xffff
mov edx, 0xffff
lea rcx, [rsp + 0x88]
call fcn.180008a70
mov edx, r15d
inc r15d
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r12, qword [rsp + 0x88]
mov r8, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180012dc3
test r12, r12
je 0x180013227
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x180013227
call fcn.18002d380
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], rsi
mov word [rsp + 0x170], si
xor eax, eax
mov rcx, r14
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x170]
call fcn.180007510
nop
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
call qword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_void_]
mov qword [rsp + 0x70], rax
call qword [sym.imp.MSVCP100.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Getgloballocale_void_]
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::locale::facet::_Incref_void____ptr64]
nop
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rbx
lea rax, [0x18003950a]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rsi
mov dword [rsp + 0x120], esi
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x128]
call fcn.180001a00
lea rax, [rsp + 0x60]
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x158], 1
mov dword [rsp + 0x164], 0x8775dfb
lea rcx, [rsp + 0x100]
call fcn.180003d60
lea rcx, [rsp + 0x100]
call fcn.180012ad0
mov rbx, rax
test rax, rax
je 0x180012ebf
inc dword [rax + 0x28]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180012ef1
dec dword [rax + 0x28]
jne 0x180012ef1
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x180012ef1
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x180012ed3
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x170]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x188]
cmp rcx, 8
cmovae rdx, rdi
mov rax, qword [rsp + 0x180]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x170]
cmovae rdx, rdi
test rbx, rbx
je 0x180013179
mov dword [rsp + 0x30], 0x10
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea rcx, [rsp + 0x1a0]
call fcn.1800062c0
nop
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x5c0], rax
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x1a8], esi
mov byte [rsp + 0x608], 1
mov word [rsp + 0x5e8], 0
xor r8d, r8d
mov rdx, qword [rsp + 0x5d8]
lea rcx, [rsp + 0x1a0]
call fcn.18000f7f0
test al, al
setne dil
mov rcx, qword [rsp + 0x600]
test rcx, rcx
je 0x180012fd2
call qword [sym.imp.MSVCP100.dll_public:_class_std::locale::facet____ptr64___cdecl_std::locale::facet::_Decref_void____ptr64]
mov rcx, rax
test rax, rax
je 0x180012fd2
mov rax, qword [rax]
mov edx, 1
call qword [rax]
test dil, dil
je 0x180013179
lea rdx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rdx, qword [rsp + 0x170]
mov ecx, 4
mov rax, qword [rsp + 0x180]
cmp rax, rcx
cmovb rcx, rax
lea rdi, str..exe
test rcx, rcx
je 0x18001302a
movzx eax, word [rdi]
cmp word [rdx], ax
jne 0x18001302a
add rdx, 2
add rdi, 2
dec rcx
jmp 0x180013010
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea r9, [rsp + 0x48]
mov r8, qword [r13]
lea rdx, [rsp + 0x170]
mov rcx, r13
call sym.FileExtensionManager_vc100_mt.dll_private:_bool___cdecl_FileExtensionManagerLib::CFileExtensionManager::getExtensionData_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__struct_IQueryAssociations____ptr64__class_boost::shared_ptr_class_FileExtensionManagerLib::CExtension_____ptr64____ptr64
test al, al
je 0x180013142
lea rcx, [r13 + 0x50]
call fcn.18000dc50
mov rax, qword [r13 + 0x18]
lea rcx, [rsp + 0x48]
cmp rcx, rax
jae 0x1800130b3
mov rcx, qword [r13 + 0x10]
lea rdx, [rsp + 0x48]
cmp rcx, rdx
ja 0x1800130b3
lea rbx, [rsp + 0x48]
sub rbx, rcx
cmp rax, qword [r13 + 0x20]
jne 0x180013096
mov edx, 1
lea rcx, [r13 + 0x10]
call fcn.18000cce0
and rbx, 0xfffffffffffffff0
add rbx, qword [r13 + 0x10]
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1800130ea
mov rax, qword [rbx]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
jmp 0x1800130dd
cmp rax, qword [r13 + 0x20]
jne 0x1800130c7
mov edx, 1
lea rcx, [r13 + 0x10]
call fcn.18000cce0
mov rcx, qword [r13 + 0x18]
test rcx, rcx
je 0x1800130ea
mov rax, qword [rsp + 0x48]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
test rax, rax
mov qword [rcx + 8], rax
je 0x1800130ea
lock inc dword [rax + 8]
add qword [r13 + 0x18], 0x10
mov rbx, qword [r13 + 0x18]
sub rbx, qword [r13 + 0x10]
sar rbx, 4
mov eax, 0x80000000
lock xadd dword [r13 + 0x50], eax
bt eax, 0x1e
jb 0x18001312e
cmp eax, 0x80000000
jle 0x18001312e
lock bts dword [r13 + 0x50], 0x1e
jb 0x18001312e
lea rcx, [r13 + 0x50]
call fcn.18000d160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [r13 + 8]
mov rax, qword [rcx]
lea edx, [rbx - 1]
call qword [rax]
mov r12, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180013179
lock dec dword [rcx + 8]
jne 0x180013171
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lock dec dword [rdi + 0xc]
jne 0x180013171
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12, qword [rsp + 0x88]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1800131ae
dec dword [rax + 0x28]
jne 0x1800131ae
mov rdi, qword [rsp + 0x58]
nop dword [rax]
test rdi, rdi
je 0x1800131ae
mov rcx, rdi
lea rax, [rdi + 0x10]
mov rdi, qword [rax]
mov qword [rax], rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x180013190
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800131d6
call qword [sym.imp.MSVCP100.dll_public:_class_std::locale::facet____ptr64___cdecl_std::locale::facet::_Decref_void____ptr64]
mov rcx, rax
test rax, rax
je 0x1800131d6
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
cmp qword [rsp + 0x188], 8
jb 0x1800131ee
mov rcx, qword [rsp + 0x170]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], rsi
mov word [rsp + 0x170], si
test r12, r12
lea rbx, str..__._:__1__
je 0x180012cd0
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x180012cc0
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x18001323e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdi, qword [rsp + 0xc8]
test rdi, rdi
je 0x18001328a
mov rbx, qword [rsp + 0xd0]
cmp rdi, rbx
je 0x18001327c
cmp qword [rdi + 0x18], 8
jb 0x180013267
mov rcx, qword [rdi]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rsi
mov word [rdi], si
add rdi, 0x28
jmp 0x180013253
mov rcx, qword [rsp + 0xc8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x80], 0
jl 0x1800132aa
cmp eax, dword [rsp + 0x84]
jne 0x1800132aa
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
jmp 0x1800132ba
mov qword [r13 + 0x60], rsi
mov rdi, qword [r13 + 0x68]
mov qword [r13 + 0x68], rsi
test rdi, rdi
je 0x1800132f4
mov eax, r14d
lock xadd dword [rdi + 8], eax
dec eax
jne 0x1800132f4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lock xadd dword [rdi + 0xc], r14d
dec r14d
jne 0x1800132f4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
cmp qword [r13 + 8], 0
je 0x180013305
mov rcx, qword [r13 + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.18002f870
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret