Function at 0x561500
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 0x5faf3c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
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 - 0x29c], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x294], esi
test esi, esi
jne 0x56155d
xor eax, eax
jmp 0x561999
push str.Clearing_Google_Chromes_history...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
mov ecx, 0x64a06c
call fcn.005cc330
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
sub esp, 8
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.GoogleChromeUser_Data_
push ecx
mov ecx, edi
call fcn.0057c260
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc520
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0057c1c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dad50
push 0x250
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], 0
lea eax, [ebp - 0x290]
push 0
movups xmmword [ebp - 0x40], xmm0
push eax
mov dword [ebp - 0x40], 0xffffffff
call fcn.00420090
add esp, 0xc
push 0
push 1
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.005494d0
mov ecx, 0x64a06c
call fcn.005cc330
cmp dword [esi], 0
mov dword [ebp - 0x298], 0
jbe 0x561952
xor edi, edi
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x624384
add esi, edi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov esi, eax
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x561693
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x40], edx
cmp edx, 0xffffffff
je 0x56192e
mov eax, 5
mov dword [ebp - 0x3c], eax
nop word [eax + eax]
cmp word [ebp - 0x264], 0x2e
jne 0x5616ee
mov cx, word [ebp - 0x262]
test cx, cx
je 0x561901
cmp cx, 0x2e
jne 0x5616ee
cmp word [ebp - 0x260], 0
je 0x561901
test eax, eax
je 0x561719
mov ecx, dword [ebp - 0x290]
test al, 1
je 0x561708
test ecx, 0x400
jne 0x561901
test al, 2
je 0x5618ed
test cl, 0x10
jne 0x561901
mov dword [ebp - 0x2a0], 1
mov ecx, dword [ebp - 0x29c]
push 0
push 1
call fcn.005494d0
mov esi, dword [ebp - 0x294]
lea eax, [ebp - 0x264]
push 0
push 0
push 0
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
push 0
push 0
push str.History
push eax
add esi, edi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x561795
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x264]
push 0
push 0
push 0
push 0
push 0
push str.History_Provider_Cache
push eax
add esi, edi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5617f8
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x264]
push 0
push 0
push 0
push 0
push 0
push str.History_journal
push eax
add esi, edi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56185b
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x264]
push 0
push 0
push 0
push 0
push 0
push str.Media_History
push eax
add esi, edi
call fcn.005dc190
push eax
mov ecx, esi
call fcn.005dc190
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc200
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5618be
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x56192e
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x56191e
lea ecx, [ebp - 0x290]
call fcn.004011a0
test al, al
jne 0x561723
jmp 0x56192e
test al, 4
je 0x561719
test ecx, 0x10
jne 0x561719
lea eax, [ebp - 0x290]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x56191e
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
jmp 0x5616c0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x298]
add edi, 0xc
mov esi, dword [ebp - 0x294]
inc eax
mov dword [ebp - 0x298], eax
cmp eax, dword [esi]
jb 0x561645
mov edi, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x2a0]
mov edx, str.Failed_to_delete
push 0
push 0
test esi, esi
mov eax, str.Successfully_deleted
push str._Google_Chromes_history
cmove eax, edx
mov ecx, edi
push eax
call fcn.0057b7e0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xffffffff
je 0x561987
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov eax, esi
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