Function at 0x46ccc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d019
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x10]
push eax
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, edi
call fcn.0046af60
xor esi, esi
cmp eax, esi
jne 0x46cd72
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 4]
call fcn.004747a0
push eax
call fcn.00481210
add esp, 4
lea eax, [ebp - 0x10]
push eax
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, edi
call fcn.0046af60
cmp eax, esi
je 0x46cdf3
cmp dword [ebp + 0x10], esi
je 0x46cde2
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0046b840
add esp, 0xc
mov bl, 4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0046b5a0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [edi + 8]
mov byte [ebp - 4], 5
call fcn.0045e230
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0045c070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0046b340
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x46d01b
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x46cfb9
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea eax, [ebp + 8]
push 1
push eax
mov byte [ebp - 4], 6
call fcn.004991c0
lea ecx, [ebp + 0xc]
push 1
push ecx
call fcn.004991c0
add esp, 0x10
push esi
lea edx, [ebp - 0x38]
push edx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0046c9a0
mov ecx, dword [ebp - 0x34]
cmp ecx, esi
je 0x46ce7a
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 3
cmp eax, 0xa
ja 0x46cfad
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.Rename_dir__s__failed__try_rename_subitems_instead_n
push 0x5a79a4
push 2
push str.CFastMerge::DoReplace
push 0xd0
push str.E:_txupdatecodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004587e0
add esp, 0x1c
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.Rename_dir__s__failed__try_rename_subitems_instead_n
call dword [sym.imp.MSVCR80.dll_wprintf]
mov ebx, dword [ebp + 0x10]
add esp, 8
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x46cf61
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x46cf61
push 1
push ecx
lea eax, [ecx + esi*8 + 4]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
lea edx, [ebp + 0xc]
push edx
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
mov eax, dword [ebp - 0x34]
test eax, eax
mov byte [ebp - 4], 8
je 0x46cf0c
mov ecx, dword [ebp - 0x30]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jb 0x46cf15
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x34]
push ecx
mov ecx, esp
lea eax, [eax + esi*8 + 4]
mov dword [ebp - 0x18], esp
push eax
lea edx, [ebp + 8]
push edx
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0046ccc0
test ebx, ebx
jne 0x46cf44
add esi, 1
jmp 0x46cec0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0046c330
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x46d114
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0046c330
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0046c330
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.Rename_file_dir_failed:_s_last_error:_d_n
push 0x5a79a4
push 2
push str.CFastMerge::DoReplace
push 0xde
push str.E:_txupdatecodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004587e0
add esp, 0x20
call esi
push eax
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.Rename_file_dir_failed:_s_last_error:_d_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x46d114
xor esi, esi
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
mov byte [ebp - 4], 9
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0046b050
cmp eax, esi
je 0x46d0c5
cmp dword [ebp + 0x10], esi
je 0x46cf79
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 0xa
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0046b840
add esp, 0xc
mov bl, 0xb
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0046b5a0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0045e230
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0045c070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0046b340
jmp 0x46cf79
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.move_file_dir_failed:_s_last_error:_d_n
push 0x5a79a4
push 2
push str.CFastMerge::DoReplace
push 0xec
push str.E:_txupdatecodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004587e0
add esp, 0x20
call esi
push eax
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.move_file_dir_failed:_s_last_error:_d_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc