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

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0x138
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0xc0]
push ebx
push esi
mov esi, dword [ebp + 0xc4]
push edi
xor edi, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edi
cmp esi, edi
je 0x14a110b1
push 0x14a29640
push eax
call fcn.14a01000
pop ecx
pop ecx
test eax, eax
jne 0x14a110b1
lea eax, [ebp - 0x64]
push eax
push 0x14a28a98
push 1
push edi
push 0x14a2ad80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x14a10e6e
mov eax, dword [ebp - 0x64]
cmp eax, edi
jmp 0x14a110a9
mov ebx, esi
cmp dword [esi], edi
je 0x14a10ed2
cmp dword [ebp + 0xc8], 0
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x64]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x5c]
push edx
movsd dword es:[edi], dword [esi]
push 1
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
je 0x14a10ebd
cmp dword [ebx], 1
jne 0x14a10ea0
call dword [ecx + 0x14]
jmp 0x14a10ea3
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x14a10eca
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x14a10eb6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x14a110b3
cmp dword [ebx], 1
jne 0x14a10ec7
call dword [ecx + 0x18]
jmp 0x14a10eca
call dword [ecx + 0x20]
add ebx, 8
cmp dword [ebx], 0
jne 0x14a10e74
cmp dword [ebp + 0xc8], 0
jne 0x14a110a4
push 0x40
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_StringFromGUID2]
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.14a043da
add esp, 0xc
test eax, eax
jl 0x14a1109c
mov esi, dword [ebp - 0x60]
cmp esi, 0x400
jg 0x14a10f38
push esi
call fcn.14a045b9
pop ecx
test al, al
je 0x14a10f38
mov eax, esi
call fcn.14a22e40
mov eax, esp
jmp 0x14a10f41
push esi
lea ecx, [ebp - 0x70]
call fcn.14a047f1
push 3
push esi
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.14a0106e
mov dword [ebp - 0x74], eax
test eax, eax
je 0x14a1109c
push str.CLSID_
mov esi, 0x80
lea eax, [ebp + 0x34]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
push eax
call fcn.14a010e7
push dword [ebp - 0x74]
mov edi, dword [sym.imp.MSVCR90.dll_strcat_s]
lea eax, [ebp + 0x34]
push esi
push eax
call edi
push eax
call fcn.14a010e7
push str.Required_Categories
lea eax, [ebp + 0x34]
push esi
push eax
call edi
push eax
call fcn.14a010e7
xor eax, eax
add esp, 0x30
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], eax
push 0x20019
lea eax, [ebp + 0x34]
mov ebx, SysReAllocString
push eax
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x80], ebx
call fcn.14a0ac55
test eax, eax
jne 0x14a11004
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x60]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x78], eax
call fcn.14a0abec
cmp dword [ebp - 0x78], 0
jne 0x14a11004
cmp dword [ebp - 0x60], 0
jne 0x14a11004
lea eax, [ebp + 0x34]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.CLSID_
lea eax, [ebp + 0x34]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcpy_s]
push eax
call fcn.14a010e7
push dword [ebp - 0x74]
lea eax, [ebp + 0x34]
push esi
push eax
call edi
push eax
call fcn.14a010e7
push str.Implemented_Categories
lea eax, [ebp + 0x34]
push esi
push eax
call edi
push eax
call fcn.14a010e7
add esp, 0x30
push 0x20019
lea eax, [ebp + 0x34]
push eax
push ebx
lea ecx, [ebp - 0x6c]
call fcn.14a0ac55
test eax, eax
jne 0x14a1108c
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea ecx, [ebp - 0x6c]
mov edi, eax
call fcn.14a0abec
cmp edi, esi
jne 0x14a1108c
cmp dword [ebp - 0x60], esi
jne 0x14a1108c
lea eax, [ebp + 0x34]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x6c]
call fcn.14a0abec
lea ecx, [ebp - 0x80]
call fcn.14a0abec
lea ecx, [ebp - 0x70]
call fcn.14a01873
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x14a110b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb4]
xor ecx, ebp
call fcn.14a22c16
add ebp, 0xb8
leave
ret 0xc