Function at 0x4a298f
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x410fc
call fcn.005374e0
mov dword [ebp - 0x410e4], ecx
lea ecx, [ebp - 0x4109c]
call fcn.004e70a0
mov dword [ebp - 4], 0
call fcn.0055f60b
mov eax, dword [eax + 4]
mov dword [ebp - 0x410a4], eax
mov ecx, dword [0x5be480]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
mov dword [ebp - 0x410c8], edx
mov eax, dword [ebp - 0x410c8]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x410cc], edx
mov eax, dword [ebp - 0x410cc]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x410d0], edx
mov eax, dword [ebp - 0x410d0]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x410d4], edx
mov eax, dword [ebp - 0x410d4]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x410d8], edx
mov eax, dword [ebp - 0x410d8]
mov ecx, dword [0x5be480]
mov dword [eax], ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x410a0], 0
jmp 0x4a2a76
mov edx, dword [ebp - 0x410a0]
add edx, 1
mov dword [ebp - 0x410a0], edx
mov eax, dword [ebp - 0x410a4]
mov ecx, dword [eax + 0x484]
mov dword [ebp - 0x410dc], ecx
mov edx, dword [ebp - 0x410a0]
cmp edx, dword [ebp - 0x410dc]
jge 0x4a2ca1
mov eax, dword [ebp - 0x410a0]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x410a4]
mov edx, dword [ecx + 0x480]
add edx, eax
mov dword [ebp - 0x410e0], edx
mov eax, dword [ebp - 0x410e0]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x410e0]
add edx, 4
push edx
lea ecx, [ebp - 0x28]
call fcn.0054d46f
mov eax, dword [ebp - 0x410e0]
add eax, 8
push eax
lea ecx, [ebp - 0x24]
call fcn.0054d46f
mov ecx, dword [ebp - 0x410e0]
add ecx, 0xc
push ecx
lea ecx, [ebp - 0x20]
call fcn.0054d46f
mov edx, dword [ebp - 0x410e0]
add edx, 0x10
push edx
lea ecx, [ebp - 0x1c]
call fcn.0054d46f
mov eax, dword [ebp - 0x410e0]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x410e0]
add edx, 0x18
push edx
lea ecx, [ebp - 0x14]
call fcn.0054d46f
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054d46f
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a2baa
push ecx
mov ecx, esp
mov dword [ebp - 0x410b4], esp
push str.M_DEL_SHORTCUTS
call fcn.0054d39c
mov dword [ebp - 0x410e8], eax
lea edx, [ebp - 0x410ac]
push edx
mov ecx, dword [ebp - 0x410a4]
call fcn.004be333
mov dword [ebp - 0x410ec], eax
mov byte [ebp - 4], 3
push 0
push 0x34
mov eax, dword [ebp - 0x410ac]
push eax
call fcn.00555cac
cmp eax, 6
jne 0x4a2b96
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x410ac]
call fcn.0054d328
jmp 0x4a2c9c
push 0x5b6398
lea ecx, [ebp - 0x10]
call fcn.0054a808
mov dword [ebp - 0x410b0], eax
mov edx, dword [ebp - 0x410b0]
push edx
lea eax, [ebp - 0x410b8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054a76e
mov dword [ebp - 0x410f0], eax
mov ecx, dword [ebp - 0x410f0]
mov dword [ebp - 0x410f4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x410f4]
push edx
lea ecx, [ebp - 0x10]
call fcn.0054d46f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x410b8]
call fcn.0054d328
push ecx
mov ecx, esp
mov dword [ebp - 0x410bc], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0054d095
mov dword [ebp - 0x410f8], eax
lea ecx, [ebp - 0x4109c]
call fcn.004e7489
mov dword [ebp - 0x410fc], eax
mov ecx, dword [ebp - 0x410fc]
mov dword [ebp - 0x410a8], ecx
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x410c0], esp
lea edx, [ebp - 0x28]
push edx
call fcn.0054d095
mov dword [ebp - 0x41100], eax
mov eax, dword [ebp - 0x410a8]
push eax
lea ecx, [ebp - 0x4109c]
call fcn.004e75e4
mov dword [ebp - 0x41104], eax
cmp dword [ebp - 0x41104], 0
je 0x4a2c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x410c4], esp
lea edx, [ebp - 0x20]
push edx
call fcn.0054d095
mov dword [ebp - 0x41108], eax
lea ecx, [ebp - 0x4109c]
call fcn.004e990d
jmp 0x4a2a67
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.0054d328
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4109c]
call fcn.004e71cb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret