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

Disassembly:
push 0x2a4
mov eax, 0x5dd652
call fcn.00447fd9
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403980
mov esi, 0x5f012c
mov byte [ebp - 4], 1
push esi
call fcn.004a6baf
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00403b60
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
call fcn.004864ab
test al, al
je 0x47f965
pop edx
pop ebx
pop edx
push edx
pop edi
push ecx
pop edx
pop ebp
push edx
push esi
pop ecx
pop eax
pop edx
pop edi
pop edi
push edx
pop ebp
call fcn.004861b4
test al, al
je 0x47f98d
push edx
pop ebp
pop ecx
push edi
push esi
pop esp
push esp
push ebx
pop ebx
pop esi
pop esp
pop eax
push esi
push eax
pop esp
pop edi
pop ecx
push ecx
pop edx
pop esp
pop esp
push esi
pop ebp
pop ebx
push ebp
push edx
pop edx
push edx
push esp
pop edi
push ecx
call fcn.00485fd1
test al, al
je 0x47f9ac
push ecx
push edi
push ebx
push ebp
push esi
push esp
pop eax
push edx
pop edx
pop ebx
push eax
pop esi
pop esi
push edx
pop eax
pop esp
pop edx
push edi
push esp
push eax
pop ecx
push esp
mov eax, dword [ebp - 0x2ac]
cmp eax, 0xffffffff
je 0x47fae8
push 0x2e
pop esi
mov edi, 0x64a880
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47fae8
cmp word [ebp - 0x27c], si
je 0x47fadd
cmp word [ebp - 0x27a], 0
je 0x47fadd
cmp word [ebp - 0x27a], si
jne 0x47fa0b
cmp word [ebp - 0x278], 0
je 0x47fadd
xor eax, eax
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], ebx
cmp word [ebp - 0x27c], ax
je 0x47fa33
lea eax, [ebp - 0x27c]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401ea0
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x47fa95
call fcn.00403980
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00403c90
push edi
call fcn.004a6baf
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403b60
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403980
call fcn.0047f8f3
jmp 0x47fac0
call fcn.00403980
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.00403c90
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403980
call fcn.0047fb8a
add esp, 0x18
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00401de0
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401de0
mov eax, dword [ebp - 0x2ac]
jmp 0x47f9c3
call fcn.004861b4
test al, al
je 0x47fb0c
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.0048605b
test al, al
je 0x47fb33
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
mov eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47fb6c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401de0
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00401de0
call fcn.00447f83
ret