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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x36a]
push ebx
xor esi, esi
mov ebx, ecx
sub esp, 0x44c
mov dword [ebp - 0x374], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], str._s.
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x370], pe_nt_image_headers32
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov byte [ebp - 0x36c], 0
mov dword [ebp - 0x37c], 0x75d6e8
mov word [ebp - 0x36a], si
mov dword [esp], eax
call fcn.00403910
mov eax, dword [ebp - 0x374]
lea edi, [ebp - 0x268]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebx + 0x14]
sub esp, 8
lea ebx, [ebp - 0x23c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0x43c], eax
mov esi, esi
lea edi, [edi]
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x41b114
test byte [ebp - 0x268], 0x10
je 0x41aec0
mov dword [esp + 4], 0x71c42c
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x41ae30
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str._s_ws
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403910
mov ecx, dword [0x833080]
test ecx, ecx
jne 0x41ae30
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x42c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
call fcn.0041ad80
sub esp, 8
jmp 0x41ae30
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
cmp eax, 2
jbe 0x41ae30
lea eax, [eax + eax - 6]
mov dword [esp + 4], 0x71c47c
mov dword [ebp - 0x430], eax
add eax, ebx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x41af90
mov eax, dword [ebp - 0x42c]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x41c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.00413ec0
mov eax, dword [ebp - 0x42c]
sub esp, 0xc
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x10]
je 0x41b19e
test ecx, ecx
je 0x41af48
lea edx, [ebp - 0x41c]
mov dword [esp], edx
call fcn.005f5070
mov eax, dword [ebp - 0x42c]
sub esp, 4
mov ecx, dword [eax + 0xc]
add ecx, 0xa0
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x41c]
call fcn.005f55f0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x430], eax
sub eax, 0xa0
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call fcn.006083d0
sub esp, 4
jmp 0x41ae30
mov eax, dword [ebp - 0x430]
mov dword [esp + 4], str..inf
lea eax, [ebx + eax - 2]
mov dword [ebp - 0x430], eax
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x41b0f0
mov edx, dword [0x833080]
test edx, edx
jne 0x41ae30
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x71c166
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403910
mov eax, dword [ebp - 0x374]
mov dword [esp + 4], 0x71c172
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [ebp - 0x430], eax
call fcn.005dad00
mov eax, dword [ebp - 0x430]
mov dword [esp], eax
call fcn.005daa60
mov edx, dword [ebp - 0x430]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [ebp - 0x434], eax
mov dword [esp], edx
call fcn.005dad00
mov ecx, dword [ebp - 0x434]
mov dword [esp], ecx
call fcn.006eb360
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x434]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [ebp - 0x438], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fread
mov edx, dword [ebp - 0x430]
mov dword [esp], edx
call sub.msvcrt.dll_fclose
mov eax, dword [ebp - 0x43c]
mov dword [esp + 4], 0x71c79e
mov dword [esp + 8], eax
lea eax, [ebp - 0x37c]
mov dword [esp], eax
call fcn.00403910
mov eax, dword [ebp - 0x434]
test eax, eax
jne 0x41b146
mov eax, dword [ebp - 0x438]
mov dword [esp], eax
call fcn.006eb310
jmp 0x41ae30
mov eax, dword [ebp - 0x430]
mov dword [esp + 4], str..cat
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x41afb9
jmp 0x41ae30
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x378]
sub esp, 4
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x41b13c
mov dword [esp], eax
call fcn.006eb310
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea eax, [ebx + eax*2 - 8]
mov dword [esp + 4], str..inf
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x434]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x438]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
je 0x41b1b7
call fcn.00416db0
sub esp, 0x10
jmp 0x41b0d3
lea ecx, [eax + 8]
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call fcn.006ae560
sub esp, 4
jmp 0x41af51
call fcn.0041acd0
jmp 0x41b196