Function at 0x4e163f
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x6e703b
call fcn.00682c5e
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
inc eax
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x40], eax
je 0x4e166a
call fcn.004e3dc7
jmp 0x4e17cf
call fcn.004e402d
mov ecx, esi
call fcn.004e29dd
mov ecx, esi
call fcn.004e2a48
test eax, eax
je 0x4e17cf
cmp dword [ebp + 8], 4
jne 0x4e16e8
lea eax, [ebp - 0x24]
push eax
call fcn.004d1ace
and dword [ebp - 4], 0
xor ebx, ebx
push eax
lea eax, [ebp - 0x20]
inc ebx
push 0x701c58
push eax
mov dword [ebp - 0x10], ebx
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
push 0x702114
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x10], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x1c
push 7
pop ebx
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__
pop ecx
test eax, eax
je 0x4e16ec
mov byte [ebp - 0x14], 0
test bl, 4
je 0x4e16fc
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffb
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, 2
je 0x4e170c
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffd
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4e171d
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp byte [ebp - 0x14], 0
je 0x4e1769
lea eax, [ebp - 0x20]
push eax
call fcn.004d1bdc
mov dword [esp], str.drtemp.db
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
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
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push dword [esi + 0x38]
lea eax, [ebp - 0x18]
push dword [esi + 0x30]
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 - 0x14]
mov dword [ebp - 4], 4
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push str.dr.db
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.004e478f
lea ecx, [ebp + 8]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
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_
call fcn.00682c27
ret 4