Function at 0x4659d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov edi, 1
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x114], edi
je 0x465a29
mov eax, dword [ebp + 8]
push eax
call fcn.00465690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00465440
mov ecx, esi
call fcn.004633d0
mov ecx, esi
call fcn.00464d20
test eax, eax
je 0x465bbe
cmp dword [ebp + 8], 4
jne 0x465ab5
lea edx, [ebp - 0x20]
push edx
call fcn.00498a50
push eax
lea eax, [ebp - 0x1c]
push 0x5a6940
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
push 0x5a41d4
push eax
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x1c
mov ebx, 7
mov ecx, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.txupd.exe_int___cdecl_FS::IsFileExist_wchar_t_const__
add esp, 4
test eax, eax
mov byte [ebp + 0xb], 1
je 0x465ab9
mov byte [ebp + 0xb], 0
test bl, 4
mov dword [ebp - 4], edi
je 0x465acf
and ebx, 0xfffffffb
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, 2
mov dword [ebp - 4], 0
je 0x465ae9
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or edi, 0xffffffff
test bl, 1
mov dword [ebp - 4], edi
je 0x465afc
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp byte [ebp + 0xb], 0
je 0x465b45
lea edx, [ebp - 0x1c]
push edx
call fcn.0049a3b0
push str.drtemp.db
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x10
mov ecx, eax
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 - 0x1c]
mov dword [ebp - 4], edi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0x104]
push ecx
push edx
lea eax, [ebp - 0x14]
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_Util::Encode::Encode16_void_const___unsigned_int_
add esp, 0xc
push str.EncodedData
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
mov bl, 5
push 0x5a699c
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00462dd0
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4