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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad67b
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x100d65e8]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x1002e171
cmp dword [edi + 0x14], 8
jb 0x1002df28
mov eax, dword [edi]
jmp 0x1002df2a
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1002e171
push str..
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.10026a30
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2dc], eax
cmp eax, 0xffffffff
je 0x1002e12b
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x2ac]
push eax
push 0x100bdae0
call fcn.10081e9e
add esp, 8
test eax, eax
je 0x1002e104
lea eax, [ebp - 0x2ac]
push eax
push 0x100bdc7c
call fcn.10081e9e
add esp, 8
test eax, eax
je 0x1002e104
push 0x100bdb2c
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.10026a30
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10026c70
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], 8
jb 0x1002dffa
push dword [ebp - 0x58]
call fcn.1007d9ed
add esp, 4
xor eax, eax
test byte [ebp - 0x2d8], 0x10
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
je 0x1002e0cc
test bl, bl
je 0x1002e0b4
push 0x100bdb2c
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.10026a30
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10026c70
add esp, 0xc
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.10025e40
mov byte [ebp - 4], 4
cmp dword [ebp - 0x5c], 8
jb 0x1002e071
push dword [ebp - 0x70]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 8
jb 0x1002e09d
push dword [ebp - 0x88]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp byte [ebp + 0x14], 0
je 0x1002e0db
push 1
push ebx
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.1002dee0
add esp, 0x10
jmp 0x1002e0db
test bl, bl
jne 0x1002e0db
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.1001a1f0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x1002e0f0
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002df83
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x1002e159
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov eax, esi
jmp 0x1002e173
xor eax, eax
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.1007e654
mov esp, ebp
pop ebp
ret