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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x3c
push 0
push 0
dec ecx
jne 0x52a805
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52adb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
call sub.kernel32.dll_GetTickCount
mov eax, esi
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, ebx
call fcn.004041b8
mov ecx, eax
mov edx, ebx
mov eax, 0x52add0
call fcn.0040d184
test al, al
jne 0x52a862
lea eax, [ebp - 8]
mov ecx, 0x52add0
mov edx, ebx
call fcn.00404204
jmp 0x52a86c
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fd0
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404204
mov eax, dword [ebp - 0x17c]
call fcn.0040437c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x52ad86
xor eax, eax
push ebp
push 0x52ad7f
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x52ad51
cmp byte [0x566e48], 0
jne 0x52ad68
mov eax, dword [0x567568]
mov eax, dword [eax]
call fcn.0045184c
test dword [ebp - 0x178], 0x10
jbe 0x52a982
lea eax, [ebp - 0x180]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov eax, dword [ebp - 0x180]
mov edx, 0x52addc
call fcn.004042c8
je 0x52ad2f
lea eax, [ebp - 0x184]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov eax, dword [ebp - 0x184]
mov edx, 0x52ade8
call fcn.004042c8
je 0x52ad2f
cmp byte [ebp + 8], 0
je 0x52ad2f
push 1
lea eax, [ebp - 0x18c]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x188]
mov edx, dword [ebp - 8]
call fcn.00404204
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0052a7fc
jmp 0x52ad2f
mov eax, dword [0x5677f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x2dc]
mov eax, dword [eax + 0x1f0]
xor edx, edx
call fcn.004601f4
push eax
lea eax, [ebp - 0x194]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov ecx, dword [ebp - 0x194]
lea eax, [ebp - 0x190]
mov edx, dword [ebp - 8]
call fcn.00404204
mov edx, dword [ebp - 0x190]
pop eax
call fcn.0046016c
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 8]
call fcn.004097e8
mov edx, dword [ebp - 0x198]
mov eax, 0x52adf4
call fcn.0040d240
test eax, eax
jle 0x52ad2f
lea eax, [ebp - 0x1a0]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov eax, dword [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.004097e8
mov eax, dword [ebp - 0x19c]
mov edx, 0x52ae08
call fcn.004042c8
jne 0x52ad2f
mov dl, 1
mov eax, dword [0x4106ec]
call fcn.00403168
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x52ad28
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1a8]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 8]
call fcn.00404204
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x58]
lea edx, [ebp - 0x1ac]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1ac]
mov eax, 0x52ae20
call fcn.0040d240
test eax, eax
jle 0x52ad12
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1b0]
call fcn.004041b8
push eax
lea edx, [ebp - 0x1b4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1b4]
mov eax, 0x52ae20
call fcn.0040d240
push eax
lea edx, [ebp - 0x1b8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1b8]
pop edx
pop ecx
call fcn.004043c0
mov al, byte [0x52ae2c]
push eax
lea eax, [ebp - 0x1bc]
push eax
xor ecx, ecx
mov edx, 0x52ae20
mov eax, dword [ebp - 0x30]
call fcn.0040d930
mov edx, dword [ebp - 0x1bc]
lea eax, [ebp - 0x30]
call fcn.00403fd0
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x30]
mov eax, 0x52ae38
call fcn.0040d240
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.004043c0
lea edx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x28]
call fcn.004097e8
mov edx, dword [ebp - 0x1c0]
mov eax, 0x52ae44
call fcn.0040d240
test eax, eax
jg 0x52ad12
lea edx, [ebp - 0x1c4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1c4]
mov eax, 0x52ae54
call fcn.0040d240
test eax, eax
jle 0x52acd2
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c8]
call fcn.004041b8
push eax
lea edx, [ebp - 0x1cc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1cc]
mov eax, 0x52ae54
call fcn.0040d240
push eax
lea edx, [ebp - 0x1d0]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1d0]
pop edx
pop ecx
call fcn.004043c0
mov al, byte [0x52ae2c]
push eax
lea eax, [ebp - 0x1d4]
push eax
xor ecx, ecx
mov edx, 0x52ae54
mov eax, dword [ebp - 0x30]
call fcn.0040d930
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x30]
call fcn.00403fd0
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x30]
mov eax, 0x52ae38
call fcn.0040d240
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.004043c0
lea eax, [ebp - 0x1d8]
push eax
mov eax, dword [ebp - 8]
call fcn.004041b8
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004043c0
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x34]
call fcn.0040a044
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x34]
call fcn.004041b8
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.004043c0
lea eax, [ebp - 0x1e0]
lea edx, [ebp - 0x14c]
mov ecx, 0x104
call fcn.00404168
mov ecx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
mov edx, dword [ebp - 8]
call fcn.00404204
mov eax, dword [ebp - 0x1dc]
call fcn.00409ca4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x52acd2
mov eax, ebx
call fcn.0040a2a0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x38]
call fcn.0040be28
push dword [ebp - 0x28]
push 0x52ae6c
push dword [ebp - 0x34]
push 0x52ae80
push dword [ebp - 0x38]
push 0x52ae80
push dword [ebp - 0x2c]
push 0x52ae8c
lea eax, [ebp - 0x1e4]
mov edx, 8
call fcn.00404278
mov edx, dword [ebp - 0x1e4]
mov eax, dword [0x569b94]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ad2f
mov eax, dword [ebp - 0x24]
call fcn.00403198
ret
lea eax, [ebp - 0x178]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x52ad51
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x12
jne 0x52ad51
mov byte [ebp - 0x1d], 1
cmp byte [ebp - 0x1d], 0
je 0x52a8b5
cmp byte [0x566e48], 0
jne 0x52a8b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ad86
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52adc0
lea eax, [ebp - 0x1e4]
mov edx, 0x1b
call fcn.00403f5c
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00403f5c
lea eax, [ebp - 8]
call fcn.00403f38
ret