Function at 0x44f890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b141
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5898bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], ecx
call fcn.0042e250
mov ecx, eax
call fcn.00435b30
mov ebx, eax
call fcn.0042e250
mov ecx, eax
call fcn.00435b40
mov edi, eax
mov dword [ebp - 0x424], eax
call fcn.0042e030
mov ecx, eax
call fcn.00422550
mov ecx, dword [eax]
sub ecx, 0x10
push ecx
call fcn.0040b110
mov dword [ebp - 0x430], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x438], esi
push str.deskhelp
push esi
mov dword [ebp - 4], 0
call fcn.004cdb58
add esp, 0xc
test eax, eax
jne 0x44f92f
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x424], edi
call fcn.0042e030
mov ecx, eax
call fcn.00423e50
xor edx, edx
mov ecx, ebx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x42c], ecx
call fcn.0042e030
mov ecx, eax
call fcn.00424000
xor ecx, ecx
test eax, eax
push edi
cmovne ebx, ecx
push ebx
push dword [ebp - 0x42c]
push str.CInstaller::CreateShortCutAndUninstalReg___create_deskshort_d__create_startmenu_shortcut_d_create_uninstaller_reg_d
call fcn.0044a720
add esp, 0xc
mov edi, esp
mov dword [ebp - 0x43c], esp
mov dword [ebp - 0x434], edi
push dword [ebp - 0x430]
call fcn.0040b110
add eax, 0x10
add esp, 4
mov dword [edi], eax
push dword [ebp - 0x424]
mov eax, dword [ebp - 0x428]
push ebx
push dword [ebp - 0x42c]
mov byte [ebp - 4], 1
push dword [eax + 0x7c]
mov eax, dword [eax + 4]
push ecx
sub eax, 0x10
mov edi, esp
push eax
mov dword [ebp - 0x434], edi
call fcn.0040b110
add esp, 4
lea ecx, [ebp - 0x454]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.00465dc0
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 2
test eax, eax
je 0x44f9f7
lea ecx, [ebp - 0x454]
call fcn.00469e70
jmp 0x44fabe
cmp dword [0x58d56c], 0
je 0x44fac4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b2720
mov eax, dword [ebp - 0x428]
add esp, 0xc
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.Uninstall.exe
push dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call edi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b2720
mov eax, dword [ebp - 0x428]
add esp, 0xc
push str.Takeaway.exe
push dword [eax + 4]
lea eax, [ebp - 0x420]
push eax
call edi
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00451870
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x44faae
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
push edi
push 0
push str.CInstaller::CreateShortCutAndUninstalReg_create_uninstaller_reg_d__renameresult_d
call fcn.0044a720
add esp, 0xc
mov eax, dword [ebp - 0x424]
cmp dword [ebp - 0x42c], 0
jne 0x44fad5
test ebx, ebx
jne 0x44fad5
test eax, eax
je 0x44fae0
lea ecx, [ebp - 0x454]
call fcn.004696b0
lea ecx, [ebp - 0x454]
call fcn.00465f50
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44fb0a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498678
mov esp, ebp
pop ebp
ret