Function at 0x478ba4
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x304
mov eax, 0x5eb5a1
call fcn.0059bbd7
xor ebx, ebx
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 4], ebx
call fcn.00401c84
push ebx
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 1
call fcn.00404ba6
push 1
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00401d1d
test al, al
je 0x478eba
lea ecx, [ebp - 0x2f8]
call fcn.004056d7
test al, al
je 0x478eba
mov esi, 0x63f76c
push esi
call fcn.00405597
test al, al
je 0x478eba
push esi
lea ecx, [ebp - 0x2f8]
call fcn.00405401
mov ecx, eax
call fcn.00405683
test al, al
je 0x478eba
push esi
lea ecx, [ebp - 0x2f8]
call fcn.00405401
mov ecx, eax
call fcn.00405002
cmp eax, 0xc8
jne 0x478eba
mov esi, str.data
lea ecx, [ebp - 0x2f8]
push esi
call fcn.00405597
test al, al
je 0x478eba
push ebx
lea ecx, [ebp - 0x310]
call fcn.00404ba6
push esi
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 3
call fcn.00405401
push eax
lea ecx, [ebp - 0x310]
call fcn.00404e62
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], bl
mov esi, 0x64f778
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x310]
call fcn.00405597
test al, al
je 0x478ea4
push esi
lea ecx, [ebp - 0x310]
call fcn.00405401
mov ecx, eax
call fcn.004056be
test al, al
je 0x478ea4
lea eax, [ebp - 0x250]
push eax
push ecx
push esi
lea ecx, [ebp - 0x310]
call fcn.00405401
pop ecx
mov ecx, eax
call fcn.00404f93
push eax
lea ecx, [ebp - 0x268]
call fcn.00409145
lea ecx, [ebp - 0x250]
call fcn.00404812
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2dc], ebx
push ebx
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
call fcn.00426ce7
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x478d4d
mov eax, dword [eax]
push ecx
push 0x2c
lea edx, [ebp - 0x2e4]
mov ecx, eax
call fcn.0043594a
pop ecx
pop ecx
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0040b67e
mov eax, dword [ebp - 0x2e0]
mov esi, ebx
mov edi, dword [ebp - 0x2e4]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x2fc], eax
test eax, eax
jle 0x478e97
lea ecx, [ebp - 0x250]
call fcn.00425665
mov ebx, str.360browser_bkinfo_
mov byte [ebp - 4], 7
push ebx
call fcn.005c2f90
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x250]
call fcn.0040b220
mov ebx, dword [ebp - 0x2fc]
push edi
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0042adda
add esp, 0xc
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478e16
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x478e16
inc esi
lea ecx, [ebp - 0x238]
call fcn.0040b67e
add edi, 0x18
sub ebx, 1
jne 0x478dc0
push 0x20a
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x220]
push esi
push str.https:__dd.browser.360.cn_static_a_1151.4364.gif__referer_d
push 0x104
push eax
call fcn.00412a13
add esp, 0x10
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x238]
push eax
call fcn.0040b0d5
push 1
push 1
mov dl, 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
call fcn.004ce396
pop ecx
pop ecx
lea ecx, [ebp - 0x238]
call fcn.0040b67e
lea ecx, [ebp - 0x250]
call fcn.0040b67e
lea ecx, [ebp - 0x2e4]
call fcn.004132fb
mov bl, 1
lea ecx, [ebp - 0x268]
call fcn.00404812
lea ecx, [ebp - 0x310]
call fcn.00404dbc
lea ecx, [ebp - 0x2f8]
call fcn.00404dbc
lea ecx, [ebp - 0x2d8]
call fcn.00402bc3
lea ecx, [ebp + 8]
call fcn.00404812
mov al, bl
call fcn.0059bb81
ret 0x18