Function at 0x140023580
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1400caba8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call fcn.1400472fc
mov rcx, rax
test rax, rax
setne dil
test edi, edi
jne 0x1400235e1
mov ecx, 0x80004005
call fcn.140010c90
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [0x1400a5bd0]
test rdx, 0xffffffffffff0000
jne 0x14002361d
movzx edi, dx
mov ecx, edi
call fcn.140047108
test rax, rax
je 0x140023639
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.140010410
jmp 0x140023639
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.1400109b0
nop
mov r12d, 1
mov dword [rsp + 0x20], r12d
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400109b0
cmp dword [0x1400d4ab4], 0
je 0x140023716
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.Drivers_rtwaves30.dat
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, rbp
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r12d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r12d
jge 0x1400236ca
mov edx, edi
mov rcx, rbx
call fcn.140010630
mov rax, qword [rbx]
cmp rsi, r13
ja 0x1400236d6
lea rbp, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140071c20
test edi, edi
js 0x14002370b
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x14002370b
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x1400238e8
mov ecx, 0x80070057
call fcn.140010c90
int3
cmp dword [0x1400d4aec], 0
je 0x1400237b6
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.Drivers_rtwaves30vsd.dat
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, rbp
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r12d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r12d
jge 0x14002376a
mov edx, edi
mov rcx, rbx
call fcn.140010630
mov rax, qword [rbx]
cmp rsi, r13
ja 0x140023776
lea rbp, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140071c20
test edi, edi
js 0x1400237ab
mov rax, qword [rbx]
cmp edi, dword [rax - 0xc]
jg 0x1400237ab
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rbx]
mov word [rax + rcx*2], 0
jmp 0x1400238e8
mov ecx, 0x80070057
call fcn.140010c90
int3
cmp dword [0x1400d4abc], 0
jne 0x140023865
cmp dword [0x1400d4ab8], 0
jne 0x140023865
cmp dword [0x1400d4ac8], 0
jne 0x140023865
cmp dword [0x1400d4acc], 0
jne 0x140023865
cmp dword [0x1400d4ac4], 0
jne 0x140023851
cmp dword [0x1400d4ac0], 0
jne 0x140023851
cmp dword [0x1400d4ad0], 0
je 0x140023815
lea rdx, str.Drivers_rtwavesvolpro.dat
mov rcx, rbx
call fcn.14000fe80
jmp 0x1400238e8
cmp dword [0x1400d4ad8], 0
jne 0x14002383d
cmp dword [0x1400d4ae0], 0
jne 0x14002383d
cmp dword [0x1400d4ad4], 0
jne 0x14002383d
cmp dword [0x1400d4adc], 0
je 0x1400238e8
lea rdx, str.Drivers_rtwavesmapro.dat
mov rcx, rbx
call fcn.14000fe80
jmp 0x1400238e8
lea rdx, str.Drivers_rtwavesvp.dat
mov rcx, rbx
call fcn.14000fe80
jmp 0x1400238e8
xor eax, eax
or rcx, 0xffffffffffffffff
lea rbp, str.Drivers_rtwaves40.dat
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r14, [rcx - 1]
mov rax, qword [rbx]
mov rsi, rbp
sub rsi, rax
sar rsi, 1
mov r13d, dword [rax - 0x10]
lea edi, [r13 + rcx - 1]
sub r12d, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edi
or eax, r12d
jge 0x1400238ac
mov edx, edi
mov rcx, rbx
call fcn.140010630
mov rax, qword [rbx]
cmp rsi, r13
ja 0x1400238b8
lea rbp, [rax + rsi*2]
movsxd rdx, r14d
add rdx, rdx
lea rcx, [rax + r13*2]
mov r9, rdx
mov r8, rbp
call fcn.140071c20
test edi, edi
js 0x1400238ed
mov rcx, qword [rbx]
cmp edi, dword [rcx - 0xc]
jg 0x1400238ed
mov dword [rcx - 0x10], edi
movsxd rdx, edi
mov rcx, qword [rbx]
mov word [rcx + rdx*2], 0
mov rax, rbx
jmp 0x1400238f8
mov ecx, 0x80070057
call fcn.140010c90
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140072370
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret