Function at 0x10007190
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x10039030]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor ebx, ebx
mov esi, edx
cmp esi, ebx
push edi
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x1a8], ebx
je 0x10007413
mov eax, 0x10032318
call fcn.1001db42
test eax, eax
jne 0x10007413
lea eax, [ebp - 0x1a8]
push eax
push 0x1003571c
push 1
push ebx
push 0x100322f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10007403
cmp dword [esi], ebx
mov eax, esi
mov dword [ebp - 0x1a4], eax
jne 0x1000742c
cmp dword [ebp + 8], ebx
jne 0x10007403
push 0x40
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x1a0]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x10039cf0]
push str.CLSID_
mov esi, 0x80
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.10028481
push eax
call fcn.1001111c
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10023a23
push str.Required_Categories
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000e8db
push eax
call fcn.1001111c
add esp, 0x28
lea eax, [ebp - 0x1b0]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x10c]
push eax
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1b0], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10007309
mov eax, dword [ebp - 0x1b0]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1a4]
push ecx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1ac], eax
je 0x100072eb
push dword [ebp - 0x1a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1a0], ebx
cmp dword [ebp - 0x1ac], ebx
jne 0x10007309
cmp dword [ebp - 0x1a4], ebx
jne 0x10007309
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.10028481
push eax
call fcn.1001111c
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10023a23
push str.Implemented_Categories
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000e8db
push eax
call fcn.1001111c
add esp, 0x28
lea eax, [ebp - 0x1ac]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 0x1ac], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x100073e8
xor eax, eax
cmp dword [ebp - 0x1a0], ebx
je 0x1000738a
push dword [ebp - 0x1a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a0], ecx
jne 0x100073e8
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 ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x1a0], ebx
mov esi, eax
je 0x100073ce
push dword [ebp - 0x1a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1a0], ebx
cmp esi, ebx
jne 0x100073e8
cmp dword [ebp - 0x1a4], ebx
jne 0x100073e8
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x1a0], ebx
je 0x100073fc
push dword [ebp - 0x1a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1a8]
cmp eax, ebx
je 0x10007413
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013013
leave
ret 4
mov eax, dword [ebp - 0x1a4]
cmp dword [ebp + 8], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x19c]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
je 0x1000747d
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
push eax
jne 0x10007460
call dword [ecx + 0x14]
jmp 0x10007463
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x10007493
mov eax, dword [ebp - 0x1a8]
cmp eax, ebx
je 0x10007479
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x10007415
cmp dword [eax], 1
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax]
push eax
jne 0x10007490
call dword [ecx + 0x18]
jmp 0x10007493
call dword [ecx + 0x20]
add dword [ebp - 0x1a4], 8
mov eax, dword [ebp - 0x1a4]
cmp dword [eax], ebx
jne 0x10007426
jmp 0x10007202