Function at 0x42ee20
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x496dcc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4bdc98]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 4], eax
je 0x42f2f9
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x42f2f9
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x42f2f9
push ebx
push esi
mov eax, ecx
mov ebx, dword [eax + 0x14]
push edi
mov edi, dword [eax + 0x18]
push 0x4a5168
lea ecx, [esp + 0x188]
mov dword [esp + 0x18], 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_wchar_t_const__]
push 0x4a5168
lea ecx, [esp + 0x16c]
mov dword [esp + 0x1b0], 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_wchar_t_const__]
mov esi, dword [edi + 0x18]
cmp esi, dword [edi + 0x1c]
mov byte [esp + 0x1ac], 1
je 0x42f2c5
push ebp
jmp 0x42eed0
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x42f2af
mov eax, dword [esi + 0x110]
cmp eax, 2
je 0x42f2af
cmp eax, 3
je 0x42f2af
lea eax, [esi + 0x3c]
push eax
lea ebp, [esi + 0x20]
lea ecx, [esp + 0x100]
push ebp
push ecx
call fcn.00402180
lea edx, [esi + 0x58]
push edx
push eax
lea eax, [esp + 0xd8]
push eax
mov byte [esp + 0x1c8], 2
call fcn.00402180
mov edi, eax
mov ecx, dword [esp + 0x2c]
push 0x4c03d8
add ecx, 0x10
push ecx
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x1d4], 3
call fcn.00402180
push 0x4a1130
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x1e0], 4
call fcn.00402280
push edi
push eax
lea ecx, [esp + 0x118]
push ecx
mov byte [esp + 0x1ec], 5
call fcn.00402180
push 0x4a1130
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x1f8], 6
call fcn.00402280
add esp, 0x48
push 0x4c0330
push eax
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x1bc], 7
call fcn.00402180
push 0x4a1130
push eax
lea ecx, [esp + 0x12c]
push ecx
mov byte [esp + 0x1c8], 8
call fcn.00402280
push 0x4c034c
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x1d4], 9
call fcn.00402180
add esp, 0x24
push eax
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1b4], 0xa
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 + 0x54]
mov byte [esp + 0x1b0], 9
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 + 0x118]
mov byte [esp + 0x1b0], 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_]
mov byte [esp + 0x1b0], 7
lea ecx, [esp + 0xa8]
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 + 0x1c]
mov byte [esp + 0x1b0], 6
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 + 0xe0]
mov byte [esp + 0x1b0], 5
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 + 0x38]
mov byte [esp + 0x1b0], 4
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 + 0x8c]
mov byte [esp + 0x1b0], 3
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 + 0xc4]
mov byte [esp + 0x1b0], 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 + 0xfc]
mov byte [esp + 0x1b0], 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, [esi + 0xd4]
push eax
lea ecx, [esp + 0x13c]
push ecx
call fcn.00402280
push 0x4c034c
push eax
lea edx, [esp + 0x164]
push edx
mov byte [esp + 0x1c8], 0xb
call fcn.00402180
add esp, 0x18
push eax
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b4], 0xc
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 + 0x150]
mov byte [esp + 0x1b0], 0xb
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 + 0x134]
mov byte [esp + 0x1b0], 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 edi, dword [ebx + 8]
cmp edi, dword [ebx + 0xc]
je 0x42f2af
lea eax, [edi + 0x24]
mov dword [esp + 0x10], eax
jmp 0x42f140
mov eax, dword [esp + 0x10]
mov edi, edi
mov edx, dword [eax + 0x14]
mov ecx, 8
cmp edx, ecx
jb 0x42f14e
mov eax, dword [eax]
cmp dword [esi + 0x38], ecx
jb 0x42f158
mov ecx, dword [ebp + 4]
jmp 0x42f15b
lea ecx, [ebp + 4]
push eax
push ecx
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x42f18a
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
add edi, 0xcc
add ecx, 0xcc
cmp edi, eax
mov dword [esp + 0x10], ecx
jne 0x42f13a
jmp 0x42f2af
mov eax, dword [edi + 0xa4]
test eax, eax
jne 0x42f1fb
push 0x2ad
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
add edi, 0x20
lea eax, [esp + 0x70]
push edi
push eax
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x1b0], 0xd
jb 0x42f1cc
mov eax, dword [eax + 4]
jmp 0x42f1cf
add eax, 4
push eax
push str.the_path_of_component___s__is_null.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
lea ecx, [esp + 0x70]
mov byte [esp + 0x1b0], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x42f2af
mov eax, dword [esp + 0x184]
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x170]
jae 0x42f219
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [esp + 0x184], edi
mov ecx, dword [esp + 0x170]
jae 0x42f237
lea ecx, [esp + 0x170]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x184], edi
mov ecx, dword [esp + 0x170]
jae 0x42f259
lea ecx, [esp + 0x170]
cmp dword [esp + 0x1a0], edi
mov eax, dword [esp + 0x18c]
jae 0x42f270
lea eax, [esp + 0x18c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42f2af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2b8
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
mov edi, eax
call fcn.00441240
push edi
push str.copy_file_error__and_error_code_is__d
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c]
add esi, 0x128
cmp esi, eax
jne 0x42eed0
pop ebp
lea ecx, [esp + 0x168]
mov byte [esp + 0x1ac], 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 + 0x184]
mov dword [esp + 0x1ac], 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_]
pop edi
pop esi
xor eax, eax
pop ebx
jmp 0x42f2fc
or eax, 0xffffffff
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00491e29
add esp, 0x1a4
ret