Function at 0x48e88d
Capabilities:
Delete file

Disassembly:
mov eax, 0x4f050e
call fcn.004e1580
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
call fcn.004cbba4
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
je 0x48e8bb
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push edi
mov byte [ebp - 4], 1
call dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x48e901
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 1
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x48e916
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
cmp eax, ebx
je 0x48e901
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x48e90f
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor eax, eax
jmp 0x48eae8
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push edx
push 0x52b760
push eax
call dword [ecx]
mov eax, dword [ebp - 0x14]
push Ordinal_1
push eax
mov byte [ebp - 4], 3
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [ebp - 0x10]
push eax
call fcn.004d14df
mov eax, dword [esi + 0x164]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 4
call fcn.0040294f
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 4
call esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x24], eax
pop ecx
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call esi
mov eax, dword [ebp - 0x14]
push str.UpdateByHub.exe
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push 0x52d818
lea ecx, [ebp - 0x10]
call fcn.004e090c
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, 0x80
push ebx
push edi
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
lea eax, [ebp - 0x10]
push 0x52b770
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push eax
mov dword [ebp - 0x24], eax
call esi
push dword [ebp - 0x24]
call edi
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
push str..cfg
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push ebx
push eax
mov dword [ebp - 0x2c], eax
call esi
push dword [ebp - 0x2c]
call edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
and dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
push ecx
push esi
mov eax, dword [esi]
mov byte [ebp - 4], 7
call dword [eax + 0x28]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x48ea4b
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x38]
push 0xc
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 8
je 0x48ea6d
mov ecx, dword [ebp - 0x28]
push dword [ecx + 0x20]
mov ecx, eax
call fcn.0042ca63
jmp 0x48ea6f
xor eax, eax
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
mov dword [ecx + 0x170], eax
mov ecx, eax
call fcn.0042cab7
mov edi, eax
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 4
je 0x48ea99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x48eab6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x48eac7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
test eax, eax
je 0x48ead8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x48eae6
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret