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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578300
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5c8128]
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.0044c100
push 0
mov edx, str.SoftwareClasses.pdf
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00481ce0
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.00481ce0
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 0x481c4a
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4819cf
push 0x80004005
call fcn.004079f0
push eax
push ecx
call fcn.00547e25
add esp, 8
test eax, eax
jne 0x481c4a
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [eax - 0xc], 0
je 0x481a27
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 0x481a00
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 0x481a31
push 0
push str.SoftwareClasses.pdf
push esi
call edi
push str.ProgId
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocStringLen
call fcn.00481ce0
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.00547e25
add esp, 8
test eax, eax
jne 0x481a7a
push str.ProgId
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocStringLen
call edi
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x481a8f
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 0x5a34e0
push eax
call fcn.00423d10
push str.Application
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
mov ecx, SysReAllocStringLen
call fcn.00481ce0
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x481ad5
xor ecx, ecx
jmp 0x481aef
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481ae0
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 0x481b0a
push 0x80004005
call fcn.004079f0
push esi
push dword [ebp - 0x10]
call fcn.00547e25
add esp, 8
test eax, eax
jne 0x481b2b
push str.Application
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocStringLen
call edi
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x20]
call fcn.00481e10
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, SysReAllocStringLen
call fcn.00481ce0
mov edx, eax
add esp, 4
test edx, edx
jne 0x481b65
xor ecx, ecx
jmp 0x481b80
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 0x481b70
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 0x481b9b
push 0x80004005
call fcn.004079f0
push eax
push dword [ebp - 0x10]
call fcn.00547e25
add esp, 8
test eax, eax
jne 0x481c0a
lea eax, [ebp - 0x1c]
push eax
push 0x40000
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x481bfe
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 SysReAllocStringLen
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 0x481c2a
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 0x481c4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x481c4c
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 0x481c6a
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 0x481c88
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 0x481ca6
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 0x481cc5
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