Function at 0x42f3e0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x496e1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
mov eax, dword [0x4bdc98]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 4]
test eax, eax
push ebp
mov ebp, dword [esp + 0xc8]
push esi
je 0x42f669
mov esi, dword [eax + 0x18]
test esi, esi
mov dword [esp + 0xc], esi
je 0x42f669
push ebx
push edi
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x88]
mov dword [esp + 0x10], edi
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__::constructor_void_]
lea ecx, [esp + 0xa4]
mov dword [esp + 0xcc], 0
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__::constructor_void_]
cmp edi, dword [esi + 0x1c]
mov byte [esp + 0xcc], 1
je 0x42f5df
mov bl, 4
jmp 0x42f480
mov edi, dword [esp + 0x10]
jmp 0x42f480
mov eax, dword [esp + 0x10]
mov esi, dword [edi + 0x11c]
mov ecx, dword [eax + 0x120]
add edi, 0xb8
cmp esi, ecx
je 0x42f5c3
mov edi, edi
push 0x4a1130
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.00402280
push esi
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xe4], 2
call fcn.00402180
add esp, 0x18
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd0], 3
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 2
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_]
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 1
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_]
push 0x4a1130
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.00402280
push 0x4c02dc
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xe4], bl
call fcn.00402180
add esp, 0x18
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0xd0], 5
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], bl
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_]
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 1
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_]
mov ecx, dword [esp + 0xbc]
mov eax, 8
cmp ecx, eax
mov ecx, dword [esp + 0xa8]
jae 0x42f585
lea ecx, [esp + 0xa8]
cmp dword [esp + 0xa0], eax
mov eax, dword [esp + 0x8c]
jae 0x42f59c
lea eax, [esp + 0x8c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x42f637
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x120]
add esi, 0x5c
cmp esi, eax
jne 0x42f4a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1c]
add eax, 0x128
cmp eax, edx
mov dword [esp + 0x10], eax
jne 0x42f46f
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 0
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_]
lea ecx, [esp + 0x88]
mov dword [esp + 0xcc], 0xffffffff
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_]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0xbc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb4]
pop ebp
xor ecx, esp
call fcn.00491e29
add esp, 0xc0
ret 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0xcc], 0
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_]
lea ecx, [esp + 0x88]
mov dword [esp + 0xcc], 0xffffffff
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_]
or eax, 0xffffffff
jmp 0x42f60e
or eax, 0xffffffff
jmp 0x42f610