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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
mov eax, dword [0x448034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x670], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
mov edi, ecx
mov dword [ebp - 0x674], esi
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x43f694
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x66c]
push ecx
push eax
mov dword [ebp - 0x678], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41b130
lea ecx, [ecx]
mov ecx, 0x439228
lea eax, [ebp - 0x640]
jmp 0x41af50
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41af76
test dx, dx
je 0x41af72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41af76
add eax, 4
add ecx, 4
test dx, dx
jne 0x41af50
xor eax, eax
jmp 0x41af7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b115
mov ecx, 0x43922c
lea eax, [ebp - 0x640]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41afb6
test dx, dx
je 0x41afb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41afb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41af90
xor eax, eax
jmp 0x41afbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b115
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
test byte [ebp - 0x66c], 0x10
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x214]
push 0x43f69c
push 0x104
push eax
jne 0x41b098
call dword [sym.imp.MSVCR110.dll_swprintf_s]
add esp, 0x14
test ebx, ebx
je 0x41b042
lea eax, [ebp - 0x214]
push 0x2e
push eax
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x41b042
push ebx
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41b115
mov ecx, dword [edi]
test ecx, ecx
jne 0x41b058
mov dword [0x44d0b8], 0x10000
inc esi
jmp 0x41b115
cmp dword [ecx], 2
je 0x41b06d
mov dword [0x44d0b8], 0x80000
inc esi
jmp 0x41b115
push 2
push ecx
mov ecx, dword [ecx + 4]
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x670]
lea eax, [ebp + eax*2 - 0x214]
push eax
call fcn.0042add0
mov dword [0x44d0b8], eax
inc esi
jmp 0x41b115
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov ecx, dword [edi]
add esp, 0x14
test ecx, ecx
jne 0x41b0b3
mov dword [0x44d0b8], 0x10000
jmp 0x41b0e4
cmp dword [ecx], 2
je 0x41b0c4
mov dword [0x44d0b8], 0x80000
jmp 0x41b0e4
mov eax, dword [ebp - 0x670]
push 4
push ecx
mov ecx, dword [ecx + 4]
push 0
lea eax, [ebp + eax*2 - 0x214]
push eax
call fcn.0042add0
mov dword [0x44d0b8], eax
push 0x436b24
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0x670]
mov ecx, edi
push ebx
push eax
call fcn.0041ae90
add esi, eax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x678]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41af40
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ef5e
mov esp, ebp
pop ebp
ret 0xc