Function at 0x465e58
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e92c5
call fcn.0059bbd7
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x465e79
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466215
xor eax, eax
mov dword [ebp - 0xb0], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x8c], eax
jb 0x465eb1
mov esi, dword [esi]
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
lea edx, [ebp - 0xac]
call fcn.0041e461
pop ecx
test eax, eax
je 0x46620a
cmp dword [ebp - 0x8c], 0
je 0x46620a
push dword [ebp - 0x8c]
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0xac]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040464f
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
push ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00404ba6
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push eax
call fcn.0043b9c3
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.004056d7
test al, al
je 0x4661f5
push 0x63dc28
call fcn.00405401
lea edx, [ebp - 0xa4]
mov ecx, eax
call fcn.0043bf56
push str.kind
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebp - 0x8c]
mov ecx, eax
call fcn.0043bf56
push str.dyna_kind
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.0043bf56
push str.down_file_md5
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.0043bffa
push str.down_file_size
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebx + 0x704]
mov ecx, eax
call fcn.0043bfa8
push 0x646b80
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebx + 0x7cc]
mov ecx, eax
call fcn.0043bffa
push str.is_preview
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebx + 0x7e4]
mov ecx, eax
call fcn.0043be8d
push str.themeId
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebx + 0x808]
mov ecx, eax
call fcn.0043bf56
push str.origin
lea ecx, [ebp - 0xa0]
call fcn.00405401
lea edx, [ebx + 0x824]
mov ecx, eax
call fcn.0043bffa
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x6e4], eax
test eax, eax
jne 0x466079
mov byte [ebx + 0x708], 1
jmp 0x466080
mov byte [ebx + 0x708], 0
lea ecx, [ebp - 0x70]
call fcn.00425665
and dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 5
cmp byte [ebx + 0x708], al
je 0x4660e8
mov esi, str.360browser_bkinfolocaldy_
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0040b220
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042adda
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67e
jmp 0x466156
mov esi, str.360browser_bkinfo_
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0040b220
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042adda
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67e
mov esi, 0x633b6c
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b220
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0x6ec]
call fcn.0041322b
push 2
pop eax
cmp dword [ebp - 0x8c], eax
jne 0x4661cf
mov esi, dword [ebp - 0x90]
test esi, esi
jne 0x466183
mov dword [edi + 0x78], 1
jmp 0x466198
cmp esi, 1
jne 0x46618d
mov dword [edi + 0x78], eax
jmp 0x466198
cmp esi, eax
jne 0x466198
mov dword [edi + 0x78], 3
push 0x646ba0
lea ecx, [edi + 0x18]
call fcn.00410858
test al, al
je 0x4661df
lea eax, [esi + 2]
mov edx, str.Software360360huabaoDynamicWallpaper
mov dword [ebp - 0x90], eax
mov ecx, reloc.WS2_32.dll_accept
lea eax, [ebp - 0x90]
push eax
push str.play_last_type_detail
call fcn.00426539
pop ecx
pop ecx
cmp dword [ebp - 0x8c], 1
jne 0x4661df
mov dword [edi + 0x78], 4
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0xa0]
call fcn.00404dbc
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0xb0]
call fcn.0041e5e6
call fcn.0059bb81
ret 8