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

Disassembly:
mov eax, 0x457df9
call fcn.00457a28
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov bl, cl
lea ecx, [ebp - 0x4c]
call fcn.004020df
or dword [ebp - 0x18], 0xffffffff
test bl, bl
je 0x40886f
mov edx, 0x466468
lea ecx, [ebp + 0x20]
call fcn.004077c6
test al, al
je 0x40886f
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040905c
lea ecx, [ebp - 0x34]
call fcn.0041b432
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.00401f13
lea ecx, [ebp - 0x34]
call fcn.00401f09
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040905c
lea ecx, [ebp - 0x34]
call fcn.0041b46d
add esp, 0x18
push eax
lea ecx, [ebp + 0x20]
call fcn.0040325d
lea ecx, [ebp - 0x34]
call fcn.00401f09
push 0x466608
lea ecx, [ebp + 8]
call fcn.00409052
and dword [ebp - 4], 0
lea eax, [ebp - 0x2b4]
push eax
push 0x4665e8
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.0040915b
pop ecx
mov ecx, eax
call fcn.00401f04
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x34]
call fcn.00401f09
cmp esi, 0xffffffff
jne 0x4088f7
mov dword [ebp - 0x1c], 2
push 0x46ed90
lea eax, [ebp - 0x1c]
push eax
call fcn.00439126
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x408a10
cmp byte [0x472b18], 0
jne 0x408a52
test byte [ebp - 0x2b4], 0x10
je 0x4089ba
push 0x466528
lea eax, [ebp - 0x288]
push eax
call fcn.0043f954
pop ecx
pop ecx
test eax, eax
je 0x4088f7
push 0x46660c
lea eax, [ebp - 0x288]
push eax
call fcn.0043f954
pop ecx
pop ecx
test eax, eax
je 0x4088f7
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040417e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.004091c0
pop ecx
lea ecx, [ebp - 0x64]
call fcn.00401f09
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.004020f6
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.0040905c
sub esp, 0x18
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.0040905c
mov cl, bl
call fcn.0040880c
add esp, 0x48
lea ecx, [ebp - 0x34]
call fcn.00401f09
jmp 0x4088f7
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x38]
push eax
call fcn.004020f6
sub esp, 0x18
mov ecx, esp
lea eax, [ebp + 0x20]
push eax
call fcn.0040905c
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040417e
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.004091c0
sub esp, 0x14
mov ecx, esp
push eax
call fcn.00403262
mov cl, bl
call fcn.00408a85
add esp, 0x48
lea ecx, [ebp - 0x64]
call fcn.00401f09
jmp 0x4089ad
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [ebp - 0x4c]
call fcn.00401fd8
lea ecx, [ebp + 8]
call fcn.00401f09
lea ecx, [ebp + 0x20]
call fcn.00401f09
lea ecx, [ebp + 0x38]
call fcn.00401fd8
mov al, 1
jmp 0x408a74
lea ecx, [ebp - 0x4c]
call fcn.00401fd8
lea ecx, [ebp + 8]
call fcn.00401f09
lea ecx, [ebp + 0x20]
call fcn.00401f09
lea ecx, [ebp + 0x38]
call fcn.00401fd8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret