Function at 0x452860
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d73e
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4ae498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], 0
lea ecx, [ebp - 0x2c]
call fcn.0040ee20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0xe4]
call fcn.00452ba0
movzx edx, al
test edx, edx
je 0x452b73
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x452b73
call fcn.00427fe0
test eax, eax
je 0x4529cc
lea ecx, [ebp - 0x50]
push ecx
call fcn.0042ab00
add esp, 4
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe0]
or eax, 1
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xec]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xe0]
or ecx, 2
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xf4]
push edx
push str.removeProgramShortcut____Delete_failure._error:
lea eax, [ebp - 0x88]
push eax
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xe0]
or edx, 4
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xfc]
push eax
call fcn.00429850
add esp, 4
mov dword [ebp - 0x100], 0
jmp 0x452aa1
lea ecx, [ebp - 0xa4]
push ecx
call fcn.0042ab00
add esp, 4
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe0]
or eax, 8
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0x108]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.00427ca0
add esp, 8
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0xe0]
or ecx, 0x10
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0x110]
push edx
push str.removeProgramShortcut____Delete_failure._error:
lea eax, [ebp - 0xdc]
push eax
call fcn.00406880
add esp, 0xc
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0xe0]
or edx, 0x20
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.00427fe0
mov ecx, eax
call fcn.00428c70
mov dword [ebp - 0x100], 0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0xe0]
and ecx, 0x20
je 0x452ac5
and dword [ebp - 0xe0], 0xffffffdf
lea ecx, [ebp - 0xdc]
call fcn.00401db0
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xe0]
and edx, 0x10
je 0x452ae9
and dword [ebp - 0xe0], 0xffffffef
lea ecx, [ebp - 0xc0]
call fcn.00401db0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xe0]
and eax, 8
je 0x452b0d
and dword [ebp - 0xe0], 0xfffffff7
lea ecx, [ebp - 0xa4]
call fcn.00401e50
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xe0]
and ecx, 4
je 0x452b31
and dword [ebp - 0xe0], 0xfffffffb
lea ecx, [ebp - 0x88]
call fcn.00401db0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xe0]
and edx, 2
je 0x452b52
and dword [ebp - 0xe0], 0xfffffffd
lea ecx, [ebp - 0x6c]
call fcn.00401db0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe0]
and eax, 1
je 0x452b73
and dword [ebp - 0xe0], 0xfffffffe
lea ecx, [ebp - 0x50]
call fcn.00401e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046aaed
mov esp, ebp
pop ebp
ret