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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0786
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100cdbe8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0x208
call fcn.100826fd
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1001f80e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.100475c0
mov dword [ebp - 4], 0
jmp 0x1001f53e
lea ecx, [ebp - 0x27c]
call fcn.10035a00
lea ecx, [ebp - 0x27c]
call fcn.10047810
test eax, eax
je 0x1001f687
lea ecx, [ebp - 0x27c]
call fcn.10047810
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
push ecx
push str._s_s
mov edx, dword [ebp - 0x10]
push edx
call fcn.1001f830
add esp, 0x10
push 0x104
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.10082470
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x1001f682
push 0x100ac888
lea eax, [ebp - 0x240]
push eax
call fcn.1009ea45
add esp, 8
test eax, eax
je 0x1001f659
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
push eax
push str._s_s
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1001f830
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x1001f636
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [ebp + 0x10]
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1001f634
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.1001fb40
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x280]
call fcn.10035860
jmp 0x1001f659
mov ecx, dword [ebp - 0x298]
add ecx, 4
call fcn.1001fb40
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x284]
call fcn.10035860
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001f5b9
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1001f533
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10034cd0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x1001f78b
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
push eax
push 0x100ac87c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1001f830
add esp, 0xc
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x1001f78b
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x1001f762
push 0x100ac878
lea edx, [ebp - 0x240]
push edx
call fcn.1009ea45
add esp, 8
test eax, eax
je 0x1001f762
push 0x100ac870
lea eax, [ebp - 0x240]
push eax
call fcn.1009ea45
add esp, 8
test eax, eax
je 0x1001f762
mov ecx, dword [ebp - 0x298]
add ecx, 0x10
call fcn.1001fd10
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
push eax
push str._s_s_
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1001f830
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x288]
call fcn.1001f4a0
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001f6e3
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x10]
push eax
call fcn.100824ea
add esp, 4
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x1001f80e
mov edx, dword [ebp - 0x298]
add edx, 0x10
push edx
lea ecx, [ebp - 0x294]
call fcn.100475c0
mov dword [ebp - 4], 1
jmp 0x1001f7c8
lea ecx, [ebp - 0x294]
call fcn.10035a00
lea ecx, [ebp - 0x294]
call fcn.10047810
test eax, eax
je 0x1001f7fc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x294]
call fcn.10047810
mov ecx, eax
call fcn.1001f4d0
jmp 0x1001f7bd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10034cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10081238
mov esp, ebp
pop ebp
ret 0x10