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

Disassembly:
push 0xffffffffffffffff
push 0x4104d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x415ae8
lea ecx, [esp + 0x14]
mov dword [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x17c]
lea eax, [esp + 0x2c]
mov ebx, 1
push eax
push ecx
mov byte [esp + 0x17c], bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
lea edx, [esp + 0x17c]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004012f0
add esp, 8
push eax
lea ecx, [esp + 0x180]
mov byte [esp + 0x178], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], bl
call fcn.0040e8b6
cmp ebp, 0xffffffff
je 0x40b34b
test byte [esp + 0x2c], 0x10
jne 0x40b245
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x17c]
push 0x415028
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x180], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 3
call fcn.0040e8b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], bl
call fcn.0040e8b6
push str._DogDriver_
lea ecx, [esp + 0x14]
mov esi, ebx
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x40b210
xor esi, esi
push str._VisionSetup_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x40b337
test esi, esi
je 0x40b337
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
jmp 0x40b337
lea eax, [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x415554
push ecx
call esi
add esp, 8
test eax, eax
je 0x40b337
mov edx, dword [esp + 0x10]
push 0x415550
push edx
call esi
add esp, 8
test eax, eax
je 0x40b337
lea eax, [esp + 0x17c]
push 0x415028
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x10]
mov byte [esp + 0x174], 5
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 5
call fcn.0040e8b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], bl
call fcn.0040e8b6
lea ecx, [esp + 0x10]
push str..
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], bl
call fcn.0040e8b6
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.0040b0e0
lea ecx, [esp + 0x2c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b17e
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 0
call fcn.0040e8b6
lea ecx, [esp + 0x17c]
mov dword [esp + 0x174], 0xffffffff
call fcn.0040e8b6
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x168
ret 4