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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426ad1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
lea ecx, [ebp - 0x194]
call fcn.004255ac
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x17c]
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
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00425570
mov byte [ebp - 4], 4
push 0x43085c
push 1
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1b4]
push eax
call fcn.0040d8b0
mov byte [ebp - 0x198], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x19c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x198]
and ecx, 0xff
test ecx, ecx
je 0x413607
push 0x430860
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x430864
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edx, [ebp - 0x150]
push edx
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 0x413699
mov dword [ebp - 0x1a0], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
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 - 0x17c]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [ebp - 0x1a0]
jmp 0x413a44
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042554c
push 0x430868
push 1
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0040d8b0
mov byte [ebp - 0x1a4], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x1a4]
and ecx, 0xff
test ecx, ecx
je 0x41370f
push 0x43086c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x150]
and edx, 0x10
test edx, edx
je 0x4137b5
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x160]
call fcn.0042554c
push 0x430870
lea ecx, [ebp - 0x160]
push ecx
call fcn.0040ac90
and eax, 0xff
test eax, eax
jne 0x413766
push 0x430874
lea edx, [ebp - 0x160]
push edx
call fcn.0040ac90
and eax, 0xff
test eax, eax
je 0x41376b
jmp 0x413825
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.00425564
cmp dword [ebp + 0xc], 0
je 0x4137a1
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00408480
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x194]
call fcn.00408480
jmp 0x413825
cmp dword [ebp + 0x18], 0
je 0x4137cb
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, dword [ebp - 0x130]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
cmp dword [ebp + 0x10], 0
jne 0x4137d7
cmp dword [ebp + 0x14], 0
je 0x413825
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp + 0x10], 0
je 0x41380d
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00408480
cmp dword [ebp + 0x14], 0
je 0x413825
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x17c]
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 0x41370f
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x194]
call fcn.004084b0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x154], 0
jmp 0x41387a
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x164]
jae 0x41391a
push 1
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x194]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x168], eax
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 - 0x168]
push eax
call fcn.00413530
add esp, 0x14
cmp dword [ebp + 0x14], 0
je 0x413915
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x413915
push 0x80
mov edx, dword [ebp - 0x168]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x413915
mov ecx, dword [0x4323a0]
add ecx, 1
mov dword [0x4323a0], ecx
jmp 0x41386b
cmp dword [ebp + 0x14], 0
je 0x4139e9
lea ecx, [ebp - 0x17c]
call fcn.004084b0
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x154], 0
jmp 0x413950
mov edx, dword [ebp - 0x154]
add edx, 1
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x180]
jae 0x4139e9
push 1
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x17c]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4139e4
push 0x80
push 1
mov edx, dword [ebp - 0x154]
push edx
lea ecx, [ebp - 0x17c]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x17c]
call fcn.004084f0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4139e4
mov ecx, dword [0x4323a0]
add ecx, 1
mov dword [0x4323a0], ecx
jmp 0x413941
mov dword [ebp - 0x1ac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
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 - 0x17c]
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret