Function at 0x1003db10
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 0x100f3431
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x10136674]
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.1007bae0
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x450]
push eax
push 0x100fe3bc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1003ddad
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003dba3
sub ecx, edx
sar ecx, 1
je 0x1003ddad
lea eax, [ebp - 0x43c]
push eax
call fcn.10034a00
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1003dbcf
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 0x1003dc1d
mov ecx, dword [ebp - 0x43c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003dc13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003deaa
push edx
push ecx
call fcn.10069b93
add esp, 8
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.1007bae0
add esp, 0xc
lea eax, [ebp - 0x448]
push eax
push 0x20019
push 0
push str.haloWallpaper
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003dc99
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 0x1003dccb
test dx, dx
je 0x1003dcc7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003dccb
add eax, 4
add ecx, 4
test dx, dx
jne 0x1003dca5
xor eax, eax
jmp 0x1003dcd0
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003dea0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003dce1
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.haloWallpaper
push SysReAllocString
call ebx
test eax, eax
jne 0x1003ddad
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1003deaf
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.10007c80
test al, al
jne 0x1003dd66
push 0x10
push str.DolphinWallpaper
lea ecx, [ebp - 0x440]
call fcn.10007690
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.haloWallpaper
push SysReAllocString
call ebx
test eax, eax
je 0x1003dddb
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003ddad
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.100399a0
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.10069b58
mov esp, ebp
pop ebp
ret
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1003deb9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x444], eax
push 0x100fe3b0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x444]
push str._s__s
push eax
call fcn.10006000
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.halowallpaper_shellopencommand
push SysReAllocString
call ebx
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
test eax, eax
mov eax, edi
je 0x1003de72
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003de5b
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 0x1003dda3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003de84
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 0x1003dea0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1003ddaf
call fcn.10096e03
push 0x80004005
call fcn.10005ea0
push 0x80004005
call fcn.10005ea0
int3