Function at 0x430fe0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x49710c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [0x4bdc98]
xor eax, esp
push esi
push edi
mov edi, dword [esp + 0x104]
push 0x195
mov esi, ecx
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
mov dword [esp + 0xf8], eax
call fcn.00441240
lea eax, [esp + 0x48]
push 0x4bec7c
push eax
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0xfc], 0
jb 0x431050
mov eax, dword [eax + 4]
jmp 0x431053
add eax, 4
push eax
push str.The_path_of_duplicate_is:_s
push 2
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
lea ecx, [esp + 0x48]
mov dword [esp + 0xfc], 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_]
push 0x4bec7c
mov ecx, esi
call fcn.0042e810
cmp eax, 0xffffffff
jne 0x4310a9
push 0x198
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.RenameMyself_function_failed.
jmp 0x4310d3
push 0x4bec7c
mov ecx, esi
call fcn.0042f3e0
cmp eax, 0xffffffff
jne 0x4310ea
push 0x19e
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.CoverMyself_function_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
or eax, 0xffffffff
jmp 0x431617
push ebx
push 0x4a1130
lea ecx, [esp + 0x50]
push 0x4bec7c
push ecx
call fcn.00402280
push 0x4c02dc
push eax
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0x118], 1
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 0x4c]
mov byte [esp + 0x100], 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_]
push 0x4a1130
lea eax, [esp + 0x6c]
push 0x4bec7c
push eax
call fcn.00402280
push 0x4c0368
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x118], 4
call fcn.00402180
add esp, 0x18
lea ecx, [esp + 0x68]
mov byte [esp + 0x100], 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_]
mov eax, dword [esp + 0xb8]
mov ebx, 8
cmp eax, ebx
mov eax, dword [esp + 0xa4]
jae 0x431194
lea eax, [esp + 0xa4]
push 0
push eax
call dword [sym.imp.MSVCR71.dll__waccess]
add esp, 8
cmp eax, 0xffffffff
jne 0x43127d
call dword [sym.imp.MSVCR71.dll__errno]
cmp dword [eax], 2
jne 0x43127d
push 0x1a8
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.Copy_new_liveupdate.exe_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb0]
add esp, 0xc
cmp eax, ebx
jae 0x4311f9
lea ecx, [esp + 0xa4]
cmp dword [esp + 0xd4], ebx
mov eax, dword [esp + 0xc0]
jae 0x431210
lea eax, [esp + 0xc0]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__wrename]
add esp, 8
cmp eax, 0xffffffff
jne 0x431248
push 0x1ad
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.Rename_liveupdate.old_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
lea ecx, [esp + 0xbc]
mov byte [esp + 0x100], 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 + 0xa0]
mov dword [esp + 0x100], 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 0x431616
push edi
lea edx, [esp + 0xdc]
push edx
mov ecx, esi
call fcn.0042dbd0
push 0x4a2a04
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x1c]
mov bl, 7
push ecx
mov byte [esp + 0x10c], bl
call fcn.00402280
push 0x4bec28
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x118], 8
call fcn.00402180
push 0x4a2a00
push eax
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x124], 9
call fcn.00402280
add esp, 0x24
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x104], 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 + 0x84]
mov byte [esp + 0x100], 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 + 0x30]
mov byte [esp + 0x100], 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_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x100], 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_]
push 0x1b7
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00432770
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x100], 0xb
jb 0x43136d
mov eax, dword [eax + 4]
jmp 0x431370
add eax, 4
push eax
push str.The_argument_is:_s
push 2
push 0x4bfb40
call fcn.00442ba0
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x100], 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 eax, [esp + 0x10]
push eax
push 1
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xac]
push edx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.0042d960
test eax, eax
je 0x431499
push 0x1bd
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.Execute_new_liveupdate.exe_failed._Need_rename_liveupdate.old_to_liveupdate.exe
push 1
push 0x4bfb40
call fcn.00442ba0
mov eax, dword [esp + 0xc4]
mov esi, 8
add esp, 0xc
cmp eax, esi
mov eax, dword [esp + 0xa4]
jae 0x43140a
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.MSVCR71.dll__wremove]
add esp, 4
cmp eax, 0xffffffff
je 0x431457
cmp dword [esp + 0xb8], esi
mov ecx, dword [esp + 0xa4]
jae 0x431430
lea ecx, [esp + 0xa4]
cmp dword [esp + 0xd4], esi
mov eax, dword [esp + 0xc0]
jae 0x431447
lea eax, [esp + 0xc0]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__wrename]
add esp, 8
cmp eax, 0xffffffff
jne 0x43147f
push 0x1c3
push str._views_br_LiveUpdate_Client_20090305_B044__tsp_product1.7_Code_srcLiveUpdateprocess_srcwin32RefreshFiles.cpp
mov ecx, 0x4bfb40
call fcn.00441240
push str.Rename_liveupdate.old_failed.
push 1
push 0x4bfb40
call fcn.00442ba0
add esp, 0xc
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], 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_]
jmp 0x431248
push 0x4a1130
lea eax, [esp + 0x34]
push 0x4bec28
push eax
call fcn.00402280
push 0x4c0288
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x118], 0xc
call fcn.00402180
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x104], 0xd
call fcn.0042e810
or edi, 0xffffffff
cmp eax, edi
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
mov byte [esp + 0x100], 0xc
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 + 0x30]
mov byte [esp + 0x100], 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_]
mov al, byte [esp + 0xf]
test al, al
je 0x431552
mov byte [esp + 0x100], 6
lea ecx, [esp + 0xd8]
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 + 0xbc]
mov byte [esp + 0x100], 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 + 0xa0]
mov dword [esp + 0x100], 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__::destructor_void_]
mov eax, edi
jmp 0x431616
push 0x4a1130
lea edx, [esp + 0x34]
push 0x4bec28
push edx
call fcn.00402280
push 0x4c0288
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x118], 0xe
call fcn.00402180
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x104], 0xf
call fcn.0042f3e0
cmp eax, edi
lea ecx, [esp + 0x14]
sete byte [esp + 0xf]
mov byte [esp + 0x100], 0xe
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 + 0x30]
mov byte [esp + 0x100], 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_]
mov al, byte [esp + 0xf]
test al, al
jne 0x43150d
mov ecx, esi
call fcn.00430910
test eax, eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], 6
jne 0x43151c
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 + 0xbc]
mov byte [esp + 0x100], 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 + 0xa0]
mov dword [esp + 0x100], 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__::destructor_void_]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xf4]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xec]
pop esi
xor ecx, esp
call fcn.00491e29
add esp, 0xf8
ret 4