Function at 0x415b20
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508a0c
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x53b0f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00411e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x415b91
mov byte [ebp - 0xe9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00422090
mov al, byte [ebp - 0xe9]
jmp 0x415df5
lea ecx, [ebp - 0xe8]
call fcn.0042d0c0
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 8]
call fcn.00422270
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xf0]
or edx, 1
mov dword [ebp - 0xf0], edx
mov ecx, dword [ebp - 0x104]
call fcn.00411e10
push eax
lea ecx, [ebp - 0xe8]
call fcn.0042f2c0
movzx eax, al
test eax, eax
je 0x415c2b
lea ecx, [ebp - 0xe8]
call fcn.004185c0
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x415c2b
mov dword [ebp - 0xfc], 0
jmp 0x415c35
mov dword [ebp - 0xfc], 1
mov cl, byte [ebp - 0xfc]
mov byte [ebp - 0xea], cl
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0xf0]
and edx, 1
je 0x415c62
and dword [ebp - 0xf0], 0xfffffffe
lea ecx, [ebp - 0x60]
call fcn.0040b260
movzx eax, byte [ebp - 0xea]
test eax, eax
je 0x415c9d
mov byte [ebp - 0xeb], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00417c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00422090
mov al, byte [ebp - 0xeb]
jmp 0x415df5
push str.shortcut
mov ecx, dword [ebp - 0xf8]
call fcn.00418080
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x415dbf
lea ecx, [ebp - 0x48]
call fcn.00422060
mov byte [ebp - 4], 3
push str.desktop
mov ecx, dword [ebp - 0xf4]
call fcn.0042e140
push eax
lea ecx, [ebp - 0x48]
call fcn.004220b0
lea ecx, [ebp - 0x44]
call fcn.00411e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415d08
lea ecx, [ebp - 0x44]
call fcn.00411e30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00422060
mov byte [ebp - 4], 4
push str.startmenu
mov ecx, dword [ebp - 0xf4]
call fcn.0042e140
push eax
lea ecx, [ebp - 0x2c]
call fcn.004220b0
lea ecx, [ebp - 0x28]
call fcn.00411e30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415d50
lea ecx, [ebp - 0x28]
call fcn.00411e30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.0042fe30
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 8]
call fcn.00422270
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10c]
call fcn.00411e10
push eax
lea ecx, [ebp - 0xe8]
call fcn.0042ff60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call fcn.0040b260
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00422090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00422090
lea ecx, [ebp - 0xe8]
call fcn.0042e400
mov byte [ebp - 0xec], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00417c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00422090
mov al, byte [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434475
mov esp, ebp
pop ebp
ret