Function at 0x1000f825
Capabilities:
Delete registry key

Disassembly:
push 0x1b8
mov eax, 0x1004c1ed
call fcn.100494ce
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 0x1000fb06
mov edx, 0x10051368
call fcn.1000d653
test eax, eax
jne 0x1000fb06
lea eax, [ebp - 0x1a8]
push eax
push 0x10057d70
push 1
push ebx
push 0x10051388
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000fb06
mov eax, dword [ebp - 0x1ac]
jmp 0x1000f909
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 0x1000f8dd
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
push dword [ebp - 0x1a4]
push eax
mov ecx, dword [eax]
jne 0x1000f8ca
call dword [ecx + 0x14]
jmp 0x1000f8cd
call dword [ecx + 0x1c]
test eax, eax
js 0x1000fb08
mov esi, dword [ebp - 0x1a4]
jmp 0x1000f8fa
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1a4]
push esi
push eax
mov ecx, dword [eax]
jne 0x1000f8f7
call dword [ecx + 0x18]
jmp 0x1000f8fa
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1ac]
add eax, 8
mov dword [ebp - 0x1ac], eax
cmp dword [eax], ebx
jne 0x1000f895
cmp dword [ebp + 8], 0
jne 0x1000fb0a
push 0x40
lea eax, [ebp - 0x190]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x1000f933
push 0xd
pop eax
jmp 0x1000fb08
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.1003e05a
push eax
call fcn.1000d6a2
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003e0be
push eax
call fcn.1000d6a2
push str.Required_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003e0be
push eax
call fcn.1000d6a2
mov ecx, 0x80000000
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.1000db3a
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1000fa31
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.1000dac4
test esi, esi
jne 0x1000fa2c
cmp dword [ebp - 0x1a4], esi
jne 0x1000fa2c
lea eax, [ebp - 0x110]
push eax
push 0x80000000
call edi
mov esi, 0x80
push str.CLSID_
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003e05a
push eax
call fcn.1000d6a2
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003e0be
push eax
call fcn.1000d6a2
push str.Implemented_Categories
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1003e0be
push eax
call fcn.1000d6a2
add esp, 0x30
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x1b8]
push 0x20019
push eax
push 0x80000000
call fcn.1000db3a
test eax, eax
jne 0x1000fae2
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.1000dac4
test esi, esi
jne 0x1000fae2
cmp dword [ebp - 0x1a4], esi
jne 0x1000fae2
lea eax, [ebp - 0x110]
push eax
push 0x80000000
call edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1b8]
call fcn.1000dac4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c4]
call fcn.1000dac4
mov byte [ebp - 4], 1
jmp 0x1000fb0a
mov eax, ebx
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x1000fb1e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
call fcn.10049478
ret 4