Function at 0x41add0
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 - method.g.virtual_0], vtable.g.0
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 0x41b164
test byte [ebp - 0x268], 0x10
je 0x41af10
mov dword [esp + 4], 0x71b42c
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x41ae80
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 [0x831080]
test ecx, ecx
jne 0x41ae80
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.0041add0
sub esp, 8
jmp 0x41ae80
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
cmp eax, 2
jbe 0x41ae80
lea eax, [eax + eax - 6]
mov dword [esp + 4], 0x71b47c
mov dword [ebp - 0x430], eax
add eax, ebx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x41afe0
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.00413e10
mov eax, dword [ebp - 0x42c]
sub esp, 0xc
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 0x10]
je 0x41b1ee
test ecx, ecx
je 0x41af98
lea edx, [ebp - 0x41c]
mov dword [esp], edx
call fcn.005f3810
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.005f3d90
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.00606ad0
sub esp, 4
jmp 0x41ae80
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 0x41b140
mov edx, dword [0x831080]
test edx, edx
jne 0x41ae80
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x71b164
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], 0x71b170
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.005d94b0
mov eax, dword [ebp - 0x430]
mov dword [esp], eax
call fcn.005d9210
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.005d94b0
mov ecx, dword [ebp - 0x434]
mov dword [esp], ecx
call fcn.006e98b0
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], 0x71b79e
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 0x41b196
mov eax, dword [ebp - 0x438]
mov dword [esp], eax
call fcn.006e9860
jmp 0x41ae80
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 0x41b009
jmp 0x41ae80
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 0x41b18c
mov dword [esp], eax
call fcn.006e9860
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 0x41b207
call fcn.00416e00
sub esp, 0x10
jmp 0x41b123
lea ecx, [eax + 8]
lea eax, [ebp - 0x41c]
mov dword [esp], eax
call fcn.006acb40
sub esp, 4
jmp 0x41afa1
call fcn.0041ad20
jmp 0x41b1e6