Function at 0x1400052b8
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x1c0
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1a8], rsi
mov rax, qword [0x140041480]
xor rax, rbp
mov qword [rbp + 0x150], rax
xor r13d, r13d
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 8], r13
test rdx, rdx
je 0x14000580a
mov eax, dword [0x1400339e8]
cmp dword [rcx], eax
jne 0x140005334
mov eax, dword [0x1400339ec]
cmp dword [rcx + 4], eax
jne 0x140005334
mov eax, dword [0x1400339f0]
cmp dword [rcx + 8], eax
jne 0x140005334
mov eax, dword [0x1400339f4]
cmp dword [rcx + 0xc], eax
je 0x14000580a
lea rax, [rbp + 8]
mov r14d, 1
lea r9, [0x140031ed0]
lea rcx, [0x140033a08]
xor edx, edx
mov r8d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400057fb
cmp dword [rbx], r13d
je 0x1400053c7
mov rax, qword [rbx + 8]
mov rcx, qword [rbp + 8]
lea r9, [rbp + 0x40]
mov r8d, r14d
mov rdx, rdi
movups xmm0, xmmword [rax]
movdqu xmmword [rbp + 0x40], xmm0
mov rax, qword [rcx]
test r12d, r12d
je 0x1400053b4
cmp dword [rbx], r14d
jne 0x140005395
call qword [rax + 0x28]
jmp 0x140005398
call qword [rax + 0x38]
mov esi, eax
test eax, eax
jns 0x1400053c1
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400053ad
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x14000580c
cmp dword [rbx], r14d
jne 0x1400053be
call qword [rax + 0x30]
jmp 0x1400053c1
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x140005364
test r12d, r12d
jne 0x1400057fb
lea r8d, [r12 + 0x40]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rbp + 0xd0]
mov rbx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0xffffffff
add eax, r14d
movsxd rsi, eax
mov eax, 0x80000000
add rsi, rsi
add rax, rsi
cmp rax, rcx
ja 0x1400054ba
or r12, 0xffffffffffffffff
cmp esi, 0x400
jg 0x140005455
movsxd rdi, esi
mov rcx, rdi
call fcn.140003e20
test al, al
je 0x140005455
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x140005442
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14001b970
sub rsp, rax
lea rdi, [rsp + 0x60]
jmp 0x140005480
movsxd rcx, esi
mov rax, r12
sub rax, rcx
cmp rax, 0x10
jb 0x140005839
add rcx, 0x10
call fcn.14001b278
test rax, rax
je 0x1400054ba
mov qword [rax], r13
mov rbx, rax
lea rdi, [rax + 0x10]
test rdi, rdi
je 0x1400054ba
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r13
lea r8, [rbp + 0xd0]
lea ecx, [rdx + 3]
mov r9d, r12d
mov dword [rsp + 0x28], esi
mov byte [rdi], r13b
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rsi, rsi
and rsi, rdi
jmp 0x1400054bd
mov rsi, r13
test rsi, rsi
je 0x1400057f6
mov edi, 0x80
lea r8, str.CLSID_
lea rcx, [rbp + 0x50]
mov edx, edi
call fcn.14001b53c
lea r14d, [rdi - 0x74]
test eax, eax
je 0x14000551a
cmp eax, r14d
je 0x14000550f
cmp eax, 0x16
je 0x140005504
cmp eax, 0x22
je 0x140005504
cmp eax, 0x50
je 0x14000551a
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea rcx, [rbp + 0x50]
mov r8, rsi
mov rdx, rdi
call fcn.14001b730
test eax, eax
je 0x140005562
cmp eax, r14d
je 0x140005557
cmp eax, 0x16
je 0x14000554c
cmp eax, 0x22
je 0x14000554c
cmp eax, 0x50
je 0x140005562
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea r8, str.Required_Categories
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.14001b730
test eax, eax
je 0x1400055ae
cmp eax, r14d
je 0x1400055a3
cmp eax, 0x16
je 0x140005598
cmp eax, 0x22
je 0x140005598
cmp eax, 0x50
je 0x1400055ae
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x10]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rbp + 0x28], 0xffffffff80000000
mov dword [rbp + 0x30], r13d
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x18], r13d
mov qword [rbp + 0x20], r13
mov dword [rbp], r13d
call fcn.1400034dc
test eax, eax
jne 0x140005663
mov rdi, qword [rbp + 0x10]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp]
mov qword [rsp + 0x30], r13
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
movsxd r12, eax
test rdi, rdi
je 0x140005642
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x18], r13d
test r12, r12
jne 0x14000565e
cmp dword [rbp], r13d
jne 0x14000565e
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.140003350
mov edi, 0x80
lea r8, str.CLSID_
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.14001b53c
test eax, eax
je 0x1400056af
cmp eax, r14d
je 0x1400056a4
cmp eax, 0x16
je 0x140005699
cmp eax, 0x22
je 0x140005699
cmp eax, 0x50
je 0x1400056af
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea rcx, [rbp + 0x50]
mov r8, rsi
mov rdx, rdi
call fcn.14001b730
test eax, eax
je 0x1400056f7
cmp eax, r14d
je 0x1400056ec
cmp eax, 0x16
je 0x1400056e1
cmp eax, 0x22
je 0x1400056e1
cmp eax, 0x50
je 0x1400056f7
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea r8, str.Implemented_Categories
lea rcx, [rbp + 0x50]
mov rdx, rdi
call fcn.14001b730
test eax, eax
je 0x140005743
cmp eax, r14d
je 0x140005738
cmp eax, 0x16
je 0x14000572d
cmp eax, 0x22
je 0x14000572d
cmp eax, 0x50
je 0x140005743
mov ecx, 0x80004005
call fcn.140003000
int3
mov ecx, 0x80070057
call fcn.140003000
int3
mov ecx, 0x8007000e
call fcn.140003000
int3
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x10]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.1400034dc
mov rdi, qword [rbp + 0x10]
test eax, eax
jne 0x1400057ce
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp]
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
movsxd rsi, eax
test rdi, rdi
je 0x1400057b6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r13
test rsi, rsi
jne 0x1400057ce
cmp dword [rbp], r13d
jne 0x1400057ce
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x28]
call fcn.140003350
test rdi, rdi
je 0x1400057dc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400057f6
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.14001b330
test rbx, rbx
jne 0x1400057eb
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14000580a
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x150]
xor rcx, rbp
call fcn.14001b940
mov rbx, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x1a8]
lea rsp, [rbp + 0x160]
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80070216
call fcn.140003000
int3