Function at 0x528892
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7b088c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 0x76cfa0
push ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push ebx
mov ecx, esi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov ebx, 0x104
lea ecx, [ebp - 0x1c]
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 - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
movzx eax, byte [ebp - 5]
push eax
movzx eax, byte [ebp - 6]
push eax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.txupd.exe_int___cdecl_Util::Encode::Decode16_class_CTXStringW_const___class_CTXBuffer__
add esp, 0x3c
mov ecx, edi
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
lea eax, [ebp - 0x18]
je 0x5289aa
push str..tmp
push eax
lea eax, [ebp - 0x28]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
mov ecx, eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 0x7104bc
push esi
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x28]
jmp 0x528a08
push edi
push 0x700418
push eax
lea eax, [ebp - 0x2c]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
push eax
lea eax, [ebp - 0x28]
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
push eax
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 0x7104bc
push esi
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x28]
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 - 0x2c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x30]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x528a3c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00682c16
mov esp, ebp
pop ebp
ret