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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc80
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [ebp - 0x360]
lea eax, [ebp - 0x11e]
mov edx, dword [ebp - 4]
call fcn.00405c48
lea edx, [ebp - 0x11e]
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, dword [0x48da44]
call fcn.0040fb40
mov eax, dword [0x48d84c]
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [edi + 0x2c], 0
push edi
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 0x14], eax
jmp 0x4725d8
cmp al, 0x2e
je 0x4725c4
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
call fcn.0040fdbc
fistp qword [ebp - 0x10]
wait
test byte [edi], 0x10
setne bl
mov eax, dword [0x48d550]
cmp byte [eax + 0x1908], 0
jne 0x472362
test bl, bl
je 0x47254f
mov eax, dword [0x48d550]
cmp byte [eax + 0x1909], 0
jne 0x472379
cmp bl, 1
je 0x47254f
test bl, bl
jne 0x472399
mov edx, dword [0x48d550]
add edx, 0x1a3a
lea eax, [edi + 0x2c]
call fcn.0040f80c
test al, al
je 0x47254f
mov edx, 0x4725f4
lea eax, [ebp - 0x380]
call fcn.00405c48
mov eax, dword [0x48d550]
cmp byte [eax + 0x1874], 0
je 0x4724a2
lea edx, [ebp - 0x11e]
lea eax, [ebp - 0x21e]
call fcn.00405c48
lea eax, [ebp - 0x21e]
call fcn.0040fb40
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x1d]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x18]
add ecx, 0x4a4
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
mov dl, byte [edx + 0x55d]
lea eax, [ebp - 0x21e]
call fcn.00420948
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cdq
cmp edx, 0
jne 0x472425
cmp eax, 0xfffffffd
jae 0x47246c
jmp 0x472427
jge 0x47246c
fild dword [ebp - 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
mov edx, eax
lea eax, [ebp - 0x380]
call fcn.00405c48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
fild dword [eax + 0x4bc]
fild qword [ebp - 0x10]
fcompp
fnstsw ax
sahf
jbe 0x4724a2
push 0x4725f8
lea eax, [ebp - 0x380]
push eax
call sub.kernel32.dll_lstrcatA
jmp 0x4724a2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
movsx eax, byte [eax + 0x55d]
mov edx, dword [0x48d340]
cmp byte [edx + eax - 1], 0xff
jne 0x4724a2
lea ecx, [ebp - 0x380]
lea edx, [ebp - 0x21e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
add eax, 0x4a4
call fcn.0041f2b8
lea eax, [edi + 4]
call fcn.004172b4
lea eax, [edi + 0x14]
call fcn.004172b4
lea eax, [edi + 0xc]
call fcn.004172b4
lea eax, [ebp - 0x11e]
push eax
push 1
push ebx
mov esi, dword [edi]
push esi
mov eax, dword [ebp - 0x18]
push eax
test esi, 0x800
setne al
push eax
test esi, 0x4000
setne al
push eax
push 0
test esi, 2
setne al
push eax
test esi, 4
setne al
push eax
test esi, 1
setne al
push eax
test esi, 0x20
setne al
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push 0
lea eax, [edi + 4]
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x380]
push eax
mov al, byte [ebp - 0x1e]
push eax
lea ecx, [edi + 0x2c]
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0046fda4
test al, al
jne 0x47254f
mov eax, dword [0x48d9fc]
mov byte [eax], 1
jmp 0x4725e3
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1f
cdq
idiv ecx
test edx, edx
je 0x47256f
mov eax, dword [0x48d550]
cmp byte [eax + 0x1875], 0
je 0x47257e
call fcn.0040f494
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x4725e3
test bl, bl
je 0x4725c4
lea edx, [ebp - 0x11e]
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, dword [0x48da44]
call fcn.0040fb40
lea eax, [edi + 0x2c]
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x48da44]
call fcn.004722c4
pop ecx
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x4725e3
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4725e3
mov al, byte [edi + 0x2c]
test al, al
jne 0x47232f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret