Function at 0x501820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
push esi
push edi
push 0xd
xor eax, eax
mov dword [ebp - 0x26c], 7
push str.BugReport.exe
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0x254], 7
push str.chrome.dll
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x258], 0
mov word [ebp - 0x268], ax
call fcn.00408679
push 0x16
xor eax, eax
mov dword [ebp - 0x23c], 7
push str.chrome_100_percent.pak
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
call fcn.00408679
push 0x16
xor eax, eax
mov dword [ebp - 0x224], 7
push str.chrome_200_percent.pak
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00408679
push 0x10
xor eax, eax
mov dword [ebp - 0x20c], 7
push str.chrome_child.dll
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x210], 0
mov word [ebp - 0x220], ax
call fcn.00408679
push 0xe
xor eax, eax
mov dword [ebp - 0x1f4], 7
push str.chrome_elf.dll
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x1f8], 0
mov word [ebp - 0x208], ax
call fcn.00408679
push 0x12
xor eax, eax
mov dword [ebp - 0x1dc], 7
push str.d3dcompiler_47.dll
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1e0], 0
mov word [ebp - 0x1f0], ax
call fcn.00408679
push 0xe
xor eax, eax
mov dword [ebp - 0x1c4], 7
push str.Downloader.dll
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c8], 0
mov word [ebp - 0x1d8], ax
call fcn.00408679
push 0xf
xor eax, eax
mov dword [ebp - 0x1ac], 7
push str.F1Assistant.dll
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 0x194], 7
push 0xb
mov dword [ebp - 0x198], 0
mov word [ebp - 0x1a8], ax
push str.F1Frame.dll
lea ecx, [ebp - 0x1a8]
call fcn.00408679
push 0xf
xor eax, eax
mov dword [ebp - 0x17c], 7
push str.FrameLoader.dll
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x180], 0
mov word [ebp - 0x190], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0x164], 7
push str.icudtl.dat
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x168], 0
mov word [ebp - 0x178], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0x14c], 7
push str.libEGL.dll
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x150], 0
mov word [ebp - 0x160], ax
call fcn.00408679
push 0xc
xor eax, eax
mov dword [ebp - 0x134], 7
push str.nsis_skin.gt
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], 0
mov word [ebp - 0x148], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0x11c], 7
push str.PrScrn.dll
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x120], 0
mov word [ebp - 0x130], ax
call fcn.00408679
push 0x12
xor eax, eax
mov dword [ebp - 0x104], 7
push str.qb_100_percent.pak
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
call fcn.00408679
push 0x12
xor eax, eax
mov dword [ebp - 0xec], 7
push str.qb_200_percent.pak
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xf0], 0
mov word [ebp - 0x100], ax
call fcn.00408679
push 0xd
xor eax, eax
mov dword [ebp - 0xd4], 7
push str.QQBrowser.exe
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0xbc], 7
push str.QRCode.dll
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 0xa4], 7
push 0xd
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xb8]
mov word [ebp - 0xb8], ax
push str.resources.pak
call fcn.00408679
push 0x11
xor eax, eax
mov dword [ebp - 0x8c], 7
push str.snapshot_blob.bin
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00408679
push 0xb
xor eax, eax
mov dword [ebp - 0x74], 7
push str.switch_core
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00408679
push 0xe
xor eax, eax
mov dword [ebp - 0x5c], 7
push str.tssafeedit.dat
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00408679
push 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
push str.tsurllib.dat
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00408679
push 0xa
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.uninst.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00408679
push dword [ebp - 4]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0xc], 0
push eax
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
call fcn.004fd230
mov edi, 0x18
lea esi, [ebp - 0x14]
mov edi, edi
cmp dword [esi - 0x18], 8
lea esi, [esi - 0x18]
jb 0x501ce4
push dword [esi - 0x14]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [esi], 7
dec edi
mov dword [esi - 4], 0
mov word [esi - 0x14], ax
jns 0x501cd0
mov ecx, dword [ebp - 0xc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x10]
xor ebx, ebx
sub ecx, esi
mov dword [ebp - 4], ebx
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
test edi, edi
jle 0x501d6b
lea esi, [ebx + 1]
mov ebx, dword [ebp - 0x10]
push 1
push ebx
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004bc990
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x501d4c
or dword [ebp - 4], esi
cmp dword [ebp - 0x14], 8
jb 0x501d5d
push dword [ebp - 0x28]
call fcn.00412895
add esp, 4
add ebx, 0x18
rol esi, 1
dec edi
jne 0x501d22
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x501db6
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x501dad
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x501d93
push dword [esi]
call fcn.00412895
mov eax, dword [ebp - 0xc]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x501d80
push edi
call fcn.00412895
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret