Function at 0x40c3f0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00419810
mov eax, dword [0x42729c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0x1270], 0
mov dword [ebp - 4], 0xf4240
mov dword [ebp - 0x126c], 1
lea eax, [ebp - 4]
push eax
push 0x4320f0
call fcn.00409fb0
add esp, 8
test eax, eax
jne 0x40c446
jmp 0x40c805
push 0x429648
lea ecx, [ebp - 0x1268]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0xe60]
push edx
lea eax, [ebp - 0x1268]
push eax
call fcn.004076b0
add esp, 8
push 0x429648
lea ecx, [ebp - 0xe58]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0xe58]
push edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
sub eax, 1
mov dword [ebp - 0x1274], eax
jmp 0x40c4b0
mov eax, dword [ebp - 0x1274]
sub eax, 1
mov dword [ebp - 0x1274], eax
cmp dword [ebp - 0x1274], 0
jbe 0x40c4d0
mov ecx, dword [ebp - 0x1274]
movzx edx, word [ebp + ecx*2 - 0xe58]
cmp edx, 0x5c
jne 0x40c4ce
jmp 0x40c4d0
jmp 0x40c4a1
mov eax, dword [ebp - 0x1274]
mov word [ebp + eax*2 - 0xe56], 0
push 0x1000
push 0x42e6c0
push 0x6a
call fcn.00409ba0
add esp, 0xc
mov ecx, dword [0x4306c8]
add ecx, 1
mov dword [0x4306c8], ecx
mov edx, dword [0x4306c8]
push edx
push 0x42e6c0
push 0x4298a0
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
push 0x4298a0
call fcn.00407f40
add esp, 4
mov word [0x427820], 0
mov word [0x427924], 0
mov dword [0x428924], 1
push 0x428928
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [0x42892c], 0x6b
push 0x428bf0
lea eax, [ebp - 0xa58]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0xa58]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp - 0xe5c], eax
mov edx, dword [ebp - 0xe5c]
sub edx, 6
mov dword [ebp - 0x1274], edx
jmp 0x40c5a9
mov eax, dword [ebp - 0x1274]
sub eax, 1
mov dword [ebp - 0x1274], eax
cmp dword [ebp - 0x1274], 0
jbe 0x40c5c9
mov ecx, dword [ebp - 0x1274]
movzx edx, word [ebp + ecx*2 - 0xa58]
cmp edx, 0x5f
jne 0x40c5c7
jmp 0x40c5c9
jmp 0x40c59a
cmp dword [ebp - 0x1274], 0
ja 0x40c5d7
jmp 0x40c805
mov eax, dword [ebp - 0x1274]
mov word [ebp + eax*2 - 0xa56], 0x2a
mov ecx, dword [ebp - 0x1274]
mov word [ebp + ecx*2 - 0xa54], 0x2e
mov edx, dword [ebp - 0x1274]
mov word [ebp + edx*2 - 0xa52], 0x68
mov eax, dword [ebp - 0x1274]
mov word [ebp + eax*2 - 0xa50], 0x74
mov ecx, dword [ebp - 0x1274]
mov word [ebp + ecx*2 - 0xa4e], 0x6d
mov edx, dword [ebp - 0x1274]
mov word [ebp + edx*2 - 0xa4c], 0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0xa58]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0xffffffff
je 0x40c784
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1678]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0xe64]
push ecx
lea edx, [ebp - 0x1678]
push edx
call fcn.004076b0
add esp, 8
test eax, eax
je 0x40c75b
mov eax, dword [ebp - 0xe64]
push eax
mov ecx, dword [ebp - 0xe60]
push ecx
call dword [sym.imp.MSVCR71.dll_difftime]
add esp, 8
call fcn.0041977c
mov dword [ebp - 0x167c], eax
mov edx, dword [ebp - 0x167c]
cmp edx, dword [ebp - 4]
jle 0x40c75b
lea eax, [ebp - 0xe58]
push eax
lea ecx, [ebp - 0x1678]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1678]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
lea ecx, [ebp - 0x1678]
push ecx
call fcn.00409a70
add esp, 4
test eax, eax
je 0x40c74c
push 0x1000
push 0x42e6c0
push 0x23
call fcn.00409ba0
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
push 0x42e6c0
push 0x4298a0
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
push 0x4298a0
call fcn.00407f40
add esp, 4
mov dword [ebp - 0x126c], 0
jmp 0x40c75b
mov eax, dword [ebp - 0xe68]
add eax, 1
mov dword [ebp - 0xe68], eax
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x1270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c65e
mov eax, dword [ebp - 0x1270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x1000
push 0x42e6c0
push 0x24
call fcn.00409ba0
add esp, 0xc
mov ecx, dword [ebp - 0xe68]
push ecx
push 0x42e6c0
push 0x4298a0
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
push 0x4298a0
call fcn.00407f40
add esp, 4
push 0x1000
push 0x42e6c0
push 0x74
call fcn.00409ba0
add esp, 0xc
mov edx, dword [ebp - 0xe68]
push edx
push 0x42e6c0
push 0x427924
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
mov dword [0x428924], 1
cmp dword [ebp - 0xe68], 0
jle 0x40c805
call fcn.0040a120
mov ecx, dword [ebp - 8]
call fcn.00419641
mov esp, ebp
pop ebp
ret