Function at 0x448230
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0x741], 0
je 0x4482d6
push 0x2f
xor eax, eax
mov dword [ebp - 0x26c], 0
push str.https:__dd.browser.360.cn_static_a_1286.274.gif
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00403e30
push 0
xor dl, dl
lea ecx, [ebp - 0x27c]
call fcn.00412a10
mov edx, dword [ebp - 0x268]
add esp, 4
cmp edx, 8
jb 0x4482d6
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4482cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448902
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebx + 0x720], 3
je 0x4482ed
mov ecx, ebx
call fcn.00448e80
mov ecx, ebx
call fcn.0044e5c0
mov ecx, ebx
call fcn.0044a100
lea eax, [ebp - 0x264]
mov dword [ebp - 0x260], 0
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x244], 4
push eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x264], 4
push eax
push str.wallpaper_enable
push str.Software360360se6Chromewallpaper_
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x260], 0
je 0x448387
mov ecx, 0x505be4
call fcn.00411480
test al, al
je 0x44835d
mov ecx, 0x505be4
call fcn.00410b40
push 4
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 1
push eax
push 4
push str.by_wallpaper
push str.Software360360huabao
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x20a
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x50cb88
lea eax, [ebp - 0x240]
push 0x104
push eax
call fcn.004d03e0
add esp, 0xc
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2001f
push str.Software360360se6Chrome_
push SysReAllocString
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
call fcn.0041f9b0
test eax, eax
jne 0x448422
push str.wallpaper
lea ecx, [ebp - 0x250]
call fcn.0041f7a0
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x448433
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x25c]
call fcn.00413140
cmp dword [ebp - 0x24c], 0
je 0x4484c2
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4484c2
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
push 0
cmovae eax, dword [ebp - 0x25c]
push 0
push str.__force_uninstall
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push eax
push 0x3ac
push str.InstallUtil::UninstallOld360PicExe
push str.__s__d___strOldHuabaoExePath:
call fcn.0041f720
add esp, 0x10
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x448502
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4484f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448907
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp byte [ebx + 0x80d], 0
je 0x448512
mov ecx, ebx
call fcn.0044f750
mov eax, dword [ebx + 0x720]
cmp eax, 2
jne 0x448716
push 0x3a
xor eax, eax
mov dword [ebp - 0x24c], 0
push str.https:__dd.browser.360.cn_static_a_1286.6038.gif__referer
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.00403e30
mov eax, dword [ebx + 0x73c]
xor ecx, ecx
cmp eax, 1
jne 0x448561
mov ecx, eax
jmp 0x44857a
cmp eax, 2
je 0x448575
cmp eax, 3
je 0x448575
cmp eax, 4
jne 0x44857a
lea ecx, [eax - 1]
jmp 0x44857a
mov ecx, 2
lea esi, [ebp - 6]
nop dword [eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x448580
mov word [ebp - 0x27c], dx
mov eax, 7
lea edx, [ebp - 6]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x268], eax
cmp esi, edx
je 0x4485de
mov eax, edx
lea ecx, [ebp - 0x27c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00403e30
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x268]
mov esi, dword [ebp - 0x24c]
lea edx, [ebp - 0x27c]
cmp eax, 8
mov dword [ebp - 0x244], esi
mov eax, dword [ebp - 0x248]
cmovae edx, dword [ebp - 0x27c]
sub eax, esi
cmp ecx, eax
ja 0x448642
cmp dword [ebp - 0x248], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x24c], edi
push eax
mov eax, dword [ebp - 0x244]
lea esi, [ebp - 0x25c]
cmovae esi, dword [ebp - 0x25c]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x44865d
push ecx
push edx
mov byte [ebp - 0x244], 0
push dword [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00404fc0
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x27c]
cmp eax, 8
jb 0x44869d
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448693
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44890c
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0
mov dl, 1
lea ecx, [ebp - 0x25c]
call fcn.00412a10
add esp, 4
cmp dword [ebx + 0x73c], 4
jne 0x4486d3
push 1
push 0
mov ecx, ebx
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_
mov ecx, ebx
call fcn.00448920
push 1
mov ecx, ebx
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x4488f1
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4488cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44890c
jmp 0x4488cf
cmp eax, 9
jne 0x4488ea
push 0x3a
xor eax, eax
mov dword [ebp - 0x24c], 0
push str.https:__dd.browser.360.cn_static_a_1412.1706.gif__referer
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.00403e30
lea esi, [ebp - 6]
xor ecx, ecx
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x448753
mov word [ebp - 0x27c], dx
mov eax, 7
lea edx, [ebp - 6]
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x268], eax
cmp esi, edx
je 0x4487b1
mov eax, edx
lea ecx, [ebp - 0x27c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00403e30
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x268]
mov esi, dword [ebp - 0x24c]
lea edx, [ebp - 0x27c]
cmp eax, 8
mov dword [ebp - 0x244], esi
mov eax, dword [ebp - 0x248]
cmovae edx, dword [ebp - 0x27c]
sub eax, esi
cmp ecx, eax
ja 0x448815
cmp dword [ebp - 0x248], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x24c], edi
push eax
mov eax, dword [ebp - 0x244]
lea esi, [ebp - 0x25c]
cmovae esi, dword [ebp - 0x25c]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x448830
push ecx
push edx
mov byte [ebp - 0x244], 0
push dword [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00404fc0
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x27c]
cmp eax, 8
jb 0x448870
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448866
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448911
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0
mov dl, 1
lea ecx, [ebp - 0x25c]
call fcn.00412a10
add esp, 4
mov ecx, ebx
push 1
push 0
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_
mov ecx, ebx
call fcn.00448920
push 1
mov ecx, ebx
call sym.360huabaosetup.exe_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x4488f1
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4488cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448911
push edx
push ecx
call fcn.004bdd39
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00448920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3