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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
lea ecx, [ebp - 0x198]
call fcn.004255ac
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.004255ac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
cmp dword [ebp + 0x1c], 0
jne 0x41521b
cmp dword [ebp + 0x20], 0
jne 0x41521b
cmp dword [ebp + 0x14], 0
je 0x41521b
mov ecx, dword [ebp + 0x14]
call fcn.00401c20
test eax, eax
je 0x41521b
mov dword [ebp - 0x1a0], 0x20
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x164]
call fcn.00401c20
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x154], 0
jmp 0x41514e
mov ecx, dword [ebp - 0x154]
add ecx, 1
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x154]
cmp edx, dword [ebp - 0x170]
jae 0x41521b
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00415ba0
mov byte [ebp - 0x19c], al
mov ecx, dword [ebp - 0x19c]
and ecx, 0xff
cmp ecx, 0x61
jl 0x4151b8
mov edx, dword [ebp - 0x19c]
and edx, 0xff
cmp edx, 0x7a
jg 0x4151b8
mov eax, dword [ebp - 0x19c]
and eax, 0xff
sub eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
mov ecx, dword [ebp + 0x14]
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [ebp - 0x154]
push edx
lea ecx, [ebp - 0x164]
call fcn.00415ba0
mov byte [ebp - 0x19c], al
mov eax, dword [ebp - 0x19c]
and eax, 0xff
cmp eax, 0x41
jl 0x415216
mov ecx, dword [ebp - 0x19c]
and ecx, 0xff
cmp ecx, 0x5a
jg 0x415216
mov edx, dword [ebp - 0x19c]
and edx, 0xff
add edx, dword [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::SetAt
jmp 0x41513f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00425570
mov byte [ebp - 4], 5
push 0x4308cc
push 1
lea edx, [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1d0]
push ecx
call fcn.0040d8b0
mov byte [ebp - 0x1a4], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x1a4]
and edx, 0xff
test edx, edx
je 0x415295
push 0x4308d0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.00425564
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x4152cb
jmp 0x415461
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042554c
push 0x4308d4
push 1
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1d8]
push edx
call fcn.0040d8b0
mov byte [ebp - 0x1ac], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b0]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1ac]
and eax, 0xff
test eax, eax
je 0x415340
push 0x4308d8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
je 0x415398
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x160]
call fcn.0042554c
push 0x4308dc
lea eax, [ebp - 0x160]
push eax
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x415393
push 0x4308e0
lea ecx, [ebp - 0x160]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x415398
jmp 0x415438
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp + 0x14], 0
je 0x415429
mov ecx, dword [ebp + 0x14]
call fcn.00401c20
test eax, eax
je 0x415429
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
jne 0x415427
push 1
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00401c20
push eax
push 1
mov ecx, dword [ebp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00414e5f
add esp, 0x14
test eax, eax
je 0x415427
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408480
jmp 0x415438
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00408480
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415340
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x18], 0
jne 0x41546c
jmp 0x415733
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042554c
push 0x4308e4
push 1
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.0040d8b0
mov byte [ebp - 0x1b4], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1b4]
and eax, 0xff
test eax, eax
je 0x4154e1
push 0x4308e8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x4308ec
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x415582
mov dword [ebp - 0x1bc], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [ebp - 0x1bc]
jmp 0x4157c1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042554c
push 0x4308f0
push 1
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1e8]
push edx
call fcn.0040d8b0
mov byte [ebp - 0x1c0], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c4]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c0]
and eax, 0xff
test eax, eax
je 0x4155f7
push 0x4308f4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
je 0x41567f
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x160]
call fcn.0042554c
push 0x4308f8
lea eax, [ebp - 0x160]
push eax
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x41564a
push 0x4308fc
lea ecx, [ebp - 0x160]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x41564c
jmp 0x41567f
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00425564
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x198]
call fcn.00408480
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4155f7
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x198]
call fcn.004084b0
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x154], 0
jmp 0x4156d4
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x168]
jae 0x415733
push 1
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x198]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
add eax, 1
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x16c]
push eax
call fcn.0041506f
add esp, 0x20
jmp 0x4156c5
cmp dword [ebp + 0x24], 0
je 0x415757
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x402
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x415757
call sub.MFC42.DLL_AfxThrowUserException
mov dword [ebp - 0x1c8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret