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

Disassembly:
push 0x2c8
mov eax, 0x1006d159
call fcn.100177a1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x2d4], esi
call fcn.1000cc97
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1000d4ad
pop ecx
test eax, eax
jne 0x100118cf
mov ebx, 0x1006e4a8
push ebx
call fcn.10054ad4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x58]
call fcn.10007f60
xor ebx, ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 1
push eax
push 0x1006fdf0
push esi
call fcn.1000d6e6
add esp, 0xc
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
push eax
call fcn.1000db64
mov ebx, 0x1007009c
mov byte [ebp - 4], 2
push ebx
call fcn.10054ad4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.10007f60
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2d0], ebx
cmp ebx, 0xffffffff
je 0x10011abe
test byte [ebp - 0x2c0], 0x10
je 0x100119cc
cmp word [ebp - 0x294], 0x2e
je 0x10011aa1
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.1000db64
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
call fcn.10054ad4
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007f60
cmp byte [ebp + 0x14], 0
je 0x100119bb
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.1001187d
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100069f0
jmp 0x10011aa1
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10013bbd
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
call fcn.1000d815
mov esi, dword [ebp - 0x2cc]
add esp, 0xc
xor bl, bl
jmp 0x10011a1b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10011a00
mov ecx, dword [esi]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.10054d32
pop ecx
pop ecx
test eax, eax
je 0x10011a25
add esi, 0x18
cmp esi, dword [ebp - 0x2c8]
jne 0x100119f6
jmp 0x10011a27
mov bl, 1
test bl, bl
je 0x10011a89
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x58]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.1000db64
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
push eax
call fcn.10054ad4
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007f60
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x10011a75
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1000c94c
jmp 0x10011a81
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.1000c96e
lea ecx, [ebp - 0x28]
call fcn.100069f0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.100069f0
mov ebx, dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2d4]
lea eax, [ebp - 0x2c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10011950
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.100069f0
lea ecx, [ebp - 0x2cc]
call fcn.1000dbfc
lea ecx, [ebp - 0x58]
call fcn.100069f0
call fcn.1001775c
ret