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

Disassembly:
push 0x2c8
mov eax, 0x1015f5a3
call fcn.100271ca
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x2d4], esi
call fcn.1000ab70
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10016207
pop ecx
test eax, eax
jne 0x100178fb
mov ebx, 0x10161770
push ebx
call fcn.10143239
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.1000c610
xor ebx, ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
push 0x1016175c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1000ab70
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1000ab70
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001662e
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.1000c5b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1000c5b0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], ebx
call fcn.100147a8
mov ebx, 0x10162510
mov byte [ebp - 4], 4
push ebx
call fcn.10143239
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x58]
call fcn.1000c610
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 ebx, eax
mov dword [ebp - 0x2d0], ebx
cmp ebx, 0xffffffff
je 0x10017b1e
test byte [ebp - 0x2c0], 0x10
je 0x10017a2c
cmp word [ebp - 0x294], 0x2e
je 0x10017b01
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100147a8
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
push eax
call fcn.10143239
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c610
cmp byte [ebp + 0x14], 0
je 0x10017a1b
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.100178a9
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.1000c5b0
jmp 0x10017b01
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10015532
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.10016880
mov esi, dword [ebp - 0x2cc]
add esp, 0xc
xor bl, bl
jmp 0x10017a7b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10017a60
mov ecx, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1014341c
pop ecx
pop ecx
test eax, eax
je 0x10017a85
add esi, 0x18
cmp esi, dword [ebp - 0x2c8]
jne 0x10017a56
jmp 0x10017a87
mov bl, 1
test bl, bl
je 0x10017ae9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.100147a8
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 7
push eax
call fcn.10143239
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c610
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x10017ad5
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10013663
jmp 0x10017ae1
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.10013685
lea ecx, [ebp - 0x28]
call fcn.1000c5b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.1000c5b0
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 0x100179b0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x58]
call fcn.1000c5b0
lea ecx, [ebp - 0x2cc]
call fcn.10014b14
lea ecx, [ebp - 0x70]
call fcn.1000c5b0
call fcn.10027185
ret