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

Disassembly:
mov eax, 0x40cd74
call fcn.0040c6c0
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
push 1
xor ebx, ebx
cmp dword [ebp + 8], ebx
pop esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
je 0x40a222
mov eax, dword [ebp + 0x10]
cmp dword [eax - 8], ebx
je 0x40a222
push 0x4f
xor eax, eax
pop ecx
lea edi, [ebp - 0x168]
mov dword [ebp - 0x16c], ebx
mov esi, 0x422f44
rep stosd dword es:[edi], eax
push esi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov eax, dword [ecx - 8]
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x409f7e
push 0x4122a0
lea ecx, [ebp - 0x10]
call fcn.0040c494
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x409f98
push 0x4122a0
lea ecx, [ebp + 0xc]
call fcn.0040c494
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040c440
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040c440
push ebx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push dword [ebp + 8]
call fcn.004095e3
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x40a078
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x10]
push str.ZipAdd__s_to__s_error:
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x28]
add esp, 0x10
lea eax, [ebp + 8]
push esi
push eax
call fcn.0040a8bd
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0040c44c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0040c440
mov ecx, dword [ebp - 0x28]
push ebx
push 0x412300
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040c440
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040c440
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040c440
xor esi, esi
jmp 0x40a222
lea eax, [ebp - 0x10]
push 0x412b28
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [ebp - 0x16c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0040c440
cmp dword [ebp - 0x18], 0xffffffff
je 0x40a1fb
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x16b], 0x41
jne 0x40a1d7
test byte [ebp - 0x16c], 4
jne 0x40a1d7
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea eax, [ebp - 0x140]
push 0x412b24
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x40a1d7
lea eax, [ebp - 0x140]
push 0x412b20
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x40a1d7
test byte [ebp - 0x16c], 0x10
je 0x40a189
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 8
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40a140
push 0x4122a0
lea ecx, [ebp - 0x14]
call fcn.0040c494
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00409eeb
test eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
je 0x40a1ed
call fcn.0040c440
jmp 0x40a1d7
sub esp, 0x140
lea esi, [ebp - 0x16c]
lea eax, [ebp - 0x10]
push 0x50
pop ecx
mov edi, esp
push dword [ebp + 0x14]
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040a24d
test eax, eax
mov dword [ebp - 0x20], eax
je 0x40a1f2
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x18]
call ebx
test eax, eax
jne 0x40a0b5
jmp 0x40a1f2
call fcn.0040c440
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040c440
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040c440
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040c440
mov esi, dword [ebp - 0x20]
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040c440
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040c440
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10