Function at 0x5610e0
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 0x5faef2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
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 esi, ecx
mov dword [ebp - 0x2a4], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x298], eax
test eax, eax
je 0x5614d7
push str.Clearing_Firefoxs_history...
push 0xffffffffffffffff
call fcn.0057b610
push 0
push 1
mov ecx, esi
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.MozillaFirefoxProfiles_
push ecx
mov ecx, esi
call fcn.0057c260
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dc520
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0057c1c0
push eax
lea ecx, [ebp - 0x2c]
call fcn.005dad50
xor edi, edi
lea eax, [ebp - 0x290]
push 0x250
xorps xmm0, xmm0
mov dword [ebp - 0x2a0], edi
push edi
movups xmmword [ebp - 0x40], xmm0
push eax
mov dword [ebp - 0x40], 0xffffffff
call fcn.00420090
add esp, 0xc
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.005494d0
mov ecx, str.firefox.exe
call fcn.005cc330
mov ecx, dword [ebp - 0x298]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x29c], edi
cmp dword [ecx], edi
jbe 0x561496
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor eax, eax
mov dword [ebp - 0x294], eax
mov esi, dword [ecx + 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, eax
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 0x561275
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 0x561460
mov eax, 5
mov dword [ebp - 0x3c], eax
nop dword [eax]
cmp word [ebp - 0x264], 0x2e
jne 0x5612ce
mov cx, word [ebp - 0x262]
test cx, cx
je 0x561409
cmp cx, 0x2e
jne 0x5612ce
cmp word [ebp - 0x260], 0
je 0x561409
test eax, eax
je 0x5612f9
mov ecx, dword [ebp - 0x290]
test al, 1
je 0x5612e8
test ecx, 0x400
jne 0x561409
test al, 2
je 0x5613f5
test cl, 0x10
jne 0x561409
mov dword [ebp - 0x2a0], 1
mov ecx, dword [ebp - 0x2a4]
push 0
push 1
call fcn.005494d0
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x264]
add esi, dword [ebp - 0x294]
push 0
push 0
push 0
push 0
push 0
push str.cache2
push eax
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 0x561379
push 2
lea ecx, [ebp - 0x20]
call fcn.005dc190
push eax
call fcn.005771e0
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x561460
lea ecx, [ebp - 0x290]
push ecx
push eax
call edi
test eax, eax
je 0x56144c
mov edx, dword [ebp - 0x40]
cmp edx, 0xffffffff
je 0x561460
cmp word [ebp - 0x264], 0x2e
jne 0x5613c9
mov ax, word [ebp - 0x262]
test ax, ax
je 0x561436
cmp ax, 0x2e
jne 0x5613c9
cmp word [ebp - 0x260], 0
je 0x561436
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x561303
mov ecx, dword [ebp - 0x290]
test al, 1
je 0x5613e6
test ecx, 0x400
jne 0x561436
test al, 2
je 0x561422
test cl, 0x10
je 0x561303
jmp 0x561436
test al, 4
je 0x5612f9
test ecx, 0x10
jne 0x5612f9
lea eax, [ebp - 0x290]
push eax
push edx
call edi
test eax, eax
je 0x56144c
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
jmp 0x5612a0
test al, 4
je 0x561303
test ecx, 0x10
jne 0x561303
lea eax, [ebp - 0x290]
push eax
push edx
call edi
test eax, eax
je 0x56144c
mov edx, dword [ebp - 0x40]
jmp 0x5613a3
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
mov dword [ebp - 0x40], 0xffffffff
jmp 0x561466
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, dword [ebp - 0x294]
add eax, 0xc
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x294], eax
cmp edx, dword [ecx]
jb 0x561227
mov edi, dword [ebp - 0x2a0]
push 0
push 0
mov ecx, str.Failed_to_delete
test edi, edi
mov eax, str.Successfully_deleted
cmove eax, ecx
mov ecx, dword [ebp - 0x2a4]
push str._Firefoxs_history
push eax
call fcn.0057b7e0
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xffffffff
je 0x5614c5
push ecx
call esi
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
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