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

Disassembly:
push 0x24
mov eax, 0x6e8095
call fcn.00682c5e
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 0xc]
inc ebx
mov dword [ebp - 4], ebx
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]
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x4e827d
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, esi
call fcn.004e863f
test eax, eax
jne 0x4e8239
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
call fcn.004f0abe
push eax
call fcn.00500d00
pop ecx
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, esi
call fcn.004e863f
test eax, eax
jne 0x4e8239
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]
xor edi, edi
test al, 0x10
je 0x4e81e1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.004d1a73
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.004d1a73
add esp, 0x10
lea eax, [ebp - 0x30]
push edi
push eax
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004e8352
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sar eax, 3
cmp eax, 0xa
ja 0x4e81d5
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 0x70316c
push 2
push str.CFastMerge::DoReplace
push 0xcf
push str.E:FixReplayAttackscodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004ce3cb
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 fcn.0047380a
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
sub eax, edx
pop ecx
sar eax, 3
mov dword [ebp - 0x14], edi
pop ecx
mov ecx, edi
test eax, eax
je 0x4e81c9
push ebx
push ecx
lea eax, [edx + 4]
mov dword [ebp - 0x18], esp
lea eax, [eax + ecx*8]
mov ecx, esp
push eax
lea eax, [ebp + 0xc]
push eax
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
mov eax, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
lea eax, [eax + ecx*8]
mov ecx, esp
add eax, 4
push eax
lea eax, [ebp + 8]
push eax
push ecx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.004e8002
cmp dword [ebp + 0x10], 0
jne 0x4e81cb
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
inc ecx
sub eax, edx
mov dword [ebp - 0x14], ecx
sar eax, 3
cmp ecx, eax
jb 0x4e8167
mov edi, ebx
lea ecx, [ebp - 0x30]
call fcn.004e944c
jmp 0x4e822c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004e944c
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
mov ebx, str.Rename_file_dir_failed:_s_last_error:_d_n
push ebx
push 0x70316c
push 2
push str.CFastMerge::DoReplace
push 0xdd
push str.E:FixReplayAttackscodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004ce3cb
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 ebx
call fcn.0047380a
add esp, 0xc
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x4e8336
test edi, edi
je 0x4e8272
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004e7ac7
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 8]
call fcn.004e7aa0
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004e85ef
test eax, eax
je 0x4e82e9
test edi, edi
je 0x4e8338
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004e7ac7
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x10]
call fcn.004e7aa0
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x4e8338
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
mov edi, str.move_file_dir_failed:_s_last_error:_d_n
push edi
push 0x70316c
push 2
push str.CFastMerge::DoReplace
push 0xeb
push str.E:FixReplayAttackscodingTXUpdate_servicelogicFastMerge.cpp
call fcn.004ce3cb
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 edi
call fcn.0047380a
add esp, 0xc
xor edi, edi
mov ebx, edi
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, ebx
call fcn.00682c27
ret 0xc