Function at 0x4402f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4465cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x38]
lea esi, [ebp + 0x38]
mov ecx, esi
mov dword [esp + 0x10], esi
call dword [eax + 4]
mov dword [esp + 0x42c], 0
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x4405cf
mov ecx, dword [ebp + 0x6c]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x4405cf
mov esi, dword [ebp + 0x68]
mov eax, dword [esi + 4]
test eax, eax
jne 0x440361
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x320]
push edx
push eax
call fcn.004402b0
add esp, 8
test al, al
je 0x4404a2
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x440386
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call fcn.004303a0
mov edi, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push 0x453924
lea eax, [esp + 0x20]
push 0x104
push eax
call edi
mov eax, dword [esi + 0x54]
add esp, 0x14
test eax, eax
jne 0x4403b3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x320]
lea edx, [esp + 0x118]
push ecx
push eax
push str._s_s
push 0x104
push edx
call edi
mov eax, dword [esi + 0x14]
add esp, 0x14
test eax, eax
jne 0x4403df
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call fcn.00430340
push eax
push 0x453924
lea eax, [esp + 0x228]
push 0x104
push eax
call edi
mov eax, dword [esi + 0x60]
add esp, 0x14
test eax, eax
jne 0x44041b
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x11c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x440430
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
call fcn.004283f0
add esp, 8
test eax, eax
je 0x4404a2
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004283f0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
add esp, 8
test ecx, ecx
jne 0x440458
mov ecx, edi
mov eax, dword [esi + 0x44]
mov edx, edi
test eax, eax
je 0x440463
mov edx, eax
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x44046c
mov eax, edi
push ecx
push edx
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.00430790
mov eax, dword [esi + 0x44]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
add esp, 0x10
test eax, eax
jne 0x44048e
mov eax, edx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x440497
mov edx, ecx
mov ecx, dword [ebp + 0x1c]
push eax
push edx
push ecx
mov edi, dword [ecx]
call dword [edi + 4]
mov ebx, dword [ebp + 0x6c]
lea edi, [esi + 0x64]
cmp edi, ebx
je 0x440566
lea esi, [edi - 0x44]
lea edx, [esi - 0x20]
cmp edx, edi
je 0x440558
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0
push edi
lea ecx, [esi - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x54]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x64]
mov eax, dword [edx]
push eax
push 0
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x74]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x84]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esi + 0x94]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0x40], edx
add edi, 0x64
add esi, 0x64
cmp edi, ebx
jne 0x4404b3
mov ebx, dword [ebp + 0x6c]
lea edi, [ebx - 0x64]
cmp edi, ebx
je 0x4405bd
lea esi, [edi + 0x40]
push 1
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi - 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esi - 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
add edi, 0x64
add esi, 0x64
cmp edi, ebx
jne 0x440573
mov eax, dword [ebp + 0x6c]
mov esi, dword [esp + 0x10]
add eax, 0xffffff9c
mov dword [ebp + 0x6c], eax
jmp 0x44032b
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x42c], 0xffffffff
call dword [eax + 8]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret