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

Disassembly:
mov eax, 0x108c78f
call fcn.01026ef8
sub esp, 0x26c
mov eax, dword [0x10a1e18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x268], edi
jne 0x101f13e
cmp byte [esi + 0x41], 0
je 0x101f13e
cmp byte [esi + 0x42], 0
jne 0x101f35b
cmp byte [ebp + 8], 0
je 0x101f35b
mov ecx, esi
call fcn.0101ea92
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x101f151
mov eax, 0x1001ea8
lea edi, [esi + 0x10]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x101f18c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x101f177
call esi
mov edi, eax
jmp 0x101f35b
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
jmp 0x101f35b
test byte [edi], 0x10
mov byte [esi + 0x40], 1
je 0x101f329
xor edi, edi
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x26c], edi
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], edi
call fcn.0101a4e4
push 0x1002a78
lea ecx, [ebp - 0x278]
call fcn.0101a325
cmp ebx, edi
mov eax, ebx
jne 0x101f1da
mov eax, 0x1002ae8
push eax
lea ecx, [ebp - 0x278]
call fcn.0101a325
mov eax, dword [ebp - 0x274]
cmp eax, edi
jne 0x101f1f5
mov eax, 0x1001ea8
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x268], eax
jne 0x101f242
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x101f220
call esi
mov edi, eax
jmp 0x101f230
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
push 1
lea ecx, [ebp - 0x278]
call fcn.0101930d
jmp 0x101f35b
mov ebx, dword [sym.imp.msvcrt.dll_wcscmp]
xor edi, edi
inc edi
test byte [ebp - 0x260], 0x10
je 0x101f284
lea eax, [ebp - 0x234]
push 0x1002ae4
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x101f26a
xor edi, edi
lea eax, [ebp - 0x234]
push 0x1002adc
push eax
call ebx
test eax, eax
pop ecx
pop ecx
jne 0x101f280
xor edi, edi
test edi, edi
je 0x101f2f2
push 0x44
call fcn.0101d067
pop ecx
mov ecx, eax
mov dword [ebp - 0x264], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x101f2ab
push esi
lea eax, [ebp - 0x260]
push eax
call fcn.0101f055
jmp 0x101f2ad
xor eax, eax
test eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x264], eax
je 0x101f376
cmp byte [ebp + 8], 0
je 0x101f2dc
push 0
push 0
push 1
mov ecx, eax
call fcn.0101f0f0
mov edi, eax
test edi, edi
jl 0x101f37b
lea eax, [ebp - 0x264]
push eax
lea ecx, [esi + 0x34]
call fcn.01064a75
and dword [ebp - 0x264], 0
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x101f248
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x101f38e
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x278]
call fcn.0101930d
mov al, byte [ebp + 8]
mov byte [esi + 0x41], 1
mov byte [esi + 0x42], al
xor edi, edi
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x101f346
push 1
call fcn.0101ee1c
cmp dword [ebp - 0x268], 0
je 0x101f35b
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101cf4f
leave
ret 0xc
mov edi, 0x8007000e
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x278]
call fcn.0101930d
jmp 0x101f335
test eax, eax
jle 0x101f39c
and eax, 0xffff
or eax, 0x80070000
push 1
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.0101930d
jmp 0x101f346