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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e774
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.0041b0ac
test eax, eax
je 0x412cc6
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.0041b0ac
test eax, eax
jne 0x412cfa
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.0041b0ac
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.0041b0ac
jmp 0x41309a
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.0041b0ac
movzx eax, word [eax]
cmp eax, 0x5c
je 0x412d49
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.0041b0ac
movzx eax, word [eax]
cmp eax, 0x2f
je 0x412d49
mov esi, esp
push 0x420ddc
lea ecx, [ebp + 8]
call dword [0x420230]
cmp esi, esp
call fcn.0041b0ac
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.0041b0ac
movzx eax, word [eax]
cmp eax, 0x5c
je 0x412d98
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.0041b0ac
movzx eax, word [eax]
cmp eax, 0x2f
je 0x412d98
mov esi, esp
push 0x420ddc
lea ecx, [ebp + 0x24]
call dword [0x420230]
cmp esi, esp
call fcn.0041b0ac
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.0041b0ac
push eax
call fcn.00410cdd
add esp, 4
push 0x422048
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.0041b0ac
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0041b0ac
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x413055
mov esi, esp
push 0x421ab0
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041b0ac
test eax, eax
je 0x412e4c
mov esi, esp
push 0x421aa8
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0041b0ac
test eax, eax
jne 0x412e51
jmp 0x41301a
mov eax, dword [ebp - 0x284]
and eax, 0x10
je 0x412f6f
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 0x420ddc
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 0x420ddc
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.00412c60
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.0041b0ac
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.0041b0ac
jmp 0x41301a
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.0041b0ac
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.0041b0ac
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0041b0ac
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.0041b0ac
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.0041b0ac
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.0041b0ac
test eax, eax
jne 0x412e08
mov esi, esp
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0041b0ac
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.0041b0ac
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.0041b0ac
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.0041b0ac
push edx
mov ecx, ebp
push eax
lea edx, [0x4130cc]
call fcn.0041b0cf
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.0041b0ac
mov esp, ebp
pop ebp
ret