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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9118
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x68da90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
push str.MasterPDF
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00404020
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.00408cb0
add esp, 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x30]
call fcn.00416b40
add esp, 4
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x20]
call fcn.00416b40
add esp, 4
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
mov edx, str.ExplorerFileExts_
lea ecx, [ebp - 0x10]
call fcn.00416b40
add esp, 4
mov byte [ebp - 4], 6
mov ecx, esi
mov edx, dword [ebp - 0x20]
push 0
call fcn.0048fe60
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
call fcn.00404020
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x490a1f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4907e0
push 0x80004005
call fcn.00404200
push eax
push dword [ebp - 0x1c]
call fcn.005cb64b
add esp, 8
test eax, eax
jne 0x490a1f
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push eax
push dword [ebp - 0x20]
push esi
call edi
mov edx, dword [ebp - 0x10]
mov ecx, reloc.WS2_32.dll_accept
push str.ProgId
call fcn.0048fe60
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call fcn.00404020
mov byte [ebp - 4], 8
push str.MasterPDF
push dword [ebp - 0x14]
call fcn.005cb64b
add esp, 8
test eax, eax
jne 0x490846
push str.ProgId
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call edi
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x49085b
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str..exe
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
push str._s_s
push eax
call fcn.00409f70
mov edx, dword [ebp - 0x10]
mov ecx, reloc.WS2_32.dll_accept
push str.Application
call fcn.0048fe60
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x49089f
xor ecx, ecx
jmp 0x4908b3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4908a4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00403f20
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x4908ce
push 0x80004005
call fcn.00404200
push esi
push dword [ebp - 0x14]
call fcn.005cb64b
add esp, 8
test eax, eax
jne 0x4908ed
push str.Application
push dword [ebp - 0x10]
push reloc.WS2_32.dll_accept
call edi
mov edi, dword [ebp - 0x30]
mov edx, edi
mov ecx, dword [ebp - 0x2c]
call fcn.0048ff60
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x662848
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00408bd0
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, reloc.WS2_32.dll_accept
mov edx, dword [eax]
push str.ProgId
call fcn.0048fe60
mov edx, eax
add esp, 4
test edx, edx
jne 0x490939
xor ecx, ecx
jmp 0x49094f
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490940
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00403f20
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490977
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x490988
push 0x80004005
call fcn.00404200
push eax
push dword [ebp - 0x14]
call fcn.005cb64b
add esp, 8
test eax, eax
jne 0x4909df
push 0x662848
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.00408bd0
add esp, 4
mov ecx, reloc.WS2_32.dll_accept
mov edi, dword [eax]
mov edx, edi
call fcn.0048ff60
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4909df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4909ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490a21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490a21
xor edi, edi
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490a3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490a5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490a7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490a99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490ab7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490ad5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490af3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x490b12
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret