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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010851b
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x10137920]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 0xc]
je 0x1000ea7a
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x1000ea68
mov eax, dword [esi]
jmp 0x1000ea6a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x1000ea81
xor eax, eax
jmp 0x1000ec96
push 0x10123328
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10010100
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1000eaa5
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f4], eax
cmp eax, 0xffffffff
jne 0x1000eaf0
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [ebp - 0x18], ebx
jb 0x1000ec94
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x1000ec8c
lea eax, [ebp - 0x2c4]
push eax
push 0x10123334
call fcn.10068f48
add esp, 8
test eax, eax
je 0x1000ec42
lea ecx, [ebp - 0x2c4]
push ecx
push 0x10123338
call fcn.10068f48
add esp, 8
test eax, eax
je 0x1000ec42
push 0x1012329c
lea edx, [ebp - 0x64]
push esi
push edx
call fcn.10010100
add esp, 0xc
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 1
call fcn.100102a0
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], ebx
jb 0x1000eb67
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
test byte [ebp - 0x2f0], 0x10
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
je 0x1000ec20
cmp byte [ebp + 0x10], cl
je 0x1000ec05
push 0x1012329c
lea edx, [ebp - 0x9c]
push esi
push edx
call fcn.10010100
add esp, 0xc
lea ecx, [ebp - 0x2c4]
push ecx
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 4
call fcn.100102a0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f830
cmp dword [ebp - 0x34], ebx
jb 0x1000ebd6
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x88], ebx
jb 0x1000ec05
mov edx, dword [ebp - 0x9c]
push edx
call fcn.10065453
add esp, 4
cmp byte [ebp + 0x14], 0
je 0x1000ec2d
mov eax, dword [ebp + 0x10]
push 1
push eax
lea ecx, [ebp - 0x80]
push edi
push ecx
call fcn.1000ea20
add esp, 0x10
jmp 0x1000ec2d
cmp byte [ebp + 0x10], cl
jne 0x1000ec2d
lea ecx, [ebp - 0x80]
call fcn.1000c150
mov byte [ebp - 4], 0
cmp dword [ebp - 0x6c], ebx
jb 0x1000ec42
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
add esp, 4
mov ecx, dword [ebp - 0x2f4]
lea eax, [ebp - 0x2f0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000eaf0
mov edx, dword [ebp - 0x2f4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [ebp - 0x18], ebx
jb 0x1000ec94
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006656c
mov esp, ebp
pop ebp
ret