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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576e80
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
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.0041bc20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x30]
call fcn.0041bb30
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x24]
call fcn.0041bb30
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov edx, str.ExplorerFileExts_
lea ecx, [ebp - 0x10]
call fcn.0041bb30
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x24]
push 0
call fcn.00411920
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 0x416429
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x4161df
push 0x80004005
call fcn.004071e0
push ecx
push eax
call fcn.0053c1f5
add esp, 8
test eax, eax
jne 0x416426
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.00411920
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.0053c1f5
add esp, 8
test eax, eax
jne 0x416243
push str.ProgId
push dword [ebp - 0x10]
push SysReAllocStringLen
call esi
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x416258
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x41626d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x41626f
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 0x59ecd0
push eax
call fcn.0041f560
mov edx, dword [ebp - 0x10]
mov ecx, SysReAllocStringLen
push str.Application
call fcn.00411920
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x4162ae
xor ecx, ecx
jmp 0x4162c2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4162b3
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 0x4162dd
push 0x80004005
call fcn.004071e0
push eax
push dword [ebp - 0x14]
call fcn.0053c1f5
add esp, 8
test eax, eax
jne 0x4162fc
push str.Application
push dword [ebp - 0x10]
push SysReAllocStringLen
call esi
mov esi, dword [ebp - 0x30]
mov ecx, ebx
mov edx, esi
call fcn.00411a50
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.0041bc20
mov byte [ebp - 4], 9
mov ecx, SysReAllocStringLen
mov edx, dword [eax]
push str.ProgId
call fcn.00411920
mov edx, eax
add esp, 8
test edx, edx
jne 0x416344
xor ecx, ecx
jmp 0x41635f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416350
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 0x416386
push 0x80004005
call fcn.004071e0
push eax
push dword [ebp - 0x14]
call fcn.0053c1f5
add esp, 8
test eax, eax
jne 0x41640a
push str.UserChoice
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x38]
call fcn.0041bc20
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 0x4163fa
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 0x416430
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 0x416477
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416473
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416473
push 0
push dword [edx + 4]
call edi
jmp 0x416477
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 0x4164b8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4164b4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4164b4
push 0
push dword [edx + 4]
call edi
jmp 0x4164b8
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 0x4164f9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4164f5
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4164f5
push 0
push dword [edx + 4]
call edi
jmp 0x4164f9
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 0x41653a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416536
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416536
push 0
push dword [edx + 4]
call edi
jmp 0x41653a
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 0x41657b
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x416577
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x416577
push 0
push dword [edx + 4]
call edi
jmp 0x41657b
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 0x4165bc
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4165b8
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4165b8
push 0
push dword [edx + 4]
call edi
jmp 0x4165bc
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 0x4165fe
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4165fa
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4165fa
push 0
push dword [edx + 4]
call edi
jmp 0x4165fe
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