Function at 0x10146360
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10214dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0x208
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10146525
add eax, eax
cmp eax, 0x208
jae 0x10146520
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
push 0x208
push ecx
lea eax, [ebp - 0x21c]
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push str.360_shortcut_
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10146552
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x440], edi
cmp edi, 0xffffffff
je 0x1014657f
push 0
lea eax, [ebp - 0x444]
push eax
push dword [ebp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x101465ac
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x43c]
call fcn.10006b40
push 0
lea eax, [ebp - 0x43c]
push eax
mov ecx, esi
call fcn.10149680
lea ecx, [ebp - 0x43c]
call fcn.1001d6d0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 8
call fcn.101e2490
mov dword [ebp - 0x440], str.GetTempPath_fail
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x454]
call fcn.1021356b
push 0x10246a54
lea eax, [ebp - 0x454]
push eax
call fcn.10213529
mov dword [ebp - 0x440], str.GetTempFileName_fail
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x460]
call fcn.1021356b
push 0x10246a54
lea eax, [ebp - 0x460]
push eax
call fcn.10213529
mov dword [ebp - 0x440], str.CreateFile_Icon_fail
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x46c]
call fcn.1021356b
push 0x10246a54
lea eax, [ebp - 0x46c]
push eax
call fcn.10213529
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x440], str.WriteFile_Icon_fail
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x478]
call fcn.1021356b
push 0x10246a54
lea eax, [ebp - 0x478]
push eax
call fcn.10213529
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x448]
lea ecx, [ebp - 0x484]
call fcn.10213571
push 0x10246a54
lea eax, [ebp - 0x484]
push eax
call fcn.10213529
mov dword [ebp - 0x440], str.Load_Icon_fail
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x490]
call fcn.1021356b
push 0x10246a54
lea eax, [ebp - 0x490]
push eax
call fcn.10213529
int3