Function at 0x41f541
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 0x4efa38
mov eax, ebx
lea ecx, [ebp - 0x20]
call fcn.0041e7cc
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 0x41f584
lea eax, [esi - 0x10]
jmp 0x41f74f
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 0x4ecaf0
push eax
call fcn.00494674
test eax, eax
pop ecx
pop ecx
je 0x41f67f
lea eax, [ebp - 0x270]
push 0x4efa44
push eax
call fcn.00494674
test eax, eax
pop ecx
pop ecx
je 0x41f67f
test byte [ebp - 0x29c], 0x10
je 0x41f61b
mov eax, dword [0x519a54]
mov ecx, 0x519a54
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 0x4efa4c
push eax
call fcn.0041e7b9
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea edi, [ebp - 0x38]
call fcn.0040567f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, ebx
call fcn.004016da
mov ecx, eax
lea esi, [ebp - 0x10]
call fcn.004016bf
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.0041e729
lea eax, [ebp - 0x270]
add esp, 0xc
push eax
mov eax, esi
lea ecx, [ebp - 8]
call fcn.0041e7cc
pop ecx
push eax
lea edi, [ebp - 0x48]
call fcn.0040567f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
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 0x41f598
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov esi, dword [ebp - 0x44]
cmp esi, dword [ebp - 0x40]
jbe 0x41f6ad
call fcn.00493406
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 0x41f6c6
call fcn.00493406
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0xc]
call fcn.0045c60d
test al, al
je 0x41f6ec
call fcn.0044ec4c
push dword [ebp - 0x24]
call fcn.0041f75b
call fcn.0041f926
jmp 0x41f6b9
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
jbe 0x41f6f9
call fcn.00493406
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 0x41f712
call fcn.00493406
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0xc]
call fcn.0045c60d
test al, al
je 0x41f739
call fcn.0044ec4c
mov ecx, dword [ebp - 0x24]
push eax
call fcn.0041f541
call fcn.0041f926
jmp 0x41f705
lea esi, [ebp - 0x38]
call fcn.00405f01
lea esi, [ebp - 0x48]
call fcn.00405f01
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040153b
pop edi
pop esi
pop ebx
leave
ret 4