Function at 0x70259460
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x1b4], eax
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], ebp
cmp edi, ebp
je 0x70259723
mov eax, dword [esi]
cmp eax, dword [0x7031c87c]
jne 0x702594b9
mov ecx, dword [esi + 4]
cmp ecx, dword [0x7031c880]
jne 0x702594b9
mov edx, dword [esi + 8]
cmp edx, dword [0x7031c884]
jne 0x702594b9
mov eax, dword [esi + 0xc]
cmp eax, dword [0x7031c888]
je 0x70259723
lea ecx, [esp + 0x14]
push ecx
push 0x7032d564
push 1
push ebp
push 0x7031c98c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x702594ee
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x70259723
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x70259723
mov ebx, edi
cmp dword [edi], ebp
je 0x7025956c
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 1
push esi
push eax
cmp dword [esp + 0x1dc], ebp
je 0x70259556
cmp dword [ebx], 1
jne 0x70259534
mov eax, dword [ecx + 0x14]
jmp 0x70259537
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
cmp edi, ebp
jge 0x70259565
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x7025954f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x70259725
cmp dword [ebx], 1
jne 0x70259560
mov eax, dword [ecx + 0x18]
jmp 0x70259563
mov eax, dword [ecx + 0x20]
call eax
add ebx, 8
cmp dword [ebx], ebp
jne 0x702594f4
cmp dword [esp + 0x1cc], ebp
jne 0x70259713
push 0x40
lea eax, [esp + 0x144]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
push str.CLSID_
lea ecx, [esp + 0x44]
push 0x80
push ecx
mov dword [esp + 0x30], ebp
call fcn.702e5587
push eax
call fcn.7020dc40
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x54]
push 0x80
push eax
call fcn.702e55f6
push eax
call fcn.7020dc40
push str.Required_Categories
lea ecx, [esp + 0x64]
push 0x80
push ecx
call fcn.702e55f6
push eax
call fcn.7020dc40
add esp, 0x30
push SysReAllocStringLen
mov ecx, 0x20019
lea edx, [esp + 0x44]
lea esi, [esp + 0x20]
mov dword [esp + 0x2c], VariantInit
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
call fcn.70220140
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x70259652
mov eax, dword [esp + 0x1c]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
push ebp
push ebp
push eax
call ebx
mov edi, eax
call fcn.702200b0
cmp edi, ebp
jne 0x70259652
cmp dword [esp + 0x18], ebp
jne 0x70259652
lea ecx, [esp + 0x40]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.CLSID_
lea edx, [esp + 0x44]
push 0x80
push edx
call fcn.702e5587
push eax
call fcn.7020dc40
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x54]
push 0x80
push ecx
call fcn.702e55f6
push eax
call fcn.7020dc40
push str.Implemented_Categories
lea edx, [esp + 0x64]
push 0x80
push edx
call fcn.702e55f6
push eax
call fcn.7020dc40
add esp, 0x30
push SysReAllocStringLen
mov ecx, 0x20019
lea edx, [esp + 0x44]
lea esi, [esp + 0x20]
call fcn.70220140
test eax, eax
jne 0x702596f8
mov ecx, dword [esp + 0x1c]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x34]
push eax
push ebp
push ebp
push ebp
push ecx
call ebx
mov edi, eax
call fcn.702200b0
cmp edi, ebp
jne 0x702596f8
cmp dword [esp + 0x18], ebp
jne 0x702596f8
lea edx, [esp + 0x40]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [esp + 0x1c]
call fcn.70220090
lea esi, [esp + 0x28]
call fcn.70220090
lea esi, [esp + 0x24]
call fcn.70202690
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x70259723
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.702e1c2f
add esp, 0x1b8
ret 4