Function at 0x4e1d1c
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x596ca1
call fcn.00584f68
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
xor esi, esi
inc esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004de00a
test eax, eax
je 0x4e2218
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call fcn.004e0286
mov edi, eax
cmp edi, ebx
je 0x4e2218
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4e1d9c
lea eax, [ebp - 0x14]
push eax
add edi, 8
push edi
push dword [ebp + 8]
call fcn.004e4c7e
add esp, 0xc
jmp 0x4e2223
cmp eax, 2
je 0x4e201d
cmp eax, 4
je 0x4e201d
cmp eax, 5
je 0x4e201d
cmp eax, 6
jne 0x4e2218
push dword [ebp + 0xc]
mov ebx, str.....SourceCommonFileSystemFileSystemMgr.cpp
push str.ConvertToPureFile_QNC_s
push 0x5b9318
push 2
push str.CTXFileSystemMgr::ConvertToPureFile
push 0x536
push ebx
call fcn.004587e0
add esp, 0x1c
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov esi, 0x104
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
and dword [ebp - 0x18], 0
push 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00476760
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
add eax, eax
push eax
push 0
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
lea ecx, [ebp - 0x18]
call fcn.004603c0
push eax
call fcn.00416d90
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004e4e80
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x10
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
add esp, 0x10
push 0x5a7b3c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.0049f0c7
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
mov edi, dword [esi]
mov byte [ebp - 4], 0x14
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [ebp - 0x3c]
push eax
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push esi
call dword [edi + 0x4c]
test eax, eax
lea ecx, [ebp - 0x40]
setge byte [ebp - 0xd]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
cmp byte [ebp - 0xd], 0
je 0x4e1fd8
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.ConvertToPureFile_Ok__TempFileName_s
push 0x5b9318
push 2
push str.CTXFileSystemMgr::ConvertToPureFile
push 0x54e
push ebx
call fcn.0046fa20
mov ecx, dword [ebp + 8]
add esp, 0x1c
lea eax, [ebp - 0x1c]
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0x10
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x4e1faf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x4e2226
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 0xe
je 0x4e2005
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
jmp 0x4e2204
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov esi, 0x104
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
call fcn.00476760
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
add eax, eax
push eax
push ebx
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
lea ecx, [ebp - 0x18]
call fcn.004603c0
push eax
call fcn.00416d90
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004e4e80
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
add esp, 0x10
push 0x5a7b3c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0049f0c7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov edi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov dword [ebp - 0x44], eax
mov esi, dword [edi]
mov ecx, ebx
mov byte [ebp - 4], 0xb
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
mov ecx, dword [ebp - 0x44]
push eax
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
push edi
call dword [esi + 0x4c]
test eax, eax
lea ecx, [ebp - 0x40]
setge bl
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
test bl, bl
je 0x4e21c4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
je 0x4e21ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
jmp 0x4e1fc2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
je 0x4e21f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor esi, esi
inc esi
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 8]
call fcn.00585040
ret 8