Function at 0x6e1ad9dc
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lock inc dword [eax]
setne dl
lea edi, [ebp - 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x6e312150
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x6e312320
lea ebx, [ebp - 0x1c]
call sub.OLE32.dll_CoCreateInstance
sub esp, 0x14
cmp eax, 0x800401f0
je 0x6e1adc68
xor edi, edi
test eax, eax
js 0x6e1adbfc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
mov dword [esp + 8], 3
mov dword [esp + 4], esi
lea edx, [ebp - 0x24]
mov dword [esp], edx
lea ebx, [ebp - 0x1c]
call dword [eax + 0x54]
push ecx
mov dword [esp + 0xc], 1
mov word [esp + 8], 0x5c
mov word [esp + 4], 0x2f
lea eax, [ebp - 0x24]
mov dword [esp], eax
call method.QString.replace_QChar__QChar__Qt::CaseSensitivity_
mov dword [esp], eax
call method.QString.utf16___const
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [ebp - 0x3c]
sub esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1adb98
mov edx, dword [ebp - 0x3c]
test edx, edx
js 0x6e1adbb0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], esi
lea edx, [ebp - 0x28]
mov dword [esp], edx
lea ebx, [ebp - 0x1c]
call dword [eax + 0x54]
push eax
mov dword [esp + 0xc], 1
mov word [esp + 8], 0x5c
mov word [esp + 4], 0x2f
lea eax, [ebp - 0x28]
mov dword [esp], eax
call method.QString.replace_QChar__QChar__Qt::CaseSensitivity_
mov dword [esp], eax
call method.QString.utf16___const
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [ebp - 0x3c]
sub esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1adc58
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
js 0x6e1adbb0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
lea ecx, [ebp - 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x6e311e30
mov dword [esp], eax
lea ebx, [ebp - 0x1c]
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x6e1adbb0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [esp], ebx
call method.QString.utf16___const
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [ebp - 0x3c]
sub esp, 0xc
not eax
shr eax, 0x1f
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edx
jmp 0x6e1adbb4
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov edx, dword [ebp - 0x3c]
test edx, edx
jns 0x6e1adaba
nop
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
lea ebx, [ebp - 0x1c]
call dword [edx + 8]
push eax
cmp byte [ebp - 0x3c], 0
je 0x6e1adbfc
mov edx, edi
test dl, dl
je 0x6e1adbd7
lea ebx, [ebp - 0x1c]
call sub.OLE32.dll_CoUninitialize
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1adbef
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov al, byte [ebp - 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [esp], eax
lea ebx, [ebp - 0x1c]
call sym.QtCore4.dll_qt_error_string_int_
push ebx
lea edx, [ebp - 0x30]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xa
mov dword [esp], esi
call method.QAbstractFileEngine.setError_QFile::FileError__QString_const_
mov eax, dword [ebp - 0x30]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1adc40
mov byte [ebp - 0x3c], 0
jmp 0x6e1adbc9
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
lea ebx, [ebp - 0x1c]
call method.QString.free_QString::Data_
mov byte [ebp - 0x3c], 0
jmp 0x6e1adbc9
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1adb2d
mov dword [esp], 0
lea ebx, [ebp - 0x1c]
call sub.OLE32.dll_CoInitialize
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x6e312150
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x6e312320
call sub.OLE32.dll_CoCreateInstance
sub esp, 0x14
mov edi, 1
jmp 0x6e1ada34