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

Disassembly:
push 0xffffffffffffffff
push 0x1000b9bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1c
mov dword [esp + 0x19c], ebp
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0x198], 1
je 0x1000431d
push 0xa
mov ecx, eax
call fcn.1000ab38
mov ebp, eax
mov eax, dword [esp + 0x1a0]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x10012798
push eax
mov byte [esp + 0x1a0], 0
call edi
add esp, 8
test eax, eax
je 0x100047a9
lea ecx, [esp + 0x1a0]
push str..
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x1a0], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x10004798
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 3
call sub.MFC42.DLL_CString::CString_1
mov bl, 4
mov byte [esp + 0x198], bl
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x10]
push 0x10012130
push eax
call edi
add esp, 8
test eax, eax
je 0x10004757
mov ecx, dword [esp + 0x10]
push 0x10012218
push ecx
call edi
add esp, 8
test eax, eax
je 0x10004757
push 0x10012130
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x10004697
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x34]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x14]
push 0x10012214
push ecx
call edi
mov esi, dword [esp + 0x1ac]
add esp, 8
test eax, eax
jne 0x100044c3
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
test eax, eax
je 0x100044c3
lea eax, [esp + 0x1a0]
push 0x10012150
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x10]
mov byte [esp + 0x198], 6
push edx
push eax
lea eax, [esp + 0x48]
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, ebp
mov byte [esp + 0x19c], 7
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x40]
mov byte [esp + 0x198], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
jmp 0x10004757
mov ecx, dword [esp + 0x14]
push 0x10012210
push ecx
call edi
add esp, 8
test eax, eax
jne 0x1000457a
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
test eax, eax
je 0x1000457a
mov eax, dword [esp + 0x10]
push 0x10012190
push eax
call edi
add esp, 8
test eax, eax
je 0x10004757
mov ecx, dword [esp + 0x10]
push 0x10012190
push ecx
call edi
add esp, 8
test eax, eax
je 0x10004757
lea edx, [esp + 0x1a0]
push 0x10012150
lea eax, [esp + 0x28]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
mov byte [esp + 0x1a4], 8
call sub.MFC42.DLL_operator
push eax
mov ecx, ebp
mov byte [esp + 0x19c], 9
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x48]
mov byte [esp + 0x198], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
jmp 0x10004757
mov eax, dword [esp + 0x14]
push 0x1001220c
push eax
call edi
add esp, 8
test eax, eax
jne 0x100045fb
mov ecx, dword [esi]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x100045fb
lea edx, [esp + 0x1a0]
push 0x10012150
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x1a4], 0xa
call sub.MFC42.DLL_operator
push eax
mov ecx, ebp
mov byte [esp + 0x19c], 0xb
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
jmp 0x10004757
mov eax, dword [esp + 0x14]
push 0x10012208
push eax
call edi
add esp, 8
test eax, eax
je 0x10004625
mov ecx, dword [esp + 0x14]
push str.jpeg
push ecx
call edi
add esp, 8
test eax, eax
jne 0x10004757
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x10004757
lea eax, [esp + 0x1a0]
push 0x10012150
lea ecx, [esp + 0x34]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x10]
mov byte [esp + 0x198], 0xc
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator
push eax
mov ecx, ebp
mov byte [esp + 0x19c], 0xd
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
jmp 0x10004757
mov ecx, dword [esp + 0x1a4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x54]
test eax, eax
je 0x10004757
mov eax, ecx
lea ecx, [esp + 0x1a0]
push eax
push 0x10012150
lea edx, [esp + 0x40]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
push eax
push ecx
mov byte [esp + 0x1ac], 0xe
call sub.MFC42.DLL_operator
call fcn.100042d0
add esp, 8
lea ecx, [esp + 0x38]
mov esi, eax
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x10004757
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x10004748
push edi
mov ecx, esi
call sub.MFC42.DLL_CStringList::FindIndex
add eax, 8
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
mov byte [esp + 0x19c], 0xf
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x1c]
mov byte [esp + 0x198], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x10004707
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100043a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x198], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x198], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x190]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret