Function at 0x416b40
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5ce104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.MasterPDF
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00404e80
push str._2d3d
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0041c800
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x30]
call fcn.0041c710
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x24]
call fcn.0041c710
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov edx, str.ExplorerFileExts_
lea ecx, [ebp - 0x10]
call fcn.0041c710
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x24]
push 0
call fcn.00412350
add esp, 0x14
lea ecx, [ebp - 0x20]
push eax
call fcn.00404e80
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x416e59
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x416c0f
push 0x80004005
call fcn.004071e0
push ecx
push eax
call fcn.00543b38
add esp, 8
test eax, eax
jne 0x416e56
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push eax
push dword [ebp - 0x24]
push ebx
call esi
mov edx, dword [ebp - 0x10]
mov ecx, SysReAllocStringLen
push str.ProgId
call fcn.00412350
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call fcn.00404e80
mov byte [ebp - 4], 7
push str.MasterPDF
push dword [ebp - 0x14]
call fcn.00543b38
add esp, 8
test eax, eax
jne 0x416c73
push str.ProgId
push dword [ebp - 0x10]
push SysReAllocStringLen
call esi
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x416c88
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416c9d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x416c9f
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str..exe
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x5a7bf0
push eax
call fcn.00420620
mov edx, dword [ebp - 0x10]
mov ecx, SysReAllocStringLen
push str.Application
call fcn.00412350
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x416cde
xor ecx, ecx
jmp 0x416cf2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416ce3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00405730
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x416d0d
push 0x80004005
call fcn.004071e0
push eax
push dword [ebp - 0x14]
call fcn.00543b38
add esp, 8
test eax, eax
jne 0x416d2c
push str.Application
push dword [ebp - 0x10]
push SysReAllocStringLen
call esi
mov esi, dword [ebp - 0x30]
mov ecx, ebx
mov edx, esi
call fcn.00412480
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push esi
push ebx
call edi
push str.UserChoice
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0041c800
mov byte [ebp - 4], 9
mov ecx, SysReAllocStringLen
mov edx, dword [eax]
push str.ProgId
call fcn.00412350
mov edx, eax
add esp, 8
test edx, edx
jne 0x416d74
xor ecx, ecx
jmp 0x416d8f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416d80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00405730
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00404e00
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x416db6
push 0x80004005
call fcn.004071e0
push eax
push dword [ebp - 0x14]
call fcn.00543b38
add esp, 8
test eax, eax
jne 0x416e3a
push str.UserChoice
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.0041c800
add esp, 4
mov esi, dword [eax]
lea eax, [ebp - 0x2c]
push eax
push 0x40000
push 0
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416e2a
push 1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x4c]
push eax
push 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push SysReAllocStringLen
call edi
lea ecx, [ebp - 0x38]
call fcn.00404e00
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], 1
call fcn.00404e00
lea ecx, [ebp - 0x14]
call fcn.00404e00
mov eax, dword [ebp - 0x20]
jmp 0x416e60
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], 0
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea ecx, [eax - 0x10]
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x416ea7
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416ea3
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416ea3
push 0
push dword [edx + 4]
call edi
jmp 0x416ea7
mov ecx, edx
call ebx
mov byte [ebp - 4], 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x416ee8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416ee4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416ee4
push 0
push dword [edx + 4]
call edi
jmp 0x416ee8
mov ecx, edx
call ebx
mov byte [ebp - 4], 3
mov eax, esi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x416f29
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416f25
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416f25
push 0
push dword [edx + 4]
call edi
jmp 0x416f29
mov ecx, edx
call ebx
mov byte [ebp - 4], 2
mov eax, esi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x416f6a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416f66
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416f66
push 0
push dword [edx + 4]
call edi
jmp 0x416f6a
mov ecx, edx
call ebx
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x416fab
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416fa7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416fa7
push 0
push dword [edx + 4]
call edi
jmp 0x416fab
mov ecx, edx
call ebx
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x416fec
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416fe8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416fe8
push 0
push dword [edx + 4]
call edi
jmp 0x416fec
mov ecx, edx
call ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x41702e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41702a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x41702a
push 0
push dword [edx + 4]
call edi
jmp 0x41702e
mov ecx, edx
call esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret