Function at 0x40e740
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4181c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
lea edi, [ebp - 0x41c]
mov ecx, 0x104
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 1
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::length_void_const]
cmp esi, esp
call fcn.0041512c
test eax, eax
je 0x40e7a6
mov esi, esp
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::length_void_const]
cmp esi, esp
call fcn.0041512c
test eax, eax
jne 0x40e7da
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
jmp 0x40eb7a
mov esi, esp
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp esi, esp
call fcn.0041512c
movzx eax, word [eax]
cmp eax, 0x5c
je 0x40e829
mov esi, esp
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp esi, esp
call fcn.0041512c
movzx eax, word [eax]
cmp eax, 0x2f
je 0x40e829
mov esi, esp
push 0x41a960
lea ecx, [ebp + 8]
call dword [0x41a180]
cmp esi, esp
call fcn.0041512c
mov esi, esp
push 0
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp esi, esp
call fcn.0041512c
movzx eax, word [eax]
cmp eax, 0x5c
je 0x40e878
mov esi, esp
push 0
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp esi, esp
call fcn.0041512c
movzx eax, word [eax]
cmp eax, 0x2f
je 0x40e878
mov esi, esp
push 0x41a960
lea ecx, [ebp + 0x24]
call dword [0x41a180]
cmp esi, esp
call fcn.0041512c
mov esi, esp
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041512c
push eax
call fcn.0040c86c
add esp, 4
push 0x41b6b0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp - 0x284]
push eax
mov edi, esp
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp edi, esp
call fcn.0041512c
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x40eb35
mov esi, esp
push 0x41b134
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041512c
test eax, eax
je 0x40e92c
mov esi, esp
push 0x41b12c
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041512c
test eax, eax
jne 0x40e931
jmp 0x40eafa
mov eax, dword [ebp - 0x284]
and eax, 0x10
je 0x40ea4f
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp - 0x3ec]
push edx
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x404], eax
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3f8], esp
push 0x41a960
mov edx, dword [ebp - 0x404]
push edx
push ecx
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x3bc]
push eax
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0x414], ecx
mov byte [ebp - 4], 5
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x3c8], esp
push 0x41a960
mov eax, dword [ebp - 0x414]
push eax
push edx
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], ecx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
call fcn.0040e740
add esp, 0x38
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0x3bc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x3ec]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
jmp 0x40eafa
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp - 0x2d8]
push edx
call fcn.00401149
add esp, 0xc
mov byte [ebp - 4], 9
mov esi, esp
push 1
mov edi, esp
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp edi, esp
call fcn.0041512c
push eax
mov edi, esp
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp edi, esp
call fcn.0041512c
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 8
mov esi, esp
lea ecx, [ebp - 0x2d8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov esi, esp
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x290]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.0041512c
test eax, eax
jne 0x40e8e8
mov esi, esp
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, esp
call fcn.0041512c
push edx
mov ecx, ebp
push eax
lea edx, [0x40ebac]
call fcn.0041514f
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x41c
cmp ebp, esp
call fcn.0041512c
mov esp, ebp
pop ebp
ret