Function at 0x426b70
Capabilities:
Copy file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x495f33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [0x4bdc98]
mov ecx, dword [esp + 0x8c]
xor eax, esp
push esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [esp + 4], ecx
jne 0x426be5
push 0x4a3558
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
push 0x76
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.ReadXMLFile_failed._File_path_is_empty.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
or eax, 0xffffffff
jmp 0x427094
push ebx
push str..itms
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00402280
add esp, 0xc
push 0x4bf9f0
mov dword [esp + 0x8c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x44]
push ecx
call fcn.004256c0
mov eax, dword [esp + 0x60]
mov ebx, 8
add esp, 4
cmp eax, ebx
mov eax, dword [esp + 0x48]
jae 0x426c31
lea eax, [esp + 0x48]
cmp dword [esi + 0x18], ebx
jb 0x426c3b
mov esi, dword [esi + 4]
jmp 0x426c3e
add esi, 4
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x48]
jae 0x426c56
lea eax, [esp + 0x48]
push edi
push 0x4a44a4
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x426d42
push 0x89
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x8c], 1
jb 0x426ca9
mov esi, dword [eax + 4]
jmp 0x426cac
lea esi, [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Open_file:__s_failed._ErrorCode:__d
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x8c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [esp + 0x60], ebx
mov eax, dword [esp + 0x4c]
jae 0x426ce8
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
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 ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x90], 2
call fcn.004256c0
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 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_]
push 0x4bf9f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], 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 0x427092
mov esi, dword [sym.imp.MSVCR71.dll_fseek]
push ebp
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.MSVCR71.dll_ftell]
mov ebp, eax
add esp, 0x10
test ebp, ebp
jg 0x426e0f
push 0x99
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.File_content_is_empty.
push 1
push 0x4bfb40
call fcn.00442ba0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x4a3558
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x68]
add esp, 4
cmp eax, ebx
mov eax, dword [esp + 0x50]
jae 0x426db5
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x6c]
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 edx, [esp + 0x68]
push edx
mov byte [esp + 0x94], 3
call fcn.004256c0
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 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_]
push 0x4bf9f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], 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 0x427091
push 0
push 0
push edi
call esi
lea eax, [ebp + 1]
push eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 0x10
mov esi, eax
test esi, esi
push edi
jne 0x426e5c
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
push 0xae
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32PublicFunction.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.Allocate_memery_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
jmp 0x426de7
push 1
push ebp
push esi
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x426e72
mov byte [esi + ebp], 0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
push 0x4bf9f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
jae 0x426e95
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x6c]
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 ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x94], 4
call fcn.004256c0
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 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_]
mov al, byte [esi]
cmp al, 0xff
jne 0x426f4a
cmp byte [esi + 1], 0xfe
jne 0x426f4a
lea ecx, [esp + 0x68]
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 eax, [ebp - 2]
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esi + 2]
mov bl, 5
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], bl
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__::assign_wchar_t_const___unsigned_int_]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004323b0
add esp, 8
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0x94], 6
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 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_]
jmp 0x427003
cmp al, 0xef
jne 0x426f6d
cmp byte [esi + 1], 0xbb
jne 0x426f6d
cmp byte [esi + 2], 0xbf
jne 0x426f6d
mov ecx, dword [esp + 0x10]
lea edx, [esi + 3]
push edx
call dword [sym.imp.MSVCP71.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_char_const__]
jmp 0x427003
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x3c
mov bl, 7
push esi
mov byte [esp + 0x98], bl
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
jne 0x426fb0
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 0
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 0x426df2
push eax
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.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_char_const__]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004325b0
add esp, 8
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0x94], 8
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 0
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 al, byte [esp + 0xa0]
test al, al
je 0x427071
push str.Huawei_Wuminghui_63386
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push edi
mov bl, 9
push eax
mov byte [esp + 0x9c], bl
call fcn.00432cd0
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x94], 0xa
call dword [sym.imp.MSVCP71.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], 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 ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x78]
pop esi
xor ecx, esp
call fcn.00491e29
add esp, 0x84
ret