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

Disassembly:
push 0x38
mov eax, 0x591972
call fcn.00584fd1
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x3c], 0
mov esi, 0x5a3f7c
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], edi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push esi
mov ecx, edi
mov dword [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov esi, 0x104
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], 1
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_
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x30]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x30]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push eax
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call sym.txupd.exe_int___cdecl_Util::Encode::Decode16_class_CTXStringW_const___class_CTXBuffer__
add esp, 0x3c
mov ecx, ebx
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
lea eax, [ebp - 0x28]
push eax
je 0x4b24cd
lea eax, [ebp - 0x34]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
push 0x5a9b80
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x14
mov ecx, eax
mov byte [ebp - 4], 6
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 0x5b2824
push edi
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x34]
jmp 0x4b2539
lea eax, [ebp - 0x38]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::EncodeHash_class_CTXBuffer_const__
push 0x5a7b3c
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___class_CTXStringW_const__
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 9
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 0x5b2824
push edi
call sym.txupd.exe_public:_void___cdecl_CTXStringW::Format_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, edi
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 - 0x30]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 1
je 0x4b257d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, edi
call fcn.00585054
ret