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

Disassembly:
push 0x2c8
mov eax, 0x1018c6a3
call fcn.101892bd
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.10002790
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1014f3ec
pop ecx
test eax, eax
jne 0x101514a8
mov ebx, 0x1018fa34
push ebx
call fcn.10178900
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.10004210
xor ebx, ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
push 0x1018f7e4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10002790
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10002790
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.1014f833
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.10001e10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10001e10
lea eax, [ebp - 0x70]
mov dword [ebp - 0x48], ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], ebx
call fcn.1014e6f4
mov ebx, 0x101fbd9c
mov byte [ebp - 4], 4
push ebx
call fcn.10178900
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x58]
call fcn.10004210
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 0x101516cb
test byte [ebp - 0x2c0], 0x10
je 0x101515d9
cmp word [ebp - 0x294], 0x2e
je 0x101516ae
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.1014e6f4
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 5
push eax
call fcn.10178900
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004210
cmp byte [ebp + 0x14], 0
je 0x101515c8
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.10151456
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10001e10
jmp 0x101516ae
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1014e45a
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.1014faf2
mov esi, dword [ebp - 0x2cc]
add esp, 0xc
xor bl, bl
jmp 0x10151628
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1015160d
mov ecx, dword [esi]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10178aab
pop ecx
pop ecx
test eax, eax
je 0x10151632
add esi, 0x18
cmp esi, dword [ebp - 0x2c8]
jne 0x10151603
jmp 0x10151634
mov bl, 1
test bl, bl
je 0x10151696
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x70]
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push eax
call fcn.1014e6f4
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 7
push eax
call fcn.10178900
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004210
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x10151682
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1014e985
jmp 0x1015168e
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.1014e9a7
lea ecx, [ebp - 0x28]
call fcn.10001e10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10001e10
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 0x1015155d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x58]
call fcn.10001e10
lea ecx, [ebp - 0x2cc]
call fcn.1014fec2
lea ecx, [ebp - 0x70]
call fcn.10001e10
call fcn.10189278
ret