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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
sub rsp, 0x6d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x6c8], rax
mov rbp, rcx
mov word [rsp + 0xa0], 0
xor edx, edx
mov r8d, 0x1fe
lea rcx, [r11 - 0x646]
call fcn.1400b57e0
mov word [rsp + 0x4b0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4b2]
call fcn.1400b57e0
mov word [rsp + 0x2a0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2a2]
call fcn.1400b57e0
mov r12d, 1
xor r13d, r13d
mov dword [rsp + 0x44], r13d
lea edx, [r12 + 9]
lea rcx, [rsp + 0x60]
call fcn.140089fe8
nop
mov rdi, qword [0x140136ce8]
test rdi, rdi
jne 0x14002e3ae
lea ecx, [rdi + 0x30]
call fcn.140084d88
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002e3a4
lea ecx, [r12 + 0x1f]
call fcn.140084d88
nop
test rax, rax
je 0x14002e392
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
jmp 0x14002e395
mov rax, r13
mov qword [rdi + 0x28], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x14002e3a7
mov rdi, r13
mov qword [0x140136ce8], rdi
lea r8, [rsp + 0x60]
lea rdx, str.PRODUCT_VIDPID
mov rcx, rdi
call fcn.14004c670
mov esi, r13d
cmp qword [rsp + 0x78], rsi
jle 0x14002e4b1
mov rax, r13
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140089fc0
test rax, rax
je 0x14002e4ab
mov rdi, qword [rax + 0x10]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14002e411
cmp rax, qword [rdi - 0x18]
jne 0x14002e411
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x14002e449
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x14002e4a5
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
add ecx, 1
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.1400b09f0
lea rdi, [rbx + 0x18]
mov qword [rsp + 0x50], rdi
cmp dword [rdi - 8], 1
jle 0x14002e46a
mov edx, dword [rdi - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140006380
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbp
call fcn.14002dd10
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14002e492
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add esi, 1
movsxd rax, esi
cmp rax, qword [rsp + 0x78]
jl 0x14002e3d3
jmp 0x14002e4b1
call fcn.1400062f0
int3
call fcn.14008bf60
int3
lea r8, str.SYSTEMCurrentControlSetEnumUSBSTOR
mov edx, 0x104
lea rcx, [rsp + 0x4b0]
call fcn.1400b1010
lea r8, [rsp + 0x4b0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140048f20
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x4b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, r13d
nop
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rsp + 0xa0]
mov edx, esi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002e82c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14002e598
or rcx, 0xffffffffffffffff
lea rdi, str.Easy_Install
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14002e598
lea rdx, str.Easy_Install
lea rcx, [rsp + 0xa0]
call fcn.1400b1e40
test rax, rax
jne 0x14002e5ee
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14002e806
or rcx, 0xffffffffffffffff
lea rdi, str.Smart_Install
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14002e806
lea rdx, str.Smart_Install
lea rcx, [rsp + 0xa0]
call fcn.1400b1e40
test rax, rax
je 0x14002e806
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetEnumUSBSTOR
lea r8, [0x1400ecb00]
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.1400b1010
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14002e6d6
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002e6cc
call fcn.140087bd0
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
je 0x14002e816
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14002e6cf
mov rbx, r13
mov qword [0x1401370f0], rbx
lea r8, [rsp + 0x2a0]
lea rdx, str.Found_key__s
mov rcx, rbx
call fcn.140050c00
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14002e7a8
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002e79e
call fcn.140087bd0
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
je 0x14002e821
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14002e7a1
mov rbx, r13
mov qword [0x1401370f0], rbx
lea r8, [rsp + 0x2a0]
lea rdx, str.CReg::DeleteSecureKeyFromHKLM__s_
mov rcx, rbx
call fcn.140050c00
lea r8, [rsp + 0x2a0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.140048f20
lea r8, [rsp + 0x2a0]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400489d0
lea rdx, [rsp + 0x2a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esi, 1
cmp esi, 0x3e8
jae 0x14002e82c
jmp 0x14002e510
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.SOFTWAREHP_
mov edx, 0x104
lea rcx, [rsp + 0x4b0]
call fcn.1400b1010
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x4b0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
cmove r12d, r13d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12d, r12d
je 0x14002e8d9
lea rdx, str.SOFTWAREHP_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
nop
lea rcx, [rsp + 0x60]
call fcn.14008a1e8
mov rcx, qword [rsp + 0x6c8]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret