Function at 0x10054480
Capabilities:
Persist via app paths registry key
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105701
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x1014857c]
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
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x450], 1
push 0
push eax
mov dword [ebp - 0x44c], 0x104
call fcn.1008e2a0
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathsdolphinwp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005471d
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10054513
sub ecx, edx
sar ecx, 1
je 0x1005471d
lea eax, [ebp - 0x43c]
push eax
call fcn.1004bb10
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1005453f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x428]
cmp edx, 8
jb 0x1005458d
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10054583
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005481a
push edx
push ecx
call fcn.10081109
add esp, 8
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.1008e2a0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push 0x20019
push 0
push str.DolphinWallpaper
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10054609
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x444], 0x104
push eax
lea eax, [ebp - 0x440]
push eax
push 0
push str.URL_Protocol
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x448]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x424]
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005463b
test dx, dx
je 0x10054637
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005463b
add eax, 4
add ecx, 4
test dx, dx
jne 0x10054615
xor eax, eax
jmp 0x10054640
sbb eax, eax
or eax, 1
test eax, eax
je 0x10054810
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10054651
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.URL_Protocol
push str.DolphinWallpaper
push SysReAllocString
call ebx
test eax, eax
jne 0x1005471d
call fcn.100081d0
mov ecx, eax
test ecx, ecx
je 0x1005481f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x440], eax
push str.DolphinWallpaper
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], 0
call fcn.10007750
test al, al
jne 0x100546d6
push 0x10
push str.DolphinWallpaper
lea ecx, [ebp - 0x440]
call fcn.10009760
mov esi, dword [ebp - 0x440]
mov dword [ebp - 4], 1
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push str.DolphinWallpaper
push SysReAllocString
call ebx
test eax, eax
je 0x1005474b
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005471d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
push esi
push str._CInstaller::RegProtocol___result_d
call fcn.10050650
add esp, 8
mov eax, esi
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.100810f8
mov esp, ebp
pop ebp
ret
call fcn.100081d0
mov ecx, eax
test ecx, ecx
je 0x10054829
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x444], eax
push 0x1011ae2c
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x444]
push str._s__s
push eax
call fcn.10007f10
mov edi, dword [ebp - 0x444]
add esp, 0x10
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push 0
push str.dolphinwallpaper_shellopencommand
push SysReAllocString
call ebx
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
test eax, eax
mov eax, edi
je 0x100547e2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100547cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jmp 0x10054713
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100547f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x10054810
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1005471f
call fcn.100ab4b2
push 0x80004005
call fcn.100076a0
push 0x80004005
call fcn.100076a0
int3