Function at 0x439490
Capabilities:
Check if file exists
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8b61
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x5294ac]
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 ebx, dword [ebp + 8]
call fcn.00408380
mov ecx, eax
test ecx, ecx
je 0x439e36
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc40], eax
mov dword [ebp - 4], 0
mov dword [ebp - method.mf_bind_t_class_CInstaller__class_CInstaller___void_.virtual_0], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0xc28], 0x438670
mov dword [ebp - 0xc24], ebx
lea eax, [ebp - 0xc2c]
mov byte [ebp - 4], 1
push eax
call fcn.00442960
add esp, 4
mov byte [ebp - 4], 0
call fcn.00432cc0
mov esi, eax
call fcn.00432cd0
mov ecx, eax
call fcn.00432dd0
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x2c]
push eax
push str.install_type:_d__install_version:_s
call fcn.004343b0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 0
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 2
push eax
call fcn.00442960
add esp, 0x10
mov byte [ebp - 4], 0
lea edi, [ebx + 4]
push edi
call fcn.00432cd0
mov ecx, eax
call fcn.00432de0
push eax
call fcn.00448830
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 2
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 3
push eax
call fcn.00442960
mov esi, dword [edi]
lea ecx, [ebp - 0xc30]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.00442e80
push esi
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 4
call fcn.00443460
lea ecx, [ebp - 0xc30]
call fcn.00443770
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 0
call fcn.00442f90
push str.remove_all_pending_files
call fcn.004343b0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 3
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 5
push eax
call fcn.00442960
push str..tmp
push dword [edi]
mov byte [ebp - 4], 0
call fcn.004086e0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 4
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 6
push eax
call fcn.00442960
push dword [edi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.004343b0
push str.update
lea eax, [ebp - 0xc24]
push edi
push eax
call fcn.00432410
push dword [eax]
mov byte [ebp - 4], 7
call fcn.00407fb0
mov edx, dword [ebp - 0xc24]
or esi, 0xffffffff
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4396d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [ebp - 0xc24]
push edi
push eax
call fcn.00432410
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.004343b0
mov edx, dword [ebp - 0xc24]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43971b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 5
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 9
push eax
call fcn.00442960
add esp, 4
mov byte [ebp - 4], 0
call fcn.00421bd0
mov ecx, eax
call fcn.0041bc40
test eax, eax
jne 0x4397c7
call fcn.00421bd0
mov ecx, eax
call fcn.0041ad40
push ecx
mov esi, esp
mov dword [ebp - 0xc24], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407940
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00447f70
push ecx
mov esi, esp
mov dword [ebp - 0xc24], esi
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.00407940
add esp, 4
lea ecx, [ebx + 0x9c]
add eax, 0x10
mov dword [esi], eax
call fcn.00447ae0
lea edi, [ebx + 4]
or esi, 0xffffffff
mov ecx, ebx
call fcn.004374e0
test al, 1
jne 0x4397e4
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0xc40]
call fcn.004372d0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0xc3c], 0
push 0
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.UtilsCefHelper.dll
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43987c
lea eax, [ebp - 0x218]
push eax
call fcn.0044fab0
add esp, 4
test eax, eax
je 0x43987c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43987c
push 0x4f9f58
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43987c
push str.3.2623.1401.0
call eax
push eax
push str.install_cef_nRet_d
mov dword [ebp - 0xc3c], 1
call fcn.004343b0
add esp, 8
cmp dword [ebp - 0xc3c], 0
jne 0x439892
push str.install_cef_fail
call fcn.004343b0
add esp, 4
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 0x5d
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 0xa
push eax
call fcn.00442960
push str.start_call_program
mov byte [ebp - 4], 0
call fcn.004343b0
mov eax, dword [edi]
add esp, 8
push dword [eax - 0xc]
push eax
call fcn.00432cd0
mov ecx, eax
call fcn.00432de0
mov ecx, eax
call fcn.0043b3e0
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.00432cd0
mov ecx, eax
call fcn.00432de0
mov ecx, eax
call fcn.0043bc10
push dword [edi]
call fcn.00449a90
add esp, 4
call fcn.00421bd0
mov ecx, eax
call fcn.0041b9d0
push 0x208
push 0
test eax, eax
je 0x43997b
lea eax, [ebp - 0x218]
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.UtilsBirdHelper.exe
push dword [edi]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call eax
push str.helper
call fcn.004343b0
add esp, 4
lea eax, [ebp - 0x218]
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push 0x4f2df4
push eax
call fcn.00431d10
jmp 0x439a09
lea eax, [ebp - 0x420]
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x420]
push str.config.set
push dword [edi]
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call eax
lea eax, [ebp - 0x420]
push eax
push 0x4f94c4
push 0x4f3388
push 0x4f94c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x800
lea eax, [ebp - 0xc20]
push 0
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0xc20]
push str.360wpsrv.exe
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.autorun
call fcn.004343b0
add esp, 4
lea eax, [ebp - 0xc20]
lea ecx, [ebx + 0x6c]
push 0x3c
push 0
push 0
push eax
push 1
call fcn.00445e30
test eax, eax
jne 0x439a25
push 0x11
push str.set_autorun_fail
lea ecx, [ebp - 0xc40]
mov dword [ebp - 0xc3c], eax
call fcn.004372d0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 0x60
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 0xb
push eax
call fcn.00442960
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebx + 0x7c], 0
je 0x439b61
call fcn.00408380
mov ecx, eax
test ecx, ecx
je 0x439e40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc38], eax
push str.birdwallpaper
lea ecx, [ebp - 0xc38]
mov byte [ebp - 4], 0xc
call fcn.00407810
test al, al
jne 0x439ab1
push 0xd
push str.birdwallpaper
lea ecx, [ebp - 0xc38]
call fcn.00407220
mov edi, dword [ebp - 0xc38]
mov byte [ebp - 4], 0xd
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push 0x4f9c68
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x439b43
call fcn.00408380
mov ecx, eax
test ecx, ecx
je 0x439e4a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc24], eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc24]
push str.write_ProductName_fail_:_d
push eax
call fcn.00405c20
mov esi, dword [ebp - 0xc24]
push esi
call fcn.004343b0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xd
or esi, 0xffffffff
add esp, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439b43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x439b5e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edi, [ebx + 4]
mov ecx, ebx
call fcn.00439fe0
test eax, eax
jne 0x439b84
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0xc40]
mov dword [ebp - 0xc3c], eax
call fcn.004372d0
mov ecx, ebx
call fcn.00438720
mov ecx, ebx
call fcn.00437840
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0xc2c], 0x438680
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc24], 0x62
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 0xf
push eax
call fcn.00442960
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0
push 0
push eax
call fcn.004711f0
add esp, 0x10
lea eax, [ebp - 0x218]
push str.ComputerZ.set
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push 0
push str.hide
push str.installbridge
call esi
lea eax, [ebp - 0x218]
push eax
push 0
push str.source
push str.installbridge
call esi
push str.install_end.
call fcn.004343b0
mov eax, dword [ebp - 0xc3c]
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0xc40]
mov dword [ebp - method.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.virtual_0], vtable.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.0
mov dword [ebp - 0xc30], 0x438650
mov dword [ebp - 0xc2c], ebx
mov dword [ebp - 0xc24], eax
lea eax, [ebp - 0xc34]
mov byte [ebp - 4], 0x10
push eax
call fcn.00442960
add esp, 8
mov byte [ebp - 4], 0
call fcn.00421bd0
mov ecx, eax
call fcn.0041af20
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407940
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xc24], esi
mov edx, dword [esi - 0xc]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xc38], edx
test edx, edx
js 0x439e54
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x439cd8
push edx
lea ecx, [ebp - 0xc24]
call fcn.00406f80
mov esi, dword [ebp - 0xc24]
mov edx, dword [ebp - 0xc38]
lea eax, [edx + 1]
push eax
push esi
call fcn.0049e52f
mov eax, dword [ebp - 0xc38]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x439e54
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x439d26
push str.zhushou
push esi
call fcn.00471650
add esp, 8
test eax, eax
je 0x439d26
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x439d26
call fcn.00417880
test eax, eax
je 0x439d6b
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004711f0
add esp, 0xc
lea eax, [ebp - 0x420]
push str.lpiWpSvc.dll
push dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
push 0x4f2df4
lea eax, [ebp - 0x420]
push 0x4f9cd4
push eax
call fcn.004168b0
add esp, 0x10
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439d87
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00437a90
push dword [edi]
lea ecx, [ebx + 0x80]
call fcn.004462f0
lea ecx, [ebx + 0x80]
call fcn.004465b0
push str.real_install_end.
call fcn.004343b0
lea esi, [ebx + 0xf4]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 4
mov dword [ebp - 0xc24], esi
test esi, esi
je 0x439dd2
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebx + 0x68]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x439de3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x13
test esi, esi
je 0x439df1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, dword [ebp - 0xc40]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439e16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.004641d8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00405ac0
push 0x80004005
call fcn.00405ac0
push 0x80004005
call fcn.00405ac0
push 0x80070057
call fcn.00405ac0
int3