Function at 0x440490
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597aaa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov dword [ebp - 0x194], ecx
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
call fcn.0040add0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
jmp 0x44051c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x14]
jge 0x440724
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405bb0
push eax
lea ecx, [ebp - 0x18]
call fcn.0058dfec
push 0x5e672c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::FindOneOf
cmp eax, 0xffffffff
je 0x440713
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 0x218]
call fcn.00405b20
mov ecx, eax
add ecx, 0x484
call fcn.00403d90
push eax
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
call fcn.0050b64c
add esp, 0x14
test eax, eax
jne 0x4405a4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0042ac30
jmp 0x440711
lea ecx, [ebp - 0x10]
call fcn.00403d50
cmp eax, 1
jne 0x440711
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0xffffffff
je 0x440711
mov eax, dword [ebp - 0x180]
and al, 0xfe
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
test ecx, ecx
jne 0x4406e8
cmp dword [ebp - 0x20], 0
je 0x440618
mov edx, dword [ebp - 0x20]
and edx, 0x80
test edx, edx
jne 0x440618
mov eax, dword [ebp - 0x20]
and eax, 0x20
test eax, eax
je 0x4406e8
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x5e6730
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x188]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x18c]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x190]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x28]
call fcn.0058dfec
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x190]
call fcn.0058df86
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18c]
call fcn.0058df86
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x188]
call fcn.0058df86
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0042ac30
lea edx, [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x184]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4405de
mov ecx, dword [ebp - 0x184]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44071f
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x40]
call fcn.0042ac30
jmp 0x440513
mov ecx, dword [ebp + 8]
call fcn.0042ac10
lea ecx, [ebp - 0x40]
call fcn.0040add0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
jmp 0x440749
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x14]
jge 0x440768
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00405bb0
push eax
mov ecx, dword [ebp + 8]
call fcn.0042ac30
jmp 0x440740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.0058df86
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0058df86
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0058df86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0058e1d8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4