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

Disassembly:
push 0xffffffffffffffff
push 0x410bc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x180]
mov esi, 1
test eax, eax
mov dword [esp + 0x178], esi
je 0x40d307
mov eax, dword [esp + 0x188]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40d307
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x30], 0
rep stosd dword es:[edi], eax
push 0x4272a4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
push 0x4272a4
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x188]
mov byte [esp + 0x178], 3
push ecx
lea ecx, [esp + 0x14]
call fcn.00410002
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x178], 4
mov eax, dword [ecx - 8]
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x40cf97
push 0x4162a0
lea ecx, [esp + 0x14]
call fcn.0041005c
mov eax, dword [esp + 0x184]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40cfb9
push 0x4162a0
lea ecx, [esp + 0x188]
call fcn.0041005c
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18c]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 0x184]
push eax
lea edx, [esp + 0x1c]
mov bl, 5
push ecx
push edx
mov byte [esp + 0x184], bl
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x17c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x178], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x178], 4
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
mov ebx, dword [esp + 0x180]
push eax
push ebx
call fcn.0040c260
mov edi, eax
add esp, 8
test edi, edi
je 0x40d115
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x24]
push str.ZipAdd__s_to__s_error:
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x34]
add esp, 0x10
lea eax, [esp + 0x18]
mov ecx, esi
push edi
push eax
call fcn.0040dc80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 7
call fcn.00410008
lea ecx, [esp + 0x18]
mov byte [esp + 0x178], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0
push 0x416644
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x178], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x184]
mov byte [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x188]
mov dword [esp + 0x178], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40d334
lea edx, [esp + 0x10]
push 0x416e6c
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString
cmp edi, 0xffffffff
je 0x40d2d4
mov eax, dword [esp + 0x30]
test ah, 0x41
jne 0x40d2b2
test al, 4
jne 0x40d2b2
lea edx, [esp + 0x5c]
push 0x416e68
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40d2b2
lea eax, [esp + 0x5c]
push 0x416e64
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40d2b2
test byte [esp + 0x30], 0x10
je 0x40d23f
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [esp + 0x14]
mov byte [esp + 0x178], 8
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40d1dd
push 0x4162a0
lea ecx, [esp + 0x18]
call fcn.0041005c
push ebp
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00410002
push ecx
lea eax, [esp + 0x190]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x188], 9
call fcn.00410002
mov ecx, dword [esp + 0x30]
push ebx
mov byte [esp + 0x188], 8
call fcn.0040ced0
mov esi, eax
mov byte [esp + 0x178], 4
test esi, esi
lea ecx, [esp + 0x14]
je 0x40d2c8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
push ecx
jmp 0x40d2b7
sub esp, 0x140
mov ecx, 0x50
lea esi, [esp + 0x170]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ebp
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x170], esp
push edx
call fcn.00410002
push ecx
lea eax, [esp + 0x2d0]
mov ecx, esp
mov dword [esp + 0x178], esp
push eax
mov byte [esp + 0x2c8], 0xa
call fcn.00410002
mov ecx, dword [esp + 0x170]
push ebx
mov byte [esp + 0x2c8], 4
call fcn.0040d350
mov edi, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x40d2cd
lea ecx, [esp + 0x30]
push ecx
jmp 0x40d2b7
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d14f
jmp 0x40d2cd
call sub.MFC42.DLL_CString::CString
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x178], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x184]
mov byte [esp + 0x178], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x188]
mov dword [esp + 0x178], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x16c
ret 0x10