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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x57a2ad
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ec4
xor eax, eax
push ebp
push 0x57a6a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5dbba8]
inc eax
mov ecx, 0x65
cdq
idiv ecx
mov dword [0x5dbba8], edx
mov eax, dword [0x5dbba8]
cdq
push edx
push eax
push 0
push 0x64
push 0
push 0
mov eax, 0x57a6c0
call fcn.005b3a68
mov dl, 1
mov eax, dword [0x41c6f4]
call fcn.00404ab4
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040bb78
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 8]
call fcn.0042db68
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040bc64
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x164]
mov ecx, 0x57a6d4
mov edx, dword [ebp - 8]
call fcn.00405d5c
mov eax, dword [ebp - 0x164]
call fcn.00405ed4
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x57a37f
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x57a67c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x168]
mov edx, 0x57a6e0
call fcn.00405e6c
je 0x57a490
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x16c]
mov edx, 0x57a6ec
call fcn.00405e6c
je 0x57a490
test byte [ebp - 0x15c], 0x10
je 0x57a490
cmp byte [ebp - 0xd], 0
je 0x57a490
push dword [ebp - 8]
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
push dword [ebp - 0x174]
push 0x57a6f8
push dword [ebp - 0xc]
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00405dd8
mov eax, dword [ebp - 0x170]
movzx ecx, byte [ebp - 0xe]
mov dl, 1
call fcn.0057a2a4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
test ebx, ebx
jle 0x57a46f
mov esi, 1
lea ecx, [ebp - 0x178]
mov edx, esi
dec edx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x57a44c
mov eax, dword [ebp - 0x1c]
call fcn.00404ae4
mov eax, dword [0x5dbb9c]
cmp byte [eax + 0xd], 0
je 0x57a490
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x57a67c
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x17c]
mov edx, 0x57a6e0
call fcn.00405e6c
je 0x57a527
lea eax, [ebp - 0x180]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x180]
mov edx, 0x57a6ec
call fcn.00405e6c
je 0x57a527
test byte [ebp - 0x15c], 0x10
je 0x57a527
cmp byte [ebp - 0xe], 0
je 0x57a527
lea eax, [ebp - 0x188]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 8]
call fcn.00405d5c
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x57a37f
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x57a574
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x57a67c
lea eax, [ebp - 0x18c]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x18c]
mov edx, 0x57a6e0
call fcn.00405e6c
je 0x57a65b
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov eax, dword [ebp - 0x190]
mov edx, 0x57a6ec
call fcn.00405e6c
je 0x57a65b
test byte [ebp - 0x15c], 0x10
jne 0x57a65b
lea eax, [ebp - 0x194]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov ecx, dword [ebp - 0x194]
mov eax, 0x5dbbac
mov edx, dword [ebp - 8]
call fcn.00405d5c
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
mov eax, dword [0x5dbbac]
call fcn.005b3a68
lea eax, [ebp - 0x19c]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.00405cb4
mov ecx, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
mov edx, dword [ebp - 8]
call fcn.00405d5c
mov edx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5dbb9c]
cmp byte [eax + 0xd], 0
jne 0x57a673
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x57a574
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a6ae
lea eax, [ebp - 0x19c]
mov edx, 0x10
call fcn.00405a68
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405a68
ret