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

Disassembly:
push 0x288
mov eax, 0x10551c1
call fcn.01034bcc
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x24c
lea eax, [ebp - 0x25c]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x260], esi
call fcn.01035620
add esp, 0xc
push ebx
lea ecx, [ebp - 0x270]
call fcn.01017b7f
mov dword [ebp - 4], esi
push 0x1002e34
lea ecx, [ebp - 0x270]
call fcn.0101686c
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x278], eax
jne 0x1019670
mov esi, 0x80004005
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0102e513
mov eax, esi
call fcn.01034c4f
ret 4
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10198c1
mov esi, 0x1002e24
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
call fcn.01017b7f
mov byte [ebp - 4], 1
push 0x1002e30
lea ecx, [ebp - 0x264]
call fcn.01011915
test eax, eax
je 0x1019897
push 0x1002e28
lea ecx, [ebp - 0x264]
call fcn.01011915
test eax, eax
je 0x1019897
test byte [ebp - 0x260], 0x10
push ebx
je 0x101977c
lea ecx, [ebp - 0x26c]
call fcn.01017b7f
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x294]
call fcn.01017b7f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.01016709
mov byte [ebp - 4], 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x26c]
push eax
call fcn.010143e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0102e513
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x294]
call fcn.0102e513
mov eax, dword [ebp - 0x26c]
and dword [edi + 4], 0
push eax
mov ecx, edi
mov dword [ebp - 0x290], eax
call fcn.010195e4
test eax, eax
jl 0x101976d
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
jmp 0x1019892
test byte [ebp - 0x260], 1
je 0x1019817
lea ecx, [ebp - 0x280]
call fcn.01017b7f
mov byte [ebp - 4], 5
push esi
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.01016762
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x264]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.01016709
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x288]
call fcn.0102e513
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x280]
call fcn.0102e513
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10197ed
push dword [ebp - 0x268]
mov eax, dword [ecx]
call dword [eax]
push 0x80
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x268]
mov ecx, edi
call fcn.01017bf5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
jmp 0x1019892
lea ecx, [ebp - 0x28c]
call fcn.01017b7f
mov byte [ebp - 4], 0xa
push esi
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.01016762
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x264]
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.01016709
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x284]
call fcn.0102e513
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28c]
call fcn.0102e513
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x101987b
push dword [ebp - 0x274]
mov eax, dword [ecx]
call dword [eax]
push dword [ebp - 0x274]
mov ecx, edi
call fcn.01017bf5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.0102e513
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0102e513
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101968b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x10198dc
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x10198e1
mov eax, 0x80004005
mov esi, eax
jmp 0x1019657