Function at 0x41ec79
Capabilities:
Enumerate files on windows
Enumerate files recursively
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1270
call fcn.0049c760
and dword [ebp - 0x270], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x26c]
mov ebx, 0x410
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
push ebx
call fcn.0049d5ae
mov edi, eax
push ebx
mov dword [ebp - 0x20], edi
call fcn.0049d5ae
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ecx
pop ecx
mov dword [ebp - 4], eax
push dword [ebp + 8]
push edi
call ebx
push edi
mov ecx, esi
call fcn.0041efbc
push edi
push dword [ebp - 4]
call ebx
push 0x4b1480
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x41ef46
cmp dword [0x4becf4], 0x14
jle 0x41ed59
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0xa70], eax
xor eax, eax
lea edi, [ebp - 0xa6c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x208]
push dword [eax + 0xc]
lea eax, [ebp - 0xa70]
push str.Items:_d
push eax
call fcn.0049d06e
add esp, 0xc
lea eax, [ebp - 0xa70]
push eax
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [0x4becf4], 0
inc dword [0x4becf4]
lea eax, [ebp - 0x270]
mov ecx, esi
push eax
call fcn.0041efe0
test eax, eax
jne 0x41ef20
push 0x410
call fcn.0049d5ae
pop ecx
mov edi, eax
push dword [ebp - 4]
mov dword [ebp - 0x18], edi
and word [edi], 0
push edi
call ebx
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp + 0xc], 0
je 0x41ee66
lea eax, [ebp - 0x270]
mov ecx, esi
push eax
call fcn.0041e9f4
test eax, eax
je 0x41ee66
test byte [ebp - 0x270], 2
jne 0x41ee52
test byte [ebp - 0x26f], 4
jne 0x41ee52
cmp dword [ebp + 0x14], 0
je 0x41ee3e
push edi
lea ecx, [ebp + 8]
call fcn.0040a4e8
mov ecx, dword [esi + 0x208]
lea eax, [ebp + 8]
push eax
call fcn.004205e5
mov ecx, 0x94
lea esi, [ebp - 0x270]
mov edi, eax
push 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
mov dword [ebp - 8], eax
call fcn.00403c58
mov ecx, dword [ebp - 8]
lea esi, [ecx + 0x250]
mov ecx, dword [ebp + 0x18]
lea eax, [eax + ecx*2]
push eax
push esi
call ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x4b0818
call esi
lea ecx, [ebp + 8]
call fcn.004038fb
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0041ec79
test edi, edi
je 0x41ef20
push edi
call fcn.0049cefa
pop ecx
jmp 0x41ef20
cmp dword [ebp + 0x10], 0
je 0x41ef20
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a4e8
lea ecx, [ebp - 0xc]
call fcn.00403cfb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x410
call fcn.0049d5ae
pop ecx
mov edi, eax
push dword [ebp - 4]
mov dword [ebp - 8], edi
and word [edi], 0
push edi
call ebx
lea eax, [ebp - 0x244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
lea ecx, [ebp - 0x10]
call fcn.0040a4e8
mov ecx, dword [esi + 0x208]
lea eax, [ebp - 0x10]
push eax
call fcn.004205e5
mov ecx, 0x94
lea esi, [ebp - 0x270]
mov edi, eax
push 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.00403c58
mov ecx, dword [ebp + 0x18]
lea eax, [eax + ecx*2]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x250
push eax
call ebx
cmp dword [ebp - 8], 0
je 0x41ef0d
push dword [ebp - 8]
call fcn.0049cefa
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ed5f
cmp dword [ebp - 0x14], eax
je 0x41ef46
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x41ef55
push dword [ebp - 4]
call fcn.0049cefa
pop ecx
cmp dword [ebp - 0x20], 0
je 0x41ef64
push dword [ebp - 0x20]
call fcn.0049cefa
pop ecx
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x1270], eax
xor eax, eax
lea edi, [ebp - 0x126c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x208]
push dword [eax + 0xc]
lea eax, [ebp - 0x1270]
push str.Items:_d
push eax
call fcn.0049d06e
add esp, 0xc
lea eax, [ebp - 0x1270]
push eax
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [0x4becf4], 0
pop edi
pop esi
pop ebx
leave
ret 0x14