Function at 0x43a790
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 0x4ed691
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5304cc]
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 - 0x438], 1
push 0
push eax
mov dword [ebp - 0x434], 0x104
call fcn.00475d80
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x438]
push eax
push 0x4f93bc
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43a9dc
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a823
sub ecx, edx
sar ecx, 1
je 0x43a9dc
push 0x4f904c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00475d80
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
push str.BirdWallpaper
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a8c6
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], 0x104
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.URL_Protocol
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x424]
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a8f8
test dx, dx
je 0x43a8f4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a8f8
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a8d2
xor eax, eax
jmp 0x43a8fd
sbb eax, eax
or eax, 1
test eax, eax
je 0x43aacf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a910
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.BirdWallpaper
push SysReAllocString
call ebx
test eax, eax
jne 0x43a9dc
call fcn.00408990
mov ecx, eax
test ecx, ecx
je 0x43aad9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
push str.BirdWallpaper
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00407e20
test al, al
jne 0x43a995
push 0xd
push str.BirdWallpaper
lea ecx, [ebp - 0x428]
call fcn.00407830
mov esi, dword [ebp - 0x428]
mov dword [ebp - 4], 1
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push str.BirdWallpaper
push SysReAllocString
call ebx
test eax, eax
je 0x43aa0a
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a9dc
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.00436400
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.00468d78
mov esp, ebp
pop ebp
ret
call fcn.00408990
mov ecx, eax
test ecx, ecx
je 0x43aae3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push 0x4f93b0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x42c]
push str._s__s
push eax
call fcn.00406230
mov edi, dword [ebp - 0x42c]
add esp, 0x10
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push 0
push str.BirdWallpaper_shellopencommand
push SysReAllocString
call ebx
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
test eax, eax
mov eax, edi
je 0x43aaa1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43aa8a
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 0x43a9d2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43aab3
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 0x43aacf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x43a9de
push 0x80004005
call fcn.004060d0
push 0x80004005
call fcn.004060d0
int3