Function at 0x481880
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57af80
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5cc128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
test edx, edx
mov ecx, str.PdfRecommand
mov eax, str.PDFConverter
cmove eax, ecx
lea ecx, [ebp - 0x14]
push eax
call fcn.00407900
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov edx, str.SoftwareClasses_
lea ecx, [ebp - 0x18]
call fcn.0044c0f0
push 0
mov edx, str.SoftwareClasses.pdf
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00481c50
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.00407900
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x18]
push str.previous.pdf
call fcn.00481c50
add esp, 4
lea ecx, [ebp - 0x24]
push eax
call fcn.00407900
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x28]
cmp dword [ecx - 0xc], 0
je 0x481bba
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x48193f
push 0x80004005
call fcn.004079f0
push eax
push ecx
call fcn.0054aa55
add esp, 8
test eax, eax
jne 0x481bba
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [eax - 0xc], 0
je 0x481997
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x481970
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.SoftwareClasses.pdf
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x4819a1
push 0
push str.SoftwareClasses.pdf
push esi
call edi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00481c50
add esp, 4
lea ecx, [ebp - 0x10]
push eax
call fcn.00407900
mov byte [ebp - 4], 4
push str.PDFConverter
push dword [ebp - 0x10]
call fcn.0054aa55
add esp, 8
test eax, eax
jne 0x4819ea
push str.ProgId
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call edi
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4819ff
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str..exe
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push 0x5a65ec
push eax
call fcn.00423d10
push str.Application
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocString
call fcn.00481c50
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x481a45
xor ecx, ecx
jmp 0x481a5f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481a50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00407740
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x481a7a
push 0x80004005
call fcn.004079f0
push esi
push dword [ebp - 0x10]
call fcn.0054aa55
add esp, 8
test eax, eax
jne 0x481a9b
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocString
call edi
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x20]
call fcn.00481d80
push edi
push dword [ebp - 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call edi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
mov ecx, SysReAllocString
call fcn.00481c50
mov edx, eax
add esp, 4
test edx, edx
jne 0x481ad5
xor ecx, ecx
jmp 0x481af0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481ae0
sub ecx, dword [ebp - 0x20]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00407740
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x481b0b
push 0x80004005
call fcn.004079f0
push eax
push dword [ebp - 0x10]
call fcn.0054aa55
add esp, 8
test eax, eax
jne 0x481b7a
lea eax, [ebp - 0x1c]
push eax
push 0x40000
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481b6e
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x3c]
push eax
push 4
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocString
call edi
mov edi, 1
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x481b9a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481bbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x481bbc
xor edi, edi
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 0x481bda
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 - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481bf8
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 - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481c16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x481c35
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