Function at 0x1400bbd60
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rdi
sub rsp, 0xa40
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0xa60], rbx
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0xa30], rax
mov rdi, rdx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1402af850]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402af840]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400bc190
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400bc190
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1402b87f0]
call qword [rax]
test eax, eax
js 0x1400bc0b4
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], 0x3ff
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x1c0], rax
mov byte [rsp + 0x1c8], 0
lea rdx, [rsp + 0x1b0]
mov rcx, rbx
call sym.WavesHeadTracker.exe_char_const____ptr64___cdecl_wvWavesV11_0_1_1::FM::GetNativePathAsString_struct_WTPathType__const___ptr64__class_WCFixedString_1023_____ptr64_
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0xff
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0xa8], 0
lea rdx, [rsp + 0x90]
mov rcx, rbx
call sym.WavesHeadTracker.exe_char_const____ptr64___cdecl_wvWavesV11_0_1_1::FM::GetExtension_struct_WTPathType__const___ptr64__class_WCFixedString_255_____ptr64_
call fcn.1400bc550
mov r8, qword [rax]
test r8, r8
je 0x1400bbebb
mov rax, qword [rsp + 0x90]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400bbeb3
inc rax
test ecx, ecx
jne 0x1400bbea0
test edx, edx
je 0x1400bbf75
lea rdx, [0x14038f7c8]
mov qword [rsp + 0x78], rdx
mov r8, qword [rsp + 0x1c0]
nop
movzx r9d, byte [rdx]
test r9b, r9b
je 0x1400bbf0e
mov rcx, qword [rsp + 0x1b0]
add rcx, qword [rsp + 0x1b8]
cmp r8, rcx
jae 0x1400bbf0e
inc rdx
mov qword [rsp + 0x78], rdx
mov byte [r8], r9b
mov r8, qword [rsp + 0x1c0]
inc r8
mov qword [rsp + 0x1c0], r8
jmp 0x1400bbed0
mov byte [r8], 0
call fcn.1400bc550
mov rdx, qword [rax]
test rdx, rdx
je 0x1400bbf75
mov qword [rsp + 0x80], rdx
mov r8, qword [rsp + 0x1c0]
nop
movzx r9d, byte [rdx]
test r9b, r9b
je 0x1400bbf71
mov rcx, qword [rsp + 0x1b0]
add rcx, qword [rsp + 0x1b8]
cmp r8, rcx
jae 0x1400bbf71
inc rdx
mov qword [rsp + 0x80], rdx
mov byte [r8], r9b
mov r8, qword [rsp + 0x1c0]
inc r8
mov qword [rsp + 0x1c0], r8
jmp 0x1400bbf30
mov byte [r8], 0
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x1b0]
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::FM::CreatePathRefFromString_char_const____ptr64__struct_WTPathType____ptr64____ptr64__bool_
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x1400bc0d4
mov rcx, qword [rsp + 0x68]
call sym.WavesHeadTracker.exe_bool___cdecl_wvWavesV11_0_1_1::FM::DoesFileExist_struct_WTPathType__const___ptr64_
test al, al
je 0x1400bc0e9
lea rcx, [rsp + 0x68]
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::FM::DisposePathRef_struct_WTPathType____ptr64____ptr64_
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x820]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x1b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400bc10a
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x820]
call qword [rax + 0x28]
test eax, eax
js 0x1400bc130
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x98]
test eax, eax
js 0x1400bc150
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x5d0]
mov r8d, 0x104
lea rdx, [rsp + 0x710]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x1400bc170
mov r8b, 1
mov rdx, rdi
lea rcx, [rsp + 0x710]
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::FM::CreatePathRefFromString_char_const____ptr64__struct_WTPathType____ptr64____ptr64__bool_
mov ebx, eax
mov dword [rsp + 0x30], eax
jmp 0x1400bc071
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400bc081
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400bc091
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
mov rcx, qword [rsp + 0xa30]
xor rcx, rsp
call fcn.14010a310
mov rbx, qword [rsp + 0xa60]
add rsp, 0xa40
pop rdi
ret
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x40], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [rsp + 0x44], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x44]
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [rsp + 0x30], 0xfffffc16
mov dword [rsp + 0x48], 0xfffffc16
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x4c], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x50], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x54], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x54]
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call sym.WavesHeadTracker.exe_int___cdecl_ConvertErrorWIN_unsigned_long_int_
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x5c], eax
lea rdx, [0x140456c10]
lea rcx, [rsp + 0x5c]
call sub.VCRUNTIME140.dll__CxxThrowException
int3