Function at 0x425f20
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x495d1b
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 0x18]
mov esi, 8
cmp eax, esi
lea ebp, [edi + 4]
jb 0x425f54
mov eax, dword [ebp]
jmp 0x425f56
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
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__]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x54], 0
call fcn.00425540
add esp, 4
cmp eax, 0xffffffff
lea ecx, [esp + 0x10]
sete bl
mov dword [esp + 0x50], 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_]
test bl, bl
jne 0x4260e5
cmp dword [edi + 0x18], esi
jb 0x425fa0
mov ecx, dword [ebp]
jmp 0x425fa2
mov ecx, ebp
mov ebx, dword [esp + 0x58]
cmp dword [ebx + 0x18], esi
jb 0x425fb0
mov eax, dword [ebx + 4]
jmp 0x425fb3
lea eax, [ebx + 4]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4260fb
push 0x35c
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x50], 1
jb 0x425ffa
mov esi, dword [eax + 4]
jmp 0x425ffd
lea esi, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.move_file_failed._the_file_name_is:_n_s.error_code_is:_d
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [edi + 0x18]
mov esi, 8
cmp eax, esi
jb 0x42603c
mov eax, dword [ebp]
jmp 0x42603e
mov eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [edi + 0x18], esi
jb 0x42604f
mov ecx, dword [ebp]
jmp 0x426051
mov ecx, ebp
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x18], esi
jb 0x426064
mov ebp, dword [ebp]
cmp dword [ebx + 0x18], esi
jb 0x42606e
mov eax, dword [ebx + 4]
jmp 0x426071
lea eax, [ebx + 4]
push 3
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4260fb
push 0x366
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea edx, [esp + 0x2c]
push ebx
push edx
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x50], 2
jb 0x4260b4
mov esi, dword [eax + 4]
jmp 0x4260b7
lea esi, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.move_file_failed._the_file_name_is:_n_s.error_code_is:_d
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x14
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret