Function at 0x1400ba230
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xbf0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rsp + 0xbe0], rax
mov rsi, r8
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402af850]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1402af840]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400ba563
lea rax, [rsp + 0x5c8]
mov qword [rsp + 0x5b0], rax
mov qword [rsp + 0x5b8], 0x3ff
lea rax, [rsp + 0x5c8]
mov qword [rsp + 0x5c0], rax
mov byte [rsp + 0x5c8], 0
lea rdx, [rsp + 0x5b0]
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_
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x5b0]
call qword [rax + 0xa0]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0xff
lea rax, [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x88], 0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sym.WavesHeadTracker.exe_char_const____ptr64___cdecl_wvWavesV11_0_1_1::FM::GetLeaf_struct_WTPathType__const___ptr64__class_WCFixedString_255_____ptr64_
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1402b87f0]
call qword [rax]
test eax, eax
js 0x1400ba58d
cmp qword [rsp + 0x40], 0
je 0x1400ba58d
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], 0x3ff
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x1a0], rax
mov byte [rsp + 0x1a8], 0
lea rdx, [rsp + 0x190]
mov rcx, qword [rsi]
call sym.WavesHeadTracker.exe_char_const____ptr64___cdecl_wvWavesV11_0_1_1::FM::GetNativePathAsString_struct_WTPathType__const___ptr64__class_WCFixedString_1023_____ptr64_
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi]
call sym.WavesHeadTracker.exe_char_const____ptr64___cdecl_wvWavesV11_0_1_1::FM::GetExtension_struct_WTPathType__const___ptr64__class_WCFixedString_255_____ptr64_
mov rbx, qword [rsp + 0x70]
call fcn.1400bc550
test rbx, rbx
je 0x1400ba3eb
mov rax, qword [rax]
sub rbx, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + rbx]
sub edx, ecx
jne 0x1400ba3e3
inc rax
test ecx, ecx
jne 0x1400ba3d1
test edx, edx
je 0x1400ba4cc
lea rdx, [0x14038f7c8]
mov qword [rsp + 0x58], rdx
mov r8, qword [rsp + 0x1a0]
nop
movzx r9d, byte [rdx]
test r9b, r9b
je 0x1400ba43e
mov rcx, qword [rsp + 0x190]
add rcx, qword [rsp + 0x198]
cmp r8, rcx
jae 0x1400ba43e
inc rdx
mov qword [rsp + 0x58], rdx
mov byte [r8], r9b
mov r8, qword [rsp + 0x1a0]
inc r8
mov qword [rsp + 0x1a0], r8
jmp 0x1400ba400
mov byte [r8], 0
call fcn.1400bc550
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ba4a2
mov qword [rsp + 0x60], rdx
mov r8, qword [rsp + 0x1a0]
nop dword [rax]
movzx r9d, byte [rdx]
test r9b, r9b
je 0x1400ba49e
mov rcx, qword [rsp + 0x190]
add rcx, qword [rsp + 0x198]
cmp r8, rcx
jae 0x1400ba49e
inc rdx
mov qword [rsp + 0x60], rdx
mov byte [r8], r9b
mov r8, qword [rsp + 0x1a0]
inc r8
mov qword [rsp + 0x1a0], r8
jmp 0x1400ba460
mov byte [r8], 0
mov qword [rsp + 0x38], rdi
mov r8b, 1
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x190]
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::FM::CreatePathRefFromString_char_const____ptr64__struct_WTPathType____ptr64____ptr64__bool_
mov rcx, rsi
call sym.WavesHeadTracker.exe_int___cdecl_wvWavesV11_0_1_1::FM::DisposePathRef_struct_WTPathType____ptr64____ptr64_
mov rax, qword [rsp + 0x38]
mov qword [rsi], rax
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x9d0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x190]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x9d0]
call qword [rax + 0x30]
test eax, eax
js 0x1400ba578
jmp 0x1400ba51c
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ba52c
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ba53c
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, edi
mov rcx, qword [rsp + 0xbe0]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0xbf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov dword [rsp + 0x48], eax
lea rdx, [0x140455fc0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [rsp + 0x4c], eax
lea rdx, [0x140455fc0]
lea rcx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [rsp + 0x50], eax
lea rdx, [0x140455fc0]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3