Function at 0x5619c0
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 0x5faf86
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 0x561a1d
xor eax, eax
jmp 0x561e4b
push str.Clearing_MS_Edges_history...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, edi
call fcn.005494d0
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.MicrosoftEdgeUser_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, 0x64ac00
call fcn.005cc330
cmp dword [esi], 0
mov dword [ebp - 0x298], 0
jbe 0x561e04
xor edi, edi
nop dword [eax + eax]
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 0x561b4e
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 0x561de0
mov eax, 5
mov dword [ebp - 0x3c], eax
cmp word [ebp - 0x264], 0x2e
jne 0x561ba0
mov cx, word [ebp - 0x262]
test cx, cx
je 0x561db3
cmp cx, 0x2e
jne 0x561ba0
cmp word [ebp - 0x260], 0
je 0x561db3
test eax, eax
je 0x561bcb
mov ecx, dword [ebp - 0x290]
test al, 1
je 0x561bba
test ecx, 0x400
jne 0x561db3
test al, 2
je 0x561d9f
test cl, 0x10
jne 0x561db3
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 0x561c47
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 0x561caa
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 0x561d0d
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 0x561d70
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x561de0
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x561dd0
lea ecx, [ebp - 0x290]
call fcn.004011a0
test al, al
jne 0x561bd5
jmp 0x561de0
test al, 4
je 0x561bcb
test ecx, 0x10
jne 0x561bcb
lea eax, [ebp - 0x290]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x561dd0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
jmp 0x561b72
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 0x561b00
mov edi, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x2a0]
mov ecx, str.Failed_to_delete
push 0
push 0
test esi, esi
mov eax, str.Successfully_deleted
push str._MS_Edges_history
cmove eax, ecx
mov ecx, edi
push eax
call fcn.0057b7e0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xffffffff
je 0x561e39
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
ret
jmp 0x561e61
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4