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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x7e
push 0
push 0
dec ecx
jne 0x3000a46d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.3000217c
mov eax, dword [ebp + 0x14]
call fcn.3000217c
mov eax, dword [ebp + 0x10]
call fcn.3000217c
lea esi, [ebp - 0x150]
xor eax, eax
push ebp
push 0x3000a9e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.300048e0
mov eax, dword [ebp - 0xc]
mov edx, 0x3000a9fc
call fcn.300020d8
jne 0x3000a4d8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
jmp 0x3000a9a9
cmp dword [ebp - 0xc], 0
je 0x3000a517
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 0x3000aa0c
mov eax, dword [ebp - 0xc]
call fcn.300071dc
mov eax, dword [ebp - 0x10]
call fcn.30001f94
mov ecx, eax
inc ecx
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.30002228
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.3000a02c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x3000a9a9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x3000a9a9
lea edx, [ebp - 0x394]
mov eax, dword [ebp - 8]
call fcn.300083c0
mov edx, dword [ebp - 0x394]
lea eax, [ebp - 8]
call fcn.30001e88
push ebp
lea eax, [ebp - 0x398]
mov ecx, dword [ebp - 8]
mov edx, 0x3000aa18
call fcn.30001fe0
mov eax, dword [ebp - 0x398]
call fcn.3000a3e4
pop ecx
push edi
call sub.kernel32.dll_Sleep
push esi
lea eax, [ebp - 0x39c]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
call fcn.30001fe0
mov eax, dword [ebp - 0x39c]
call fcn.3000218c
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x3000a7e5
lea eax, [ebp - 0x3a0]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3a0]
mov edx, 0x3000aa34
call fcn.300020d8
je 0x3000a7d0
lea eax, [ebp - 0x3a4]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3a4]
mov edx, 0x3000aa40
call fcn.300020d8
je 0x3000a7d0
lea eax, [ebp - 0x3ac]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3ac]
lea edx, [ebp - 0x3a8]
call fcn.300080a0
mov eax, dword [ebp - 0x3a8]
push eax
lea edx, [ebp - 0x3b0]
mov eax, dword [ebp + 0x10]
call fcn.300080a0
mov eax, dword [ebp - 0x3b0]
pop edx
call fcn.300022cc
test eax, eax
jg 0x3000a64f
mov eax, dword [ebp + 0x10]
mov edx, 0x3000aa4c
call fcn.300020d8
jne 0x3000a7d0
push esi
push edi
lea edi, [ebp - 0x390]
mov ecx, 0x50
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.30001f70
lea eax, [ebp - 0xc]
mov edx, 0x240
call fcn.30002314
lea eax, [ebp - 0xc]
call fcn.300021e0
lea edx, [ebp - 0x390]
mov ecx, 0x240
call fcn.30002ce0
push ebp
lea eax, [ebp - 0x3b4]
mov ecx, dword [ebp - 0xc]
mov edx, 0x3000aa58
call fcn.30001fe0
mov eax, dword [ebp - 0x3b4]
call fcn.3000a3e4
pop ecx
jmp 0x3000a7d0
lea eax, [ebp - 0x3b8]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3b8]
mov edx, 0x3000aa34
call fcn.300020d8
je 0x3000a7d0
lea eax, [ebp - 0x3bc]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3bc]
mov edx, 0x3000aa40
call fcn.300020d8
je 0x3000a7d0
lea eax, [ebp - 0x3c4]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3c4]
lea edx, [ebp - 0x3c0]
call fcn.300080a0
mov eax, dword [ebp - 0x3c0]
push eax
lea edx, [ebp - 0x3c8]
mov eax, dword [ebp + 0x10]
call fcn.300080a0
mov eax, dword [ebp - 0x3c8]
pop edx
call fcn.300022cc
test eax, eax
jg 0x3000a767
mov eax, dword [ebp + 0x10]
mov edx, 0x3000aa4c
call fcn.300020d8
jne 0x3000a7d0
push esi
push edi
lea edi, [ebp - 0x390]
mov ecx, 0x50
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.30001f70
lea eax, [ebp - 0xc]
mov edx, 0x240
call fcn.30002314
lea eax, [ebp - 0xc]
call fcn.300021e0
lea edx, [ebp - 0x390]
mov ecx, 0x240
call fcn.30002ce0
push ebp
lea eax, [ebp - 0x3cc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x3000aa58
call fcn.30001fe0
mov eax, dword [ebp - 0x3cc]
call fcn.3000a3e4
pop ecx
push esi
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x3000a6bd
push ebx
call sub.kernel32.dll_FindClose
cmp dword [ebp + 0xc], 0
je 0x3000a9a9
push esi
lea eax, [ebp - 0x3d0]
mov ecx, 0x3000aa4c
mov edx, dword [ebp - 8]
call fcn.30001fe0
mov eax, dword [ebp - 0x3d0]
call fcn.3000218c
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x3000a9a9
lea edx, [ebp - 0x3d4]
mov eax, esi
call fcn.3000869c
mov eax, dword [ebp - 0x3d4]
mov edx, 0x3000aa68
call fcn.300020d8
jne 0x3000a994
lea eax, [ebp - 0x3d8]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3d8]
mov edx, 0x3000aa34
call fcn.300020d8
je 0x3000a994
lea eax, [ebp - 0x3dc]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3dc]
mov edx, 0x3000aa40
call fcn.300020d8
je 0x3000a994
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x3e4]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov ecx, dword [ebp - 0x3e4]
lea eax, [ebp - 0x3e0]
mov edx, dword [ebp - 8]
call fcn.30001fe0
mov ecx, dword [ebp - 0x3e0]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.3000a464
jmp 0x3000a994
lea edx, [ebp - 0x3e8]
mov eax, esi
call fcn.3000869c
mov eax, dword [ebp - 0x3e8]
mov edx, 0x3000aa68
call fcn.300020d8
jne 0x3000a994
lea eax, [ebp - 0x3ec]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3ec]
mov edx, 0x3000aa34
call fcn.300020d8
je 0x3000a994
lea eax, [ebp - 0x3f0]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov eax, dword [ebp - 0x3f0]
mov edx, 0x3000aa40
call fcn.300020d8
je 0x3000a994
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x3f8]
lea edx, [esi + 0x2c]
mov ecx, 0x104
call fcn.30001f58
mov ecx, dword [ebp - 0x3f8]
lea eax, [ebp - 0x3f4]
mov edx, dword [ebp - 8]
call fcn.30001fe0
mov ecx, dword [ebp - 0x3f4]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.3000a464
push esi
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x3000a8e0
push ebx
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3000a9e8
lea eax, [ebp - 0x3f8]
mov edx, 0x1a
call fcn.30001e14
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.30001e14
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.30001e14
ret