Function at 0x565250
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb27a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2a4], edi
push 1
call fcn.00554030
push str.Fixing__Chromes_black_window_...
push 0xffffffffffffffff
mov ecx, edi
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
mov ecx, 0x64a06c
call fcn.005cc330
push 0
push 1
mov ecx, edi
call fcn.005494d0
test eax, eax
je 0x5652da
or eax, 0xffffffff
jmp 0x56566f
mov ecx, 1
call fcn.0059e240
mov esi, eax
mov dword [ebp - 0x29c], esi
xor eax, eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2a0], eax
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0057c1c0
push eax
push 1
push ecx
mov ecx, edi
call fcn.0057c260
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc260
mov ecx, eax
call fcn.005dad50
lea ecx, [ebp - 0x38]
call fcn.005dbeb0
test al, al
je 0x565381
push 1
push str.AppDataLocal
call fcn.005dc260
push 0x250
xorps xmm0, xmm0
lea eax, [ebp - 0x298]
push 0
movups xmmword [ebp - 0x48], xmm0
push eax
mov dword [ebp - 0x48], 0xffffffff
call fcn.00420090
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [esi], 0
mov dword [ebp - 0x2b0], 0
jbe 0x565612
mov dword [ebp - 0x2a8], 0
push 0
push 1
mov ecx, edi
call fcn.005494d0
test eax, eax
jne 0x56560d
mov edi, dword [esi + 4]
lea ecx, [ebp - 0x38]
add edi, dword [ebp - 0x2a8]
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x64a0a4
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc200
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5655cb
inc dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64a0d8
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 4
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
neg eax
lea ecx, [ebp - 0x2c]
push 0
sbb eax, eax
push 0
neg eax
add dword [ebp - 0x2a0], eax
push 0x6249f8
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov ecx, dword [ebp - 0x48]
mov edi, eax
cmp ecx, 0xffffffff
je 0x5654af
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x298]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x48], edx
cmp edx, 0xffffffff
je 0x5655cb
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 5
mov dword [ebp - 0x44], ecx
nop dword [eax]
cmp word [ebp - 0x26c], 0x2e
jne 0x56550e
mov ax, word [ebp - 0x26a]
test ax, ax
je 0x5655a2
cmp ax, 0x2e
jne 0x56550e
cmp word [ebp - 0x268], 0
je 0x5655a2
test ecx, ecx
je 0x565530
mov eax, dword [ebp - 0x298]
test cl, 1
je 0x565524
test eax, 0x400
jne 0x5655a2
test cl, 2
je 0x565599
test al, 0x10
jne 0x5655a2
nop dword [eax]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.GPUCache
lea eax, [ebp - 0x26c]
push eax
push 0x624284
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
push 4
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x48]
cmp eax, 0xffffffff
je 0x5655cb
lea ecx, [ebp - 0x298]
push ecx
push eax
call edi
test eax, eax
je 0x5655bb
lea ecx, [ebp - 0x298]
call fcn.004011a0
test al, al
jne 0x565530
jmp 0x5655cb
test cl, 4
je 0x565530
test al, 0x10
jne 0x565530
lea eax, [ebp - 0x298]
push eax
push edx
call edi
test eax, eax
je 0x5655bb
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
jmp 0x5654e0
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x48], 0xffffffff
mov edi, dword [ebp - 0x2b0]
add dword [ebp - 0x2a8], 0xc
inc edi
cmp edi, dword [esi]
mov dword [ebp - 0x2b0], edi
mov edi, dword [ebp - 0x2a4]
jb 0x5653c6
cmp dword [ebp - 0x2ac], 0
je 0x565612
mov edi, dword [ebp - 0x2a0]
mov eax, str.Failed_to_fix_Chromes_Black_Window:__Access_denied
test edi, edi
mov ecx, str.Successfully_fixed_Chromes_Black_Window.
cmovne eax, ecx
jmp 0x56561d
or edi, 0xffffffff
jmp 0x56563e
mov edi, dword [ebp - 0x2a0]
mov eax, str.Failed_to_fix_Chromes_Black_Window:_Chrome_Appdata_files_not_found
mov ecx, dword [ebp - 0x2a4]
push 0
push 0
push 0
push eax
call fcn.0057b7e0
xor eax, eax
test edi, edi
setne al
mov dword [ebp - 0x2a4], eax
mov edi, eax
mov eax, dword [ebp - 0x48]
cmp eax, 0xffffffff
je 0x56564d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
push ecx
mov ecx, esi
call fcn.00402a20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4