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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4270bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
push edi
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x198]
call fcn.004255ac
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x168]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1a8]
add eax, 0xac
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x170]
call fcn.00425570
mov byte [ebp - 4], 3
push str..
push 1
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1b0]
push ecx
call fcn.0040d8b0
mov byte [ebp - 0x1a0], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a4]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x1a0]
and edx, 0xff
test edx, edx
je 0x41c5df
push 0x43129c
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xa4
push ecx
lea ecx, [ebp - 0x160]
call fcn.00425564
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x160]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xffffffff
jne 0x41c64e
mov eax, dword [ebp - 0x1a8]
cmp dword [eax + 0x24b4], 0
jne 0x41c649
jmp 0x41cd1d
jmp 0x41cb5c
mov ecx, dword [ebp - 0x14c]
and ecx, 0x10
test ecx, ecx
je 0x41c667
mov dword [ebp - 0x180], 1
jmp 0x41c671
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
je 0x41c6d1
movsx edx, byte [ebp - 0x120]
cmp edx, 0x2e
jne 0x41c6d1
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x168]
call fcn.0042554c
push 0x4312a0
lea ecx, [ebp - 0x168]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x41c6cc
push 0x4312a4
lea edx, [ebp - 0x168]
push edx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x41c6d1
jmp 0x41ca70
mov dword [ebp - 0x19c], 0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xa8
call fcn.00401c20
test eax, eax
je 0x41c78a
cmp dword [ebp - 0x180], 0
jne 0x41c788
push 1
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x24ac
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx + 0x24bc]
push eax
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xa8
call fcn.00401c20
push eax
push 1
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xa8
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00414e5f
add esp, 0x14
test eax, eax
je 0x41c788
mov dword [ebp - 0x19c], 1
jmp 0x41c794
mov dword [ebp - 0x19c], 1
mov ecx, dword [ebp - 0x1a8]
cmp dword [ecx + 0x74], 0
jne 0x41c7a9
push 1
push 0
call sub.MFC42.DLL_AfxEndThread
cmp dword [ebp - 0x19c], 0
je 0x41ca70
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx + 0x24b0]
add eax, 1
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x24b0], eax
cmp dword [ebp - 0x154], 0
jne 0x41c879
mov esi, dword [ebp - 0x1a8]
add esi, 0x78
mov ecx, 0xb
mov edi, dword [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x17c]
add edx, 0x2c
mov dword [ebp - 0x17c], edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x1a8]
lea edx, [ecx + eax + 0xac]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x17c]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x178]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x178]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x1a8]
lea edx, [ecx + eax + 0xac]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x17c]
add eax, 0x18
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x180], 0
je 0x41c8b8
mov ecx, dword [ebp - 0x150]
mov dword [ecx], 2
jmp 0x41c8c4
mov edx, dword [ebp - 0x150]
mov dword [edx], 0
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x12c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x138]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 0x10], eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
add edx, 1
mov eax, dword [ebp - 0x150]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 8]
lea edx, [ecx + edx + 0x18]
mov eax, dword [ebp - 0x184]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx + 0x20]
add edx, 1
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx + 4]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x1a8]
lea eax, [edx + ecx + 0xac]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x17c]
add edx, dword [ecx + 4]
mov dword [ebp - 0x17c], edx
cmp dword [ebp - 0x17c], 0x2000
jbe 0x41ca70
mov eax, dword [ebp - 0x1a8]
add eax, 0xac
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
push 0x401
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x1a8]
cmp dword [ecx + 0x24b0], 0x2710
jle 0x41ca45
mov edx, dword [ebp - 0x1a8]
cmp dword [edx + 0x74], 0
je 0x41ca3c
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x8c], 3
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x80], 0
mov eax, dword [ebp - 0x1a8]
add eax, 0x78
push eax
push 0x2c
push 0x401
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx + 0x74]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
call sub.MFC42.DLL_AfxEndThread
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx + 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x17c], ecx
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c64e
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x1a8]
cmp dword [edx + 0x74], 0
je 0x41cb5c
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0x154]
jbe 0x41cb5c
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xac
push ecx
mov edx, dword [ebp - 0x17c]
push edx
push 0x401
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x1a8]
cmp dword [edx + 0x24b0], 0x2710
jle 0x41cb5c
mov eax, dword [ebp - 0x1a8]
cmp dword [eax + 0x74], 0
je 0x41cb53
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x8c], 3
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x98], 0
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x78
push ecx
push 0x2c
push 0x401
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx + 0x74]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
call sub.MFC42.DLL_AfxEndThread
mov ecx, dword [ebp - 0x1a8]
cmp dword [ecx + 0x24b4], 0
jne 0x41cb70
jmp 0x41cd1d
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::operator
push 0x4312a8
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x160]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xffffffff
jne 0x41cbbf
jmp 0x41cd1d
mov ecx, dword [ebp - 0x14c]
and ecx, 0x10
test ecx, ecx
je 0x41cbd8
mov dword [ebp - 0x180], 1
jmp 0x41cbe2
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
je 0x41cc3f
movsx edx, byte [ebp - 0x120]
cmp edx, 0x2e
jne 0x41cc3f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x168]
call fcn.0042554c
push 0x4312ac
lea ecx, [ebp - 0x168]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x41cc3d
push 0x4312b0
lea edx, [ebp - 0x168]
push edx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x41cc3f
jmp 0x41cc7e
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp - 0x180], 0
je 0x41cc7e
lea edx, [ebp - 0x164]
push edx
lea ecx, [ebp - 0x198]
call fcn.00408480
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41cbbf
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x198]
call fcn.004084b0
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x158], 0
jmp 0x41ccd3
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [ebp - 0x16c]
jae 0x41cd1d
push 1
mov edx, dword [ebp - 0x158]
push edx
lea ecx, [ebp - 0x198]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x174]
push ecx
mov ecx, dword [ebp - 0x1a8]
call fcn.0041c4e1
jmp 0x41ccc4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call sub.MFC42.DLL_CStringArray::CStringArray
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8