Function at 0x463aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
push edi
lea ecx, [ebp - 0x18]
call ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::GetFileName_class_CTXStringW_const__]
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [0x509140]
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call esi
push str..tpc
push str..dat
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Replace_wchar_t_const___wchar_t_const__]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call ebx
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::File::GetParentDir_class_CTXStringW_const__]
add esp, 8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [0x509140]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x24]
call fcn.004f5610
push edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call ebx
mov edi, eax
mov byte [ebp - 4], 7
mov ebx, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x10]
call ebx
mov ecx, edi
mov dword [ebp - 0x1c], eax
call ebx
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x463bb1
xor edi, edi
jmp 0x463bbf
mov edi, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call esi
test edi, edi
je 0x463c51
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__]
mov ecx, eax
mov byte [ebp - 4], 8
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXBSTR::operator_wchar_t__void_const]
push eax
call dword [sym.imp.Common.dll_int___cdecl_Util::CoreCenter::InitPlatform_wchar_t__]
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
mov byte [ebp - 4], 6
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXBSTR::destructor_void_]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_void_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004f5560
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004f5560
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret