Function at 0x1000e98a
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2c8
mov eax, 0x100733ef
call fcn.1003d449
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2c4], ebx
call fcn.10001540
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.1000dd86
pop ecx
test eax, eax
jne 0x1000e9df
mov edi, 0x1008a214
push edi
call fcn.10020feb
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10003330
xor eax, eax
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 1
push eax
push 0x100772a8
push esi
call fcn.1000ddc0
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.10003150
mov edi, 0x100772a0
mov byte [ebp - 4], 2
push edi
call fcn.10020feb
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.10003330
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ebd0
test byte [ebp - 0x2c0], 0x10
je 0x1000eadc
cmp word [ebp - 0x294], 0x2e
je 0x1000ebb3
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003150
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x1000ea8b
xor eax, eax
jmp 0x1000ea98
lea eax, [ebp - 0x294]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003330
cmp byte [ebp + 0x14], 0
je 0x1000eac7
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.1000e98a
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100015e0
jmp 0x1000ebb3
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100122a2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.1000dfe8
mov esi, dword [ebp - 0x2d0]
add esp, 0xc
xor bl, bl
jmp 0x1000eb2d
cmp dword [esi + 0x14], 8
jb 0x1000eb10
mov ecx, dword [esi]
jmp 0x1000eb12
mov ecx, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1002886f
pop ecx
pop ecx
test eax, eax
je 0x1000eb37
add esi, 0x18
cmp esi, dword [ebp - 0x2cc]
jne 0x1000eb06
jmp 0x1000eb39
mov bl, 1
test bl, bl
je 0x1000eb97
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.10003150
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 5
jne 0x1000eb5b
xor eax, eax
jmp 0x1000eb68
lea eax, [ebp - 0x294]
push eax
call fcn.10020feb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.10003330
mov ebx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.1000ec6c
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.100015e0
jmp 0x1000eb9d
mov ebx, dword [ebp - 0x2c4]
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100015e0
mov esi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000ea56
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.100015e0
lea ecx, [ebp - 0x2d0]
call fcn.100083e0
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.100015e0
call fcn.1003d404
ret