Function at 0x4f4f89
Capabilities:
Delete file

Disassembly:
push 0x50
mov eax, 0x6e9bee
call fcn.00682c5e
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4f4fa7
push 0xfffffffffffffffe
pop eax
jmp 0x4f51b0
xor edi, edi
push edi
push ecx
mov eax, esp
push edi
push edi
push edi
push ecx
mov dword [eax], edi
add ecx, 0x1c
mov eax, esp
push edi
mov dword [eax], edi
call fcn.004f4f50
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_void_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_void_
mov esi, dword [ebx]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_wchar_t_____thiscall_CTXBSTR::operator_void_
push eax
push 0x70688c
push ebx
call dword [esi + 0x6c]
mov esi, dword [ebx]
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_wchar_t_____thiscall_CTXBSTR::operator_void_
push eax
push 0x706898
push ebx
call dword [esi + 0x6c]
lea eax, [ebp + 0xc]
push eax
call fcn.00501bdd
mov ecx, eax
call fcn.00501963
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x4f5196
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
dec eax
lea ecx, [ebp + 0xc]
push eax
call sym.txupd.exe_public:_wchar_t___thiscall_CTXStringW::GetAt_int_const
cmp ax, 0x2f
je 0x4f5048
push 0x70229c
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXBSTR_const__
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.004f51c0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004e953d
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXBSTR_const__
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004d1286
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
mov esi, eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test esi, esi
je 0x4f50e7
lea ecx, [ebp - 0x5c]
call fcn.004f1383
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x54]
call fcn.0051b603
lea edx, [ebp - 0x5c]
lea ecx, [ebx + 0x10]
mov eax, dword [ecx]
push edx
push edi
push edi
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.004f15a4
jmp 0x4f518e
lea ecx, [ebp - 0x10]
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]
xor esi, esi
lea eax, [ebp - 0x14]
inc esi
lea ecx, [ebp - 0x20]
push eax
mov dword [ebx + 0x48], esi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXBSTR_const__
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2c]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::constructor_class_CTXStringW_const__
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXBSTR_const__
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push 0x706864
push eax
call sym.txupd.exe_class_CTXStringW___cdecl_operator_wchar_t_const___class_CTXStringW_const__
add esp, 0xc
mov ecx, eax
lea eax, [ebx + 0x44]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebx + 0x10]
push eax
push edi
push esi
push esi
push edi
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.004f1e1d
mov ecx, eax
call fcn.004f1792
lea ecx, [ebp - 0x28]
mov esi, eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test esi, esi
jne 0x4f518e
push 0xfffffffffffffffc
pop edi
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp + 0xc]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x14]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
lea ecx, [ebp - 0x18]
call sym.txupd.exe_public:_void___thiscall_CTXBSTR::destructor_void_
mov eax, edi
call fcn.00682c27
ret 8