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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418644
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.0041558c
test eax, eax
je 0x40e876
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.0041558c
test eax, eax
jne 0x40e8aa
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.0041558c
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.0041558c
jmp 0x40ec4a
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.0041558c
movzx eax, word [eax]
cmp eax, 0x5c
je 0x40e8f9
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.0041558c
movzx eax, word [eax]
cmp eax, 0x2f
je 0x40e8f9
mov esi, esp
push 0x41a974
lea ecx, [ebp + 8]
call dword [0x41a188]
cmp esi, esp
call fcn.0041558c
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.0041558c
movzx eax, word [eax]
cmp eax, 0x5c
je 0x40e948
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.0041558c
movzx eax, word [eax]
cmp eax, 0x2f
je 0x40e948
mov esi, esp
push 0x41a974
lea ecx, [ebp + 0x24]
call dword [0x41a188]
cmp esi, esp
call fcn.0041558c
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.0041558c
push eax
call fcn.0040c938
add esp, 4
push 0x41b6b8
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.0041558c
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0041558c
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x40ec05
mov esi, esp
push 0x41b144
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041558c
test eax, eax
je 0x40e9fc
mov esi, esp
push 0x41b13c
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041558c
test eax, eax
jne 0x40ea01
jmp 0x40ebca
mov eax, dword [ebp - 0x284]
and eax, 0x10
je 0x40eb1f
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 0x41a974
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 0x41a974
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.0040e810
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.0041558c
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.0041558c
jmp 0x40ebca
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.0041558c
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.0041558c
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0041558c
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.0041558c
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.0041558c
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.0041558c
test eax, eax
jne 0x40e9b8
mov esi, esp
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0041558c
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.0041558c
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.0041558c
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.0041558c
push edx
mov ecx, ebp
push eax
lea edx, [0x40ec7c]
call fcn.004155af
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.0041558c
mov esp, ebp
pop ebp
ret