Function at 0x416d40
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485e76
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4b3630]
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 ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
mov dword [ebp - 0x74], ebx
call esi
test eax, eax
je 0x416e7d
call fcn.00431ab0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x416e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
push str.d:jenkins.jenkinsworkspacehalodeskcoral_traycreateshortcutdeleteutils.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c200
push 3
push 0x48de6c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c200
mov byte [ebp - 4], 1
call fcn.00431ab0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0xc6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407a20
mov esi, eax
push str.delete
push esi
mov byte [ebp - 4], 2
call fcn.00406c00
mov eax, dword [ebp - 0x74]
mov ecx, 0x48d8c0
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00406c00
push str._failed__error
push esi
call fcn.00406c00
add esp, 0x18
mov ecx, esi
push ebx
call fcn.004167f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.00408d70
lea ecx, [ebp - 0x28]
call fcn.004084d0
lea ecx, [ebp - 0x40]
call fcn.004084d0
mov eax, 1
jmp 0x416fa5
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416e73
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x416f98
push ebx
call esi
test eax, eax
je 0x416f98
call fcn.00431ab0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x416e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
push str.d:jenkins.jenkinsworkspacehalodeskcoral_traycreateshortcutdeleteutils.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov ebx, eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0040c200
push 3
push 0x48de6c
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0040c200
mov byte [ebp - 4], 4
call fcn.00431ab0
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0xd3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407a20
mov esi, eax
push str.delete
push esi
mov byte [ebp - 4], 5
call fcn.00406c00
mov eax, dword [ebp - 0x74]
mov ecx, 0x48d8c0
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.00406c00
push str._failed__error
push esi
call fcn.00406c00
add esp, 0x18
mov ecx, esi
push ebx
call fcn.004167f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.00408d70
lea ecx, [ebp - 0x58]
call fcn.004084d0
lea ecx, [ebp - 0x70]
call fcn.004084d0
mov eax, 1
jmp 0x416fa5
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
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.00442126
mov esp, ebp
pop ebp
ret