Function at 0x4260f0
Capabilities:
Persist via contextmenuhandlers registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab696
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push 0
push eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
call fcn.00459150
add esp, 0xc
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x17
push str.SOFTWAREClassesCLSID_
call fcn.00407a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push 0xf013f
push 0
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], 0
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4261f2
push dword [ebp - 0x24c]
mov ecx, edi
call fcn.004247a0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x4261f2
push eax
call esi
push 6
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.00407a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push bind
call ebx
test eax, eax
jne 0x42624c
push dword [ebp - 0x250]
mov ecx, edi
call fcn.004247a0
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x42624c
push eax
call esi
push 8
push str.TypeLib_
lea ecx, [ebp - 0x230]
call fcn.00407a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x254]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push bind
call ebx
test eax, eax
jne 0x4262a6
push dword [ebp - 0x254]
mov ecx, edi
call fcn.00424cb0
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4262a6
push eax
call esi
push 0x42
push str.SOFTWAREClassesDirectory_background_shellexContextMenuHandlers_
lea ecx, [ebp - 0x230]
call fcn.00407a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x25c]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x426417
push 0x10
push str.ElephantPDFAccer
lea ecx, [ebp - 0x230]
call fcn.00407a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x258]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4263fd
push 0x4b2988
lea ecx, [ebp - 0x248]
call fcn.004078d0
push 0x24
push str.0CFC363D_9627_42DF_A410_7F12A9E96431
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00409fa0
push 1
push 0x4b29dc
lea ecx, [ebp - 0x248]
call fcn.00409fa0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x426390
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4263b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x4c94e4
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x4263fd
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407b30
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x42640a
push eax
call esi
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x426417
push eax
call esi
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x426435
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434840
mov esp, ebp
pop ebp
ret