Function at 0x1002ec40
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x100418ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x3c
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
lea esi, [esp + 0x5c]
mov edi, ecx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.100025e0
push ebx
push edi
or eax, 0xffffffff
mov dword [esp + 0xa0], ebx
call fcn.100023d0
push 0xb
mov edi, 7
push str.Application
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.100025e0
mov eax, esi
push eax
push 0x80000001
lea edx, [esp + 0x5c]
mov ecx, ebp
mov byte [esp + 0xa0], 1
call fcn.1003c1f0
and al, 1
mov byte [esp + 0x98], bl
cmp dword [esp + 0x50], 8
mov byte [esp + 0x17], al
jb 0x1002ed14
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 6
push str.Progid
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.100025e0
mov edx, esi
push edx
push 0x80000001
lea edx, [esp + 0x5c]
mov ecx, ebp
mov byte [esp + 0xa0], 2
call fcn.1003c1f0
and byte [esp + 0x17], al
cmp dword [esp + 0x50], 8
jb 0x1002ed64
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
mov byte [esp + 0x98], 3
push 0xb
push str.Application
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.100025e0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xa0], 4
mov edx, esi
mov ecx, 0x80000001
mov dword [esp + 0x20], 1
call fcn.1003be90
test al, al
je 0x1002edd4
cmp dword [esp + 0x84], ebx
mov byte [esp + 0x16], 1
jne 0x1002edd8
mov byte [esp + 0x16], bl
mov esi, 8
mov dword [esp + 0x98], 3
cmp dword [esp + 0x50], esi
jb 0x1002edfb
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1002ee1b
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x1002ee0f
lea eax, [esp + 0x58]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edi, [esp + 0x70]
call fcn.10001fc0
push 6
mov edi, 7
push str.Progid
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.100025e0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xa0], 5
mov edx, esi
mov ecx, 0x80000001
mov dword [esp + 0x20], 2
call fcn.1003be90
test al, al
je 0x1002ee7e
cmp dword [esp + 0x84], ebx
mov byte [esp + 0x16], 1
jne 0x1002ee82
mov byte [esp + 0x16], bl
mov esi, 8
mov dword [esp + 0x98], 3
cmp dword [esp + 0x50], esi
jb 0x1002eea5
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1002eec5
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x1002eeb9
lea eax, [esp + 0x58]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.1003a7f0
test al, al
je 0x1002f015
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.100020a0
push 0xb
push str.UserChoice
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 6
call fcn.100024e0
lea edi, [esp + 0x70]
call fcn.10001fc0
push 6
mov edi, 7
push str.Progid
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.100025e0
mov ecx, esi
push ecx
push 0x80000001
lea edx, [esp + 0x40]
mov ecx, ebp
mov byte [esp + 0xa0], 7
call fcn.1003c1f0
and byte [esp + 0x17], al
mov ebp, 8
mov byte [esp + 0x98], 6
cmp dword [esp + 0x34], ebp
jb 0x1002ef71
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 6
push str.Progid
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.100025e0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xa0], 8
mov edx, esi
mov ecx, 0x80000001
mov dword [esp + 0x20], 4
call fcn.1003be90
test al, al
je 0x1002efc6
cmp dword [esp + 0x84], ebx
mov byte [esp + 0x16], 1
jne 0x1002efca
mov byte [esp + 0x16], bl
cmp dword [esp + 0x34], ebp
jb 0x1002efdd
mov edx, dword [esp + 0x20]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1002effd
cmp dword [esp + 0x50], ebp
mov eax, dword [esp + 0x3c]
jae 0x1002eff1
lea eax, [esp + 0x3c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [esp + 0x50], ebp
jb 0x1002f010
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x1002f02b
mov ecx, dword [esp + 0x74]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x1002f055
mov edx, dword [esp + 0x58]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x88
ret 4