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

Disassembly:
push 0xffffffffffffffff
push 0x4f9134
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a8
mov eax, dword [0x54f4a0]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x4b0], eax
push edi
mov ebp, ecx
lea eax, [esp + 0x4c8]
xor edi, edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c4], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
push 0x5042c0
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x4c4], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::Append]
lea ecx, [esp + 0x264]
push ecx
lea ecx, [esp + 0x4cc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], esi
je 0x4cf23e
nop
mov al, byte [esp + 0x264]
test al, 0x10
je 0x4cf094
test al, 2
jne 0x4cf094
lea edx, [esp + 0x290]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 0x503cd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c4], 2
call dword [sym.imp.MFC71U.DLL_CListBox::CompareItem]
test eax, eax
je 0x4cf08b
push 0x5042b8
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_CListBox::CompareItem]
test eax, eax
je 0x4cf08b
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00405fbb
push 0x503d24
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x4d8], 3
call fcn.00402c1f
add esp, 0x18
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c0], 5
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov ecx, ebp
call fcn.004cef40
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
jmp 0x4cf212
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c0], 6
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0049da00
add esp, 8
push str..dll
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c4], 7
call dword [sym.imp.MFC71U.DLL_CListBox::CompareItem]
test eax, eax
je 0x4cf0f8
push str..exe
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_CListBox::CompareItem]
test eax, eax
jne 0x4cf204
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CDC::LPtoHIMETRIC]
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [ebp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
cmp eax, edi
jg 0x4cf204
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00405fbb
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
lea ecx, [esp + 0x244]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_9]
push esi
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x250], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c0], 8
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x3c]
call fcn.004ce3d0
mov bl, al
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.004ce810
test bl, bl
mov byte [esp + 0x4c0], 9
je 0x4cf1b1
mov ecx, 0x5500f0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_CListBox::CompareItem]
test eax, eax
je 0x4cf1e2
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00405fbb
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x4c4], 0xa
call fcn.004a4fd0
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x244]
mov dword [esp + 0x248], edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c0], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4cefd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x4c8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x4b8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4ac]
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6c56
add esp, 0x4b4
ret 4