Function at 0x40e1c0
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1670
call fcn.00419810
mov eax, dword [0x42729c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x710], 0
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x70c], 1
mov edx, dword [ebp + 0x20]
mov word [edx + 0xb18], 0
mov eax, dword [ebp + 8]
push eax
push 0x400
lea ecx, [ebp - 0xa60]
push ecx
call fcn.00417a00
mov edx, dword [ebp + 0xc]
push edx
push 0x400
lea eax, [ebp - 0x660]
push eax
call fcn.00417a00
cmp dword [ebp + 0x14], 0
je 0x40e283
mov ecx, dword [ebp + 0x10]
push ecx
push 0x400
lea edx, [ebp - 0xa60]
push edx
call fcn.00417d60
push 0x41fdec
push 0x400
lea eax, [ebp - 0xa60]
push eax
call fcn.00417d60
mov ecx, dword [ebp + 0x10]
push ecx
push 0x400
lea edx, [ebp - 0x660]
push edx
call fcn.00417d60
push 0x41fdf0
push 0x400
lea eax, [ebp - 0x660]
push eax
call fcn.00417d60
mov ecx, dword [ebp + 0x20]
push ecx
lea edx, [ebp - 0x660]
push edx
lea eax, [ebp - 0xa60]
push eax
call fcn.0040f5d0
add esp, 0xc
test eax, eax
jne 0x40e2a8
xor eax, eax
jmp 0x40e513
lea ecx, [ebp - 0xa60]
push ecx
lea edx, [ebp - 0x1270]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xa60]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0x41fdf4
lea edx, [ebp - 0xa60]
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 0xe6c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x40e379
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40e379
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0xe68]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0xe6c]
push eax
lea ecx, [ebp - 0xe68]
push ecx
call fcn.004076b0
add esp, 8
test eax, eax
jne 0x40e377
lea edx, [ebp - 0xe68]
push edx
push str.Internal_error:_Unable_to_get_date_time_stamp_from_file__s.
mov eax, dword [ebp + 0x20]
add eax, 0xb18
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x70c], 0
xor eax, eax
jmp 0x40e513
jmp 0x40e383
mov dword [ebp - 0xe6c], 0
mov edx, dword [ebp + 0x1c]
mov word [edx], 0
mov dword [ebp - 0xa64], 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0xa60]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xe70], eax
cmp dword [ebp - 0xe70], 0xffffffff
je 0x40e507
lea edx, [ebp - 0x1270]
push edx
lea eax, [ebp - 0xe68]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004076b0
add esp, 8
test eax, eax
je 0x40e4d5
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xe6c]
jle 0x40e4d5
lea ecx, [ebp - 0x660]
push ecx
lea edx, [ebp - 0x1670]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1670]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0xe68]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
lea ecx, [ebp - 0xa64]
push ecx
mov edx, dword [ebp + 0x20]
push edx
lea eax, [ebp - 0xe68]
push eax
lea ecx, [ebp - 0x1670]
push ecx
call fcn.0040f360
add esp, 0x10
test eax, eax
je 0x40e4d5
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x710]
add eax, 1
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x710], eax
lea edx, [ebp - 0x1670]
push edx
lea eax, [ebp - 0xe68]
push eax
push str.Copied__s_to__s__r_n
push 0x4298a0
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
push 0x4298a0
call fcn.00407f40
add esp, 4
cmp dword [ebp - 0xa64], 0
jne 0x40e4d5
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jle 0x40e4d5
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
lea eax, [ebp - 0xe68]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
cmp dword [ebp - 0xa64], 0
jne 0x40e4fa
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0xe70]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e3bc
mov ecx, dword [ebp - 0xe70]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
cmp dword [ebp - 0xa64], 0
sete al
mov ecx, dword [ebp - 0xc]
call fcn.00419641
mov esp, ebp
pop ebp
ret