Function at 0x41c211
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push esi
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x41c25c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
push str._s:_i:_include:_no_filename_given
call fcn.00401438
add esp, 0xc
or eax, 0xffffffff
jmp 0x41c5cc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0040149c
add esp, 4
test eax, eax
je 0x41c280
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040117c
add esp, 4
jmp 0x41c5cc
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.0049cf10
add esp, 0xc
push 0x2f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
call fcn.0049d0c0
add esp, 8
test eax, eax
jne 0x41c2c4
push 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.0049d0c0
add esp, 8
test eax, eax
je 0x41c34c
push 0x104
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0049d830
add esp, 0xc
mov byte [ebp - 5], 0
xor edx, edx
test edx, edx
jne 0x41c2c4
lea eax, [ebp - 0x108]
push eax
call fcn.0049d180
add esp, 4
lea ecx, [ebp + eax - 0x108]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x41c342
mov ecx, dword [ebp - 0x250]
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x41c342
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x108]
cmp eax, ecx
jbe 0x41c342
mov edx, dword [ebp - 0x250]
sub edx, 1
mov dword [ebp - 0x250], edx
jmp 0x41c305
mov eax, dword [ebp - 0x250]
mov byte [eax + 1], 0
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x41c39a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
push str._s:_i:_include__s:_invalid_file_given
call fcn.00401438
add esp, 0x10
or eax, 0xffffffff
jmp 0x41c5cc
lea edx, [ebp - 0x108]
test edx, edx
je 0x41c445
lea eax, [ebp - 0x108]
push eax
call fcn.0049d180
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0049d180
add esp, 4
lea edx, [esi + eax + 1]
push edx
call fcn.0049ce87
add esp, 4
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0049cfb0
add esp, 8
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x254]
push eax
call fcn.0049cfc0
add esp, 8
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00401ece
add esp, 4
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jl 0x41c434
mov edx, dword [ebp - 0x254]
push edx
call fcn.00401320
add esp, 4
mov eax, dword [ebp - 0x254]
push eax
call fcn.0049ce99
add esp, 4
jmp 0x41c472
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00401ece
add esp, 4
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jl 0x41c472
lea edx, [ebp - 0x21c]
push edx
call fcn.00401320
add esp, 4
cmp dword [ebp - 0x24c], 0
jge 0x41c493
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x24c]
jmp 0x41c5cc
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41c5a9
lea eax, [ebp - 0x108]
test eax, eax
je 0x41c577
lea ecx, [ebp - 0x108]
push ecx
call fcn.0049d180
add esp, 4
mov esi, eax
lea edx, [ebp - 0x21c]
push edx
call fcn.0049d180
add esp, 4
lea eax, [esi + eax + 1]
push eax
call fcn.0049ce87
add esp, 4
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call fcn.0049cfb0
add esp, 8
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0049cfc0
add esp, 8
mov edx, dword [ebp - 0x254]
push edx
call fcn.00401ece
add esp, 4
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jl 0x41c564
mov eax, dword [ebp - 0x254]
push eax
call fcn.00401320
add esp, 4
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0049ce99
add esp, 4
jmp 0x41c575
mov edx, dword [ebp - 0x254]
push edx
call fcn.0049ce99
add esp, 4
jmp 0x41c5a9
jmp 0x41c5a4
lea eax, [ebp - 0x21c]
push eax
call fcn.00401ece
add esp, 4
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jl 0x41c5a4
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00401320
add esp, 4
jmp 0x41c49d
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x24c], 0
jge 0x41c5c7
mov eax, dword [ebp - 0x24c]
jmp 0x41c5cc
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret