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

Disassembly:
push 0x410
mov eax, 0x4810f2
call fcn.00466686
mov esi, dword [ebp + 8]
mov edi, ecx
mov al, byte [edi + 8]
mov dword [ebp - 0x38c], edi
test al, al
jne 0x40d275
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.00424e57
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x54]
push eax
call fcn.00424e57
push 0x48bc7c
lea eax, [ebp - 0x3dc]
push eax
mov byte [ebp - 4], 1
call fcn.00424e0d
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3dc]
call fcn.0042534f
test eax, eax
lea ecx, [ebp - 0x3dc]
setg bl
call fcn.0042523a
test bl, bl
je 0x40cfab
lea esi, [ebp - 0x114]
call fcn.00424973
lea esi, [ebp - 0x134]
call fcn.00424973
push 0
mov eax, esi
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 3
call fcn.00425b0d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x50]
call fcn.00409901
mov ecx, esi
call fcn.0042523a
lea ecx, [ebp - 0x114]
jmp 0x40cfd9
push 0x48bc98
lea eax, [ebp - 0x3bc]
push eax
call fcn.00424e0d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0041fd9f
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 1
call fcn.0042523a
lea eax, [ebp - 0x54]
push eax
mov eax, edi
call fcn.0040cc8b
test al, al
jne 0x40d265
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40d001
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x384]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x388], eax
cmp eax, 0xffffffff
je 0x40d265
mov al, byte [edi + 8]
test al, al
jne 0x40d259
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00424e0d
mov ecx, 0x48bc00
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00424e90
test al, al
jne 0x40d230
mov ecx, 0x48bc90
lea eax, [ebp - 0x74]
call fcn.00424e90
test al, al
jne 0x40d230
push 0x48bc04
lea eax, [ebp - 0x3fc]
push eax
call fcn.00424e0d
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x41c]
push eax
mov byte [ebp - 4], 6
call fcn.004273c5
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 7
call fcn.004273c5
add esp, 0xc
lea ecx, [ebp - 0x41c]
call fcn.0042523a
lea ecx, [ebp - 0x3fc]
mov byte [ebp - 4], 0xa
call fcn.0042523a
lea eax, [ebp - 0xf4]
push eax
mov eax, edi
call fcn.0040cc8b
mov bl, al
neg bl
sbb bl, bl
lea edi, [ebp - 0xd4]
inc bl
call fcn.0040c8d1
xor edi, edi
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
call fcn.00409901
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00409901
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x370]
push eax
call esi
test eax, eax
jne 0x40d140
xor edx, edx
jmp 0x40d14d
lea eax, [ebp - 0x394]
push eax
call fcn.0042965d
pop ecx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x380]
push eax
mov dword [ebp - 0x88], edx
call esi
test eax, eax
jne 0x40d171
xor edx, edx
jmp 0x40d17e
lea eax, [ebp - 0x39c]
push eax
call fcn.0042965d
pop ecx
test byte [ebp - 0x384], 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
je 0x40d1bd
mov esi, dword [ebp - 0x38c]
cmp byte [esi + 2], 0
mov byte [ebp - 0x7c], 1
jne 0x40d27f
cmp byte [esi], 0
je 0x40d1b7
lea eax, [ebp - 0xf4]
push eax
mov ecx, esi
call fcn.0040cee3
test bl, bl
je 0x40d209
jmp 0x40d1fe
mov eax, dword [ebp - 0x38c]
cmp byte [eax + 1], 0
jne 0x40d209
test bl, bl
je 0x40d209
push 1
push edi
push edi
push dword [ebp - 0x368]
mov byte [ebp - 0x7c], 0
call fcn.004685d0
mov ecx, dword [ebp - 0x364]
xor esi, esi
add eax, ecx
adc edx, esi
mov esi, dword [ebp - 0x38c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
lea edi, [ebp - 0xd4]
call fcn.0040d362
lea ecx, [ebp - 0xb4]
call fcn.0042523a
lea ecx, [ebp - 0xd4]
call fcn.0042523a
lea ecx, [ebp - 0xf4]
call fcn.0042523a
mov edi, dword [ebp - 0x38c]
lea eax, [ebp - 0x384]
push eax
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x74]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.0042523a
test esi, esi
jne 0x40d01e
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x54]
call fcn.0042523a
lea ecx, [ebp - 0x34]
call fcn.0042523a
xor eax, eax
call fcn.00466709
ret 4
test bl, bl
je 0x40d28e
lea edi, [ebp - 0xd4]
call fcn.0040d362
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xb4]
call fcn.0042523a
lea ecx, [ebp - 0xd4]
call fcn.0042523a
lea ecx, [ebp - 0xf4]
call fcn.0042523a
lea ecx, [ebp - 0x74]
call fcn.0042523a
jmp 0x40d265