Function at 0x4604ab
Capabilities:
Check if file exists

Disassembly:
push 0xa4
mov eax, 0x5deffb
call fcn.00592017
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov ebx, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x4604cc
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460814
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 0x460504
mov esi, dword [esi]
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
lea edx, [ebp - 0xac]
call fcn.0041e235
pop ecx
test eax, eax
je 0x460809
cmp dword [ebp - 0x8c], 0
je 0x460809
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.004368f0
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.004056d7
test al, al
je 0x4607f4
push 0x631e68
call fcn.00405401
lea edx, [ebp - 0xa0]
mov ecx, eax
call fcn.00436e83
push str.kind
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0x8c]
mov ecx, eax
call fcn.00436e83
push str.dyna_kind
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0xa4]
mov ecx, eax
call fcn.00436e83
push str.down_file_md5
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [ebp - 0x28]
mov ecx, eax
call fcn.00436f27
push str.down_file_size
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x704]
mov ecx, eax
call fcn.00436ed5
push 0x63aba8
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x7cc]
mov ecx, eax
call fcn.00436f27
push str.is_preview
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x7e4]
mov ecx, eax
call fcn.00436dba
push str.themeId
lea ecx, [ebp - 0x9c]
call fcn.00405401
lea edx, [edi + 0x808]
mov ecx, eax
call fcn.00436e83
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x6e4], eax
test eax, eax
jne 0x4606af
mov byte [edi + 0x708], 1
jmp 0x4606b6
mov byte [edi + 0x708], 0
lea ecx, [ebp - 0x70]
call fcn.004251b0
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 0x46071e
mov esi, str.360browser_bkinfolocaldy_
push esi
call fcn.005b93d0
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.004296fd
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67b
jmp 0x46078c
mov esi, str.360browser_bkinfo_
push esi
call fcn.005b93d0
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.004296fd
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x88]
call fcn.0040b67b
mov esi, 0x628a24
push esi
call fcn.005b93d0
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.0041321d
push 2
pop ecx
cmp dword [ebp - 0x8c], ecx
jne 0x4607ce
mov eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4607b9
mov dword [ebx + 0x78], 1
jmp 0x4607de
cmp eax, 1
jne 0x4607c3
mov dword [ebx + 0x78], ecx
jmp 0x4607de
cmp eax, ecx
jne 0x4607de
mov dword [ebx + 0x78], 3
cmp dword [ebp - 0x8c], 1
jne 0x4607de
mov dword [ebx + 0x78], 4
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0x9c]
call fcn.00404dbc
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0xb0]
call fcn.0041e3ba
call fcn.00591fc1
ret 8