Function at 0x460d7b
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5e0c20
call fcn.00593b07
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x460d9c
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461101
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 0x460dd4
mov esi, dword [esi]
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
lea edx, [ebp - 0xac]
call fcn.0041e238
pop ecx
test eax, eax
je 0x4610f6
cmp dword [ebp - 0x8c], 0
je 0x4610f6
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 - 0xa0], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
push ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00404ba6
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push eax
call fcn.004368f3
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.004056d7
test al, al
je 0x4610e1
push 0x633e58
call fcn.00405401
lea edx, [ebp - 0xa0]
mov ecx, eax
call fcn.00436e86
push str.kind
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0x8c]
mov ecx, eax
call fcn.00436e86
push str.dyna_kind
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0xa4]
mov ecx, eax
call fcn.00436e86
push str.down_file_md5
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00436f2a
push str.down_file_size
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x704]
mov ecx, eax
call fcn.00436ed8
push 0x63cd98
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x7cc]
mov ecx, eax
call fcn.00436f2a
push str.is_preview
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x7e4]
mov ecx, eax
call fcn.00436dbd
push str.themeId
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x808]
mov ecx, eax
call fcn.00436e86
push str.origin
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x824]
mov ecx, eax
call fcn.00436f2a
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x6e4], eax
test eax, eax
jne 0x460f9c
mov byte [edi + 0x708], 1
jmp 0x460fa3
mov byte [edi + 0x708], 0
lea ecx, [ebp - 0x70]
call fcn.004251b3
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 [edi + 0x708], al
je 0x46100b
mov esi, str.360browser_bkinfolocaldy_
push esi
call fcn.005baec0
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.00429700
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67e
jmp 0x461079
mov esi, str.360browser_bkinfo_
push esi
call fcn.005baec0
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.00429700
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67e
mov esi, 0x62aa1c
push esi
call fcn.005baec0
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, [edi + 0x6ec]
call fcn.00413220
push 2
pop ecx
cmp dword [ebp - 0x8c], ecx
jne 0x4610bb
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4610a6
mov dword [ebx + 0x78], 1
jmp 0x4610cb
cmp eax, 1
jne 0x4610b0
mov dword [ebx + 0x78], ecx
jmp 0x4610cb
cmp eax, ecx
jne 0x4610cb
mov dword [ebx + 0x78], 3
cmp dword [ebp - 0x8c], 1
jne 0x4610cb
mov dword [ebx + 0x78], 4
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x9c]
call fcn.00404dbc
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0xb0]
call fcn.0041e3bd
call fcn.00593ab1
ret 8