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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24], ecx
push 0x4fca38
mov eax, ebx
lea ecx, [ebp - 0x20]
call fcn.0041e85e
mov esi, dword [ebp - 0x20]
pop ecx
lea eax, [ebp - 0x29c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x41f5f0
lea eax, [esi - 0x10]
jmp 0x41f7bb
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x270]
push 0x4f9af0
push eax
call fcn.004996ee
test eax, eax
pop ecx
pop ecx
je 0x41f6eb
lea eax, [ebp - 0x270]
push 0x4fca44
push eax
call fcn.004996ee
test eax, eax
pop ecx
pop ecx
je 0x41f6eb
test byte [ebp - 0x29c], 0x10
je 0x41f687
mov eax, dword [0x5289f4]
mov ecx, 0x5289f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x270]
push eax
push dword [ebx]
lea eax, [ebp - 0x14]
push 0x4fca4c
push eax
call fcn.0041e84b
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea edi, [ebp - 0x38]
call fcn.0040563f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, ebx
call fcn.004016c1
mov ecx, eax
lea esi, [ebp - 0x10]
call fcn.004016a6
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], 0x5c
mov edi, dword [eax - 0xc]
push eax
mov eax, esi
xor ebx, ebx
push eax
inc ebx
call fcn.0041e7bb
lea eax, [ebp - 0x270]
add esp, 0xc
push eax
mov eax, esi
lea ecx, [ebp - 8]
call fcn.0041e85e
pop ecx
push eax
lea edi, [ebp - 0x48]
call fcn.0040563f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040151c
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x41f604
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, dword [ebp - 0x44]
cmp esi, dword [ebp - 0x40]
jbe 0x41f719
call fcn.0049853b
lea eax, [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x44], esi
jbe 0x41f732
call fcn.0049853b
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0xc]
call fcn.00480078
test al, al
je 0x41f758
call fcn.00427cb8
push dword [ebp - 0x24]
call fcn.0041f7c7
call fcn.0044edc0
jmp 0x41f725
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
jbe 0x41f765
call fcn.0049853b
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], esi
jbe 0x41f77e
call fcn.0049853b
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0xc]
call fcn.00480078
test al, al
je 0x41f7a5
call fcn.00427cb8
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0041f5ad
call fcn.0044edc0
jmp 0x41f771
lea esi, [ebp - 0x38]
call fcn.00405eae
lea esi, [ebp - 0x48]
call fcn.00405eae
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
pop esi
pop ebx
leave
ret 4