Function at 0x14000e2d8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x1a0
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x180], rbx
mov qword [rbp + 0x188], rsi
mov rax, qword [0x14006bbc0]
xor rax, rbp
mov qword [rbp + 0x130], rax
xor r13d, r13d
mov r12d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 8], r13
cmp rdx, r13
je 0x14000e857
mov eax, dword [0x14005a5a0]
cmp dword [rcx], eax
jne 0x14000e354
mov eax, dword [0x14005a5a4]
cmp dword [rcx + 4], eax
jne 0x14000e354
mov eax, dword [0x14005a5a8]
cmp dword [rcx + 8], eax
jne 0x14000e354
mov eax, dword [0x14005a5ac]
cmp dword [rcx + 0xc], eax
je 0x14000e857
lea rax, [rbp + 8]
mov r14d, 1
lea r9, [0x140058af0]
lea rcx, [0x14005bce0]
xor edx, edx
mov r8d, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, r13d
jl 0x14000e848
cmp dword [rbx], r13d
je 0x14000e3ea
mov rax, qword [rbx + 8]
mov rcx, qword [rbp + 8]
lea r9, [rbp + 0x20]
mov r8d, r14d
mov rdx, rdi
movdqu xmm0, xmmword [rax]
movdqu xmmword [rbp + 0x20], xmm0
mov rax, qword [rcx]
cmp r12d, r13d
je 0x14000e3d7
cmp dword [rbx], r14d
jne 0x14000e3b7
call qword [rax + 0x28]
jmp 0x14000e3ba
call qword [rax + 0x38]
cmp eax, r13d
mov esi, eax
jge 0x14000e3e4
mov rcx, qword [rbp + 8]
cmp rcx, r13
je 0x14000e3d0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, esi
jmp 0x14000e859
cmp dword [rbx], r14d
jne 0x14000e3e1
call qword [rax + 0x30]
jmp 0x14000e3e4
call qword [rax + 0x40]
add rbx, 0x10
jmp 0x14000e385
cmp r12d, r13d
jne 0x14000e848
lea rdx, [rbp + 0xb0]
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rbp + 0xb0]
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 0x14000e4df
or r12, 0xffffffffffffffff
cmp esi, 0x400
jg 0x14000e47a
movsxd rdi, esi
mov rcx, rdi
call fcn.14000b990
cmp al, r13b
je 0x14000e47a
lea rax, [rdi + 0xf]
cmp rax, rdi
ja 0x14000e467
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140052940
sub rsp, rax
lea rdi, [rsp + 0x60]
jmp 0x14000e4a5
movsxd rcx, esi
mov rax, r12
sub rax, rcx
cmp rax, 0x10
jb 0x14000e886
add rcx, 0x10
call fcn.140025efc
cmp rax, r13
je 0x14000e4df
mov qword [rax], r13
mov rbx, rax
lea rdi, [rax + 0x10]
cmp rdi, r13
je 0x14000e4df
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r13
lea r8, [rbp + 0xb0]
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 0x14000e4e2
mov rsi, r13
cmp rsi, r13
je 0x14000e843
mov edi, 0x80
lea r8, str.CLSID_
lea rcx, [rbp + 0x30]
mov rdx, rdi
call fcn.140025c34
lea r14d, [rdi - 0x74]
cmp eax, r13d
je 0x14000e541
cmp eax, r14d
je 0x14000e536
cmp eax, 0x16
je 0x14000e52b
cmp eax, 0x22
je 0x14000e52b
cmp eax, 0x50
je 0x14000e541
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea rcx, [rbp + 0x30]
mov r8, rsi
mov rdx, rdi
call fcn.140025860
cmp eax, r13d
je 0x14000e58a
cmp eax, r14d
je 0x14000e57f
cmp eax, 0x16
je 0x14000e574
cmp eax, 0x22
je 0x14000e574
cmp eax, 0x50
je 0x14000e58a
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea r8, str.Required_Categories
lea rcx, [rbp + 0x30]
mov rdx, rdi
call fcn.140025860
cmp eax, r13d
je 0x14000e5d7
cmp eax, r14d
je 0x14000e5cc
cmp eax, 0x16
je 0x14000e5c1
cmp eax, 0x22
je 0x14000e5c1
cmp eax, 0x50
je 0x14000e5d7
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea rax, [rbp + 0x18]
lea rdx, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov rdi, r13
mov qword [rsp + 0x20], rax
mov dword [rbp], r13d
mov qword [rbp + 0x18], r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, r13d
jne 0x14000e67b
mov rdi, qword [rbp + 0x18]
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
cmp rdi, r13
je 0x14000e65f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r13
cmp r12, r13
jne 0x14000e67b
cmp dword [rbp], r13d
jne 0x14000e67b
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov r12d, 0x80
lea r8, str.CLSID_
lea rcx, [rbp + 0x30]
mov rdx, r12
call fcn.140025c34
cmp eax, r13d
je 0x14000e6ce
cmp eax, r14d
je 0x14000e6c3
cmp eax, 0x16
je 0x14000e6b8
cmp eax, 0x22
je 0x14000e6b8
cmp eax, 0x50
je 0x14000e6ce
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea rcx, [rbp + 0x30]
mov r8, rsi
mov rdx, r12
call fcn.140025860
cmp eax, r13d
je 0x14000e717
cmp eax, r14d
je 0x14000e70c
cmp eax, 0x16
je 0x14000e701
cmp eax, 0x22
je 0x14000e701
cmp eax, 0x50
je 0x14000e717
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea r8, str.Implemented_Categories
lea rcx, [rbp + 0x30]
mov rdx, r12
call fcn.140025860
cmp eax, r13d
je 0x14000e764
cmp eax, r14d
je 0x14000e759
cmp eax, 0x16
je 0x14000e74e
cmp eax, 0x22
je 0x14000e74e
cmp eax, 0x50
je 0x14000e764
mov ecx, 0x80004005
call fcn.14000a640
int3
mov ecx, 0x80070057
call fcn.14000a640
int3
mov ecx, 0x8007000e
call fcn.14000a640
int3
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rbp + 0x10], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, r13d
jne 0x14000e81b
mov eax, r13d
cmp rdi, r13
je 0x14000e7a5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rbp + 0x10]
cmp eax, r13d
jne 0x14000e81b
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
cmp rdi, r13
je 0x14000e7ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r13
cmp rsi, r13
jne 0x14000e81b
cmp dword [rbp], r13d
jne 0x14000e81b
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp rdi, r13
je 0x14000e829
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000e843
mov rcx, rbx
mov rbx, qword [rbx]
call fcn.140025e6c
cmp rbx, r13
jne 0x14000e838
mov rcx, qword [rbp + 8]
cmp rcx, r13
je 0x14000e857
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x130]
xor rcx, rbp
call fcn.140025570
mov rbx, qword [rbp + 0x180]
mov rsi, qword [rbp + 0x188]
lea rsp, [rbp + 0x140]
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.14000a640
int3