Function at 0x100042ee
Capabilities:
Delete registry key

Disassembly:
push 0x1b8
mov eax, 0x10054892
call fcn.100330d0
mov dword [ebp - 0x1ac], edx
mov esi, ecx
mov dword [ebp - 0x1a4], esi
xor ebx, ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 4], 1
test edx, edx
je 0x100045cf
mov edx, 0x1005a850
call fcn.10001f0a
test eax, eax
jne 0x100045cf
lea eax, [ebp - 0x1a8]
push eax
push 0x10068b3c
push 1
push ebx
push 0x1005a870
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100045cf
mov eax, dword [ebp - 0x1ac]
jmp 0x100043d2
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x1a0]
mov esi, dword [eax + 4]
lea edx, [ebp - 0x1a0]
push edx
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x100043a6
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
push dword [ebp - 0x1a4]
push eax
mov ecx, dword [eax]
jne 0x10004393
call dword [ecx + 0x14]
jmp 0x10004396
call dword [ecx + 0x1c]
test eax, eax
js 0x100045d1
mov esi, dword [ebp - 0x1a4]
jmp 0x100043c3
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1a4]
push esi
push eax
mov ecx, dword [eax]
jne 0x100043c0
call dword [ecx + 0x18]
jmp 0x100043c3
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1ac]
add eax, 8
mov dword [ebp - 0x1ac], eax
cmp dword [eax], ebx
jne 0x1000435e
cmp dword [ebp + 8], 0
jne 0x100045d3
push 0x40
lea eax, [ebp - 0x190]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x100043fc
push 0xd
pop eax
jmp 0x100045d1
mov dword [ebp - 0x1ac], ebx
mov byte [ebp - 4], 7
mov esi, 0x80
push str.CLSID_
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d501
push eax
call fcn.10001f59
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d565
push eax
call fcn.10001f59
push str.Required_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d565
push eax
call fcn.10001f59
mov ecx, SysReAllocString
mov dword [ebp - 0x1c0], ebx
add esp, 0x30
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1bc], ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x110]
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1a4], ebx
call fcn.10002465
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100044fa
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1a4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1b8]
mov esi, eax
call fcn.100023e1
test esi, esi
jne 0x100044f5
cmp dword [ebp - 0x1a4], esi
jne 0x100044f5
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
call edi
mov esi, 0x80
push str.CLSID_
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d501
push eax
call fcn.10001f59
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d565
push eax
call fcn.10001f59
push str.Implemented_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d565
push eax
call fcn.10001f59
add esp, 0x30
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x1b8]
push 0x20019
push eax
push SysReAllocString
call fcn.10002465
test eax, eax
jne 0x100045ab
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1a4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1b8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp - 0x1b8]
mov esi, eax
call fcn.100023e1
test esi, esi
jne 0x100045ab
cmp dword [ebp - 0x1a4], esi
jne 0x100045ab
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.100023e1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c4]
call fcn.100023e1
mov byte [ebp - 4], 1
jmp 0x100045d3
mov eax, ebx
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x100045e7
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.1003307a
ret 4