Function at 0x100042de
Capabilities:
Delete registry key

Disassembly:
push 0x1b8
mov eax, 0x10054432
call fcn.10032e50
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 0x100045bf
mov edx, 0x10059900
call fcn.10001efa
test eax, eax
jne 0x100045bf
lea eax, [ebp - 0x1a8]
push eax
push 0x10067b0c
push 1
push ebx
push 0x10059920
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100045bf
mov eax, dword [ebp - 0x1ac]
jmp 0x100043c2
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 0x10004396
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
push dword [ebp - 0x1a4]
push eax
mov ecx, dword [eax]
jne 0x10004383
call dword [ecx + 0x14]
jmp 0x10004386
call dword [ecx + 0x1c]
test eax, eax
js 0x100045c1
mov esi, dword [ebp - 0x1a4]
jmp 0x100043b3
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1a4]
push esi
push eax
mov ecx, dword [eax]
jne 0x100043b0
call dword [ecx + 0x18]
jmp 0x100043b3
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1ac]
add eax, 8
mov dword [ebp - 0x1ac], eax
cmp dword [eax], ebx
jne 0x1000434e
cmp dword [ebp + 8], 0
jne 0x100045c3
push 0x40
lea eax, [ebp - 0x190]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x100043ec
push 0xd
pop eax
jmp 0x100045c1
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.1003d121
push eax
call fcn.10001f49
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d185
push eax
call fcn.10001f49
push str.Required_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d185
push eax
call fcn.10001f49
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.10002455
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100044ea
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.100023d1
test esi, esi
jne 0x100044e5
cmp dword [ebp - 0x1a4], esi
jne 0x100044e5
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.1003d121
push eax
call fcn.10001f49
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d185
push eax
call fcn.10001f49
push str.Implemented_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003d185
push eax
call fcn.10001f49
add esp, 0x30
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x1b8]
push 0x20019
push eax
push SysReAllocString
call fcn.10002455
test eax, eax
jne 0x1000459b
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.100023d1
test esi, esi
jne 0x1000459b
cmp dword [ebp - 0x1a4], esi
jne 0x1000459b
lea eax, [ebp - 0x110]
push eax
push SysReAllocString
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.100023d1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c4]
call fcn.100023d1
mov byte [ebp - 4], 1
jmp 0x100045c3
mov eax, ebx
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x100045d7
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.10032dfa
ret 4