Function at 0x40667e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcac
mov dword [ebp - 0x354], 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call fcn.00411bd0
push 0x42bf4b
lea eax, [ebp - 0x104]
push eax
call fcn.00411ac0
push 0x42d989
lea eax, [ebp - 0x104]
push eax
call fcn.00411ac0
lea eax, [ebp - 0x346]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_FindFirstFileA
cmp eax, 0xffffffff
jne 0x4066e3
mov eax, 0
leave
ret 8
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], 1
lea esi, [ebp - 0x31a]
cmp byte [esi], 0x2e
jne 0x40672e
cmp byte [esi + 1], 0
jne 0x40672e
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x350], eax
push 0
push 0
push 0xb
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0xb
push dword [0x4314ad]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4314ad]
call sub.user32.dll_SendMessageA
jmp 0x4067d2
mov eax, dword [ebp - 0x346]
and eax, 0x10
cmp eax, 0x10
je 0x4067ba
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x31a]
push eax
call fcn.00411bd0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x180
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x354]
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 1
je 0x40677a
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindClose
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call fcn.00411bd0
push 0x42bf4b
lea eax, [ebp - 0x104]
push eax
call fcn.00411ac0
push 0x42d98f
lea eax, [ebp - 0x104]
push eax
call fcn.00411ac0
lea eax, [ebp - 0x346]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_FindFirstFileA
cmp eax, 0xffffffff
jne 0x406878
push 0
push 1
push 0xb
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xb
push dword [0x4314ad]
call sub.user32.dll_SendMessageA
push 1
push 0
push dword [0x4314a9]
call sub.user32.dll_InvalidateRect
push 1
push 0
push dword [0x4314ad]
call sub.user32.dll_InvalidateRect
mov eax, 0
leave
ret 8
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], 1
lea esi, [ebp - 0x31a]
cmp byte [esi], 0x2e
jne 0x4068c3
cmp byte [esi + 1], 0
jne 0x4068c3
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x350], eax
jmp 0x40691d
mov eax, dword [ebp - 0x346]
and eax, 0x10
cmp eax, 0x10
je 0x406905
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x31a]
push eax
call fcn.00411bd0
lea eax, [ebp - 0x208]
push eax
push 0
push 0x180
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x354]
lea eax, [ebp - 0x346]
push eax
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindNextFileA
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 1
je 0x4068c5
push dword [ebp - 0x34c]
call sub.kernel32.dll_FindClose
push 0
push 1
push 0xb
push dword [0x4314a9]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xb
push dword [0x4314ad]
call sub.user32.dll_SendMessageA
push 1
push 0
push dword [0x4314a9]
call sub.user32.dll_InvalidateRect
push 1
push 0
push dword [0x4314ad]
call sub.user32.dll_InvalidateRect
push dword [ebp + 8]
call fcn.0040644e
leave
ret 8