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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476bc4
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.0046a950
test eax, eax
je 0x459166
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.0046a950
test eax, eax
jne 0x45919a
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.0046a950
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.0046a950
jmp 0x45953a
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.0046a950
movzx eax, word [eax]
cmp eax, 0x5c
je 0x4591e9
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.0046a950
movzx eax, word [eax]
cmp eax, 0x2f
je 0x4591e9
mov esi, esp
push 0x47dcb4
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp esi, esp
call fcn.0046a950
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.0046a950
movzx eax, word [eax]
cmp eax, 0x5c
je 0x459238
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.0046a950
movzx eax, word [eax]
cmp eax, 0x2f
je 0x459238
mov esi, esp
push 0x47dcb4
lea ecx, [ebp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp esi, esp
call fcn.0046a950
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.0046a950
push eax
call fcn.00469390
add esp, 4
push 0x47eee0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040109b
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.0046a950
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.0046a950
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0xffffffff
je 0x4594f5
mov esi, esp
push 0x47eedc
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0046a950
test eax, eax
je 0x4592ec
mov esi, esp
push 0x47eed4
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
cmp esi, esp
call fcn.0046a950
test eax, eax
jne 0x4592f1
jmp 0x4594ba
mov eax, dword [ebp - 0x284]
and eax, 0x10
je 0x45940f
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp - 0x3ec]
push edx
call fcn.0040109b
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 0x47dcb4
mov edx, dword [ebp - 0x404]
push edx
push ecx
call fcn.0040109b
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.0040109b
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 0x47dcb4
mov eax, dword [ebp - 0x414]
push eax
push edx
call fcn.0040109b
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.00459100
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.0046a950
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.0046a950
jmp 0x4594ba
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2b4]
push edx
call fcn.0040109b
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.0040109b
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.0046a950
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.0046a950
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.0046a950
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.0046a950
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.0046a950
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.0046a950
test eax, eax
jne 0x4592a8
mov esi, esp
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.0046a950
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.0046a950
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.0046a950
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.0046a950
push edx
mov ecx, ebp
push eax
lea edx, [0x45956c]
call fcn.0046a973
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.0046a950
mov esp, ebp
pop ebp
ret