Function at 0x451cc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539631
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5917ec]
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.00431d20
mov ecx, eax
call fcn.00439280
mov ebx, eax
call fcn.00431d20
mov ecx, eax
call fcn.00439290
mov edi, eax
mov dword [ebp - 0x424], eax
call fcn.00431ba0
mov ecx, eax
call fcn.00425870
mov ecx, dword [eax]
sub ecx, 0x10
push ecx
call fcn.0040e3b0
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.004dc138
add esp, 0xc
test eax, eax
jne 0x451d5f
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x424], edi
call fcn.00431ba0
mov ecx, eax
call fcn.00427260
xor edx, edx
mov ecx, ebx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x42c], ecx
call fcn.00431ba0
mov ecx, eax
call fcn.00427410
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.0044c910
add esp, 0xc
mov edi, esp
mov dword [ebp - 0x43c], esp
mov dword [ebp - 0x434], edi
push dword [ebp - 0x430]
call fcn.0040e3b0
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.0040e3b0
add esp, 4
lea ecx, [ebp - 0x454]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.004682c0
mov eax, dword [ebp - 0x424]
mov byte [ebp - 4], 2
test eax, eax
je 0x451e27
lea ecx, [ebp - 0x454]
call fcn.0046c450
jmp 0x451eee
cmp dword [0x59544c], 0
je 0x451ef4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0d00
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.004c0d00
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.00453b20
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x451ede
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.0044c910
add esp, 0xc
mov eax, dword [ebp - 0x424]
cmp dword [ebp - 0x42c], 0
jne 0x451f05
test ebx, ebx
jne 0x451f05
test eax, eax
je 0x451f10
lea ecx, [ebp - 0x454]
call fcn.0046bbb0
lea ecx, [ebp - 0x454]
call fcn.00468450
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451f3a
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.0049b8b8
mov esp, ebp
pop ebp
ret