Function at 0x1105e6c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1127ad00], 0
je 0x1105e906
cmp word [0x1127af9c], 0
push esi
jne 0x1105e7fb
push str.Work_out_Join_Class_shortcut_name_n
call fcn.111bd7b0
add esp, 4
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x1105e7e7
mov ecx, dword [ebp - 0x210]
push 0x1127af9c
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1105e7d9
push edi
mov edi, 0x1127af9c
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1105e740
mov edx, dword [0x11203288]
push 0x434
mov dword [edi], edx
call fcn.111bccb0
add esp, 4
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1105e763
mov edi, 0x1127af9c
sub eax, edx
add edi, 0xfffffffe
jmp 0x1105e780
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1105e780
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x1127af9c
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
pop edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1105e7a5
mov ecx, dword [str..lnk]
mov edx, dword [0x112058f8]
mov dword [eax], ecx
mov cx, word [0x112058fc]
push 0x1127af9c
mov dword [eax + 4], edx
mov word [eax + 8], cx
push str.Shortcut_path___s__n
jmp 0x1105e7f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SHGetPathFromIDList_failed__err_d__n
jmp 0x1105e7f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SHGetFolderLocation_failed__err_d__n
call fcn.111bd7b0
add esp, 8
push 0
push 0x1127af9c
call fcn.111be4e0
mov esi, eax
push esi
push 0x1127af9c
push str.Shortcut___s__already_exists__d_n
call fcn.111bd7b0
mov ecx, dword [0x1127aa68]
add esp, 0x14
push 0
push 0
push str.ShowClassCodeShortcut
push str.Client
call fcn.110bbc00
test eax, eax
je 0x1105e8e9
mov edx, dword [0x1127ad90]
push edx
push str.ShowClassCodeShortcut_is_enabled___cloud_state__d_n
call fcn.111bd7b0
add esp, 8
cmp dword [0x1127ad90], 1
jne 0x1105e8de
test esi, esi
jne 0x1105e905
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
mov esi, str.SetRoom.exe
call dword [sym.imp.MSVCR100.dll_wcsrchr]
lea ecx, [eax + 2]
add esp, 8
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
test ax, ax
jne 0x1105e895
lea edx, [ebp - 0x20c]
push edx
push str.ShowClassCodeShortcut_create_shortcut___path___s__n
call fcn.111bd7b0
push 1
push 0x1127af9c
push 0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1105e3d0
add esp, 0x1c
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1105e905
push str.ShowClassCodeShortcut_delete_shortcut_as_cloud_not_available_n
jmp 0x1105e8f2
test esi, esi
je 0x1105e905
push str.ShowClassCodeShortcut_delete_shortcut_as_option_disabled_n
call fcn.111bd7b0
add esp, 4
push 0x1127af9c
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret