Function at 0x5460ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0xc]
push edi
mov dword [ebp - 0x28], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00555818
add esp, 0xc
test eax, eax
je 0x5463cf
lea ecx, [ebp - 0xc]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, ebx
call fcn.00547410
mov esi, eax
test esi, esi
je 0x5463cf
mov ecx, dword [esi + 4]
cmp ecx, 1
jne 0x546162
lea eax, [ebp - 8]
push eax
lea eax, [esi + 8]
push eax
push dword [ebp + 8]
call fcn.00554b84
add esp, 0xc
jmp 0x5463d8
cmp ecx, 2
je 0x546184
cmp ecx, 4
je 0x546184
cmp ecx, 5
je 0x546184
cmp ecx, 6
je 0x546184
cmp ecx, 7
je 0x546184
cmp ecx, 8
jne 0x5463c8
push edi
push ecx
push str.ConvertToPureFile_Type_d_QNC_s
push str.FileSystem
push 2
push str.func
push 0x557
push str.file
call fcn.00544e75
add esp, 0x20
lea ecx, [ebp - 4]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
mov ebx, 0x104
lea ecx, [ebp - 0x18]
push ebx
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
push edi
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
and dword [ebp + 0xc], 0
lea ecx, [ebp + 0xc]
push 0x10
call fcn.004d2c20
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
add eax, eax
lea ecx, [ebp - 0x14]
push eax
push 0
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
lea ecx, [ebp + 0xc]
call fcn.0047d412
push eax
call sym.txupd.exe_void___cdecl_Md5HashBuffer_unsigned_char___void_const___unsigned_long_int_
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0055513f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
add esp, 0x10
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x546263
push 0x700418
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
lea ecx, [ebp - 4]
push eax
call fcn.0051b603
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov esi, dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
mov edi, dword [esi]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov ecx, eax
call sym.txupd.exe_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
mov ecx, 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 - 0x20]
setns bl
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea eax, [ebp - 4]
test bl, bl
je 0x54634b
push ecx
mov ecx, esp
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.ConvertToPureFile_Ok__TempFileName_s
push str.FileSystem
push 2
push str.func
push 0x571
push str.file
call fcn.0047b32a
add esp, 0x1c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x54632e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp + 0xc], 0
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 4]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x5463d8
push eax
push 0x71150c
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push eax
lea eax, [ebp - 0x24]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0xc
mov ecx, eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0054765b
lea ecx, [ebp - 0x24]
mov esi, eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test esi, esi
jne 0x546301
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5463b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp + 0xc], esi
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 4]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push 0x76cfa0
jmp 0x5463d0
push edi
mov ecx, dword [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
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, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8