Function at 0x507990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aeb9f
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x578], ecx
mov ecx, dword [ebp + 8]
call fcn.00403c80
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040bde0
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx ecx, al
test ecx, ecx
jne 0x507a02
lea ecx, [ebp - 0x10]
call fcn.00406470
push eax
push str.CMainUI::UpdateYeYouShortcut_alreay_found_one__s
call fcn.00609080
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0040cd50
mov byte [ebp - 4], 1
push 0x7f0140
lea ecx, [ebp - 0x518]
call fcn.00403bf0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x518]
push eax
call fcn.006156e0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x518]
call fcn.00403c30
mov dword [ebp - 0x4c0], 1
push 0x7f0160
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x2b0]
push edx
call fcn.004e64f0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00405350
push 0x7f0164
lea ecx, [ebp - 0x2b0]
call fcn.0041edc0
push 6
lea ecx, [ebp - 0x2b0]
call fcn.00403c80
push eax
call fcn.007252b5
add esp, 8
test eax, eax
je 0x507cb5
lea ecx, [ebp - 0x4e0]
call fcn.004033c0
mov byte [ebp - 4], 4
push 0x7f0170
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4fc]
push edx
call fcn.00432e40
mov ecx, eax
call fcn.004dad80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b0]
call fcn.00403c80
push eax
lea ecx, [ebp - 0x520]
call fcn.004068d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4fc]
call fcn.00403c80
push eax
lea ecx, [ebp - 0x524]
call fcn.004068d0
mov byte [ebp - 4], 7
push 0
push 0x3e8
lea eax, [ebp - 0x4e0]
push eax
lea ecx, [ebp - 0x520]
push ecx
lea edx, [ebp - 0x524]
push edx
call fcn.005ffff0
add esp, 0x14
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x519], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x524]
call fcn.00405ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x520]
call fcn.00405ef0
movzx eax, byte [ebp - 0x519]
test eax, eax
je 0x507c97
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2b0]
call fcn.00403c80
push eax
lea ecx, [ebp - 0x52c]
call fcn.004068d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4fc]
call fcn.00403c80
push eax
lea ecx, [ebp - 0x530]
call fcn.004068d0
mov byte [ebp - 4], 9
push 0
push 0x3e8
lea ecx, [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x52c]
push edx
lea eax, [ebp - 0x530]
push eax
call fcn.005ffff0
add esp, 0x14
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x525], al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x530]
call fcn.00405ef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x52c]
call fcn.00405ef0
movzx ecx, byte [ebp - 0x525]
test ecx, ecx
je 0x507c97
mov ecx, dword [ebp + 8]
call fcn.00403c80
push eax
push str.Get_icon_of__s_fail.
call fcn.006090a0
add esp, 8
lea ecx, [ebp - 0x2b0]
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x534], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4fc]
call fcn.00403c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.00403420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00403c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x294]
call fcn.00403c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x534]
jmp 0x507fa8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4fc]
call fcn.00403c30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.00403420
push 0x7f01a4
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.004e64f0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00405350
push 0x7f01a8
lea ecx, [ebp - 0x274]
call fcn.0041edc0
mov ecx, dword [ebp + 0x10]
call fcn.00403c80
push eax
lea edx, [ebp - 0x4dc]
push edx
call fcn.0060ccb0
add esp, 8
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.00611fd0
add esp, 8
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jg 0x507d94
mov dword [ebp - 0x538], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4dc]
call fcn.00407400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.00403c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00403c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x294]
call fcn.00403c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x538]
jmp 0x507fa8
push 0x208
push 0
lea edx, [ebp - 0x4bc]
push edx
call fcn.007202b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4bc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x4bc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x4bc]
push edx
lea ecx, [ebp - 0x238]
call fcn.00403bf0
mov byte [ebp - 4], 0xc
push 0x7f01b4
lea ecx, [ebp - 0x238]
call fcn.0041edc0
push 0x7f01dc
lea ecx, [ebp - 0x258]
call fcn.00403bf0
mov byte [ebp - 4], 0xd
push str.yeyou_dsk
lea ecx, [ebp - 0x258]
call fcn.0041edc0
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0x7f0200
lea ecx, [ebp - 0x258]
call fcn.0041edc0
push 0x7f0208
lea ecx, [ebp - 0x258]
call fcn.0041edc0
push 0x7f021c
lea ecx, [ebp - 0x258]
call fcn.0041edc0
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x258]
call fcn.0041edc0
lea ecx, [ebp - 0x275]
call fcn.0041ca90
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x554]
call fcn.00403bf0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10]
call fcn.00406470
push eax
lea ecx, [ebp - 0x570]
call fcn.00403bf0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x554]
push edx
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x570]
push eax
lea ecx, [ebp - 0x275]
call fcn.0041d700
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x570]
call fcn.00403c30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x554]
call fcn.00403c30
mov ecx, dword [ebp - 0x4c0]
mov dword [ebp - 0x574], ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x275]
call sub.ole32.dll_CoUninitialize
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x258]
call fcn.00403c30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x238]
call fcn.00403c30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4dc]
call fcn.00407400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.00403c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b0]
call fcn.00403c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x294]
call fcn.00403c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 0xc