Function at 0x1400b70f0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x350
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x3a0], rbx
mov rax, qword [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r14, r9
mov r15, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x60]
call fcn.140148fe0
cmp dword [0x140206e14], 0
jne 0x1400b7192
cmp dword [0x140206e38], 0
jne 0x1400b7192
mov rax, qword [rdi + 0x20]
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xc7
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
or rsi, 0xffffffffffffffff
mov r9d, esi
mov r8, qword [rax + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1400b73b5
call fcn.14012a060
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400b71b3
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rdx, [0x14017f438]
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400b71ff
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x1400b7220
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004c30
mov rbx, qword [rsp + 0x40]
jmp 0x1400b7220
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.140003210
mov rbx, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x130]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400b72af
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400b733b
cmp dword [rdx + 0x10], eax
jge 0x1400b7281
cmp dword [rbx - 0xc], eax
jge 0x1400b7276
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x1400b733b
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b7298
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
jmp 0x1400b733b
mov r12d, dword [rbx - 0x10]
lea r13, [rsp + 0x130]
sub r13, rbx
sar r13, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400b72e3
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140002cd0
mov rbx, qword [rsp + 0x40]
cmp r13, r12
ja 0x1400b7303
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.140144e50
jmp 0x1400b7320
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x130]
mov rdx, r12
mov rcx, rbx
call fcn.140144ee0
test edi, edi
js 0x1400b743b
cmp edi, dword [rbx - 0xc]
jg 0x1400b743b
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
cmp dword [0x140206e38], 0
je 0x1400b7357
lea rdx, str.MaxxAudioIntelSkylake64.dll
lea rcx, [rsp + 0x40]
call fcn.1400b74e0
jmp 0x1400b7368
lea rdx, str.MaxxAudioVienna264.dll
lea rcx, [rsp + 0x40]
call fcn.1400b74e0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xc7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rdi, qword [rsp + 0x40]
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400b73b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.14012a060
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400b73d4
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x60]
mov r8, r15
lea rdx, str._s__s
lea rcx, [rsp + 0x48]
call fcn.1400b7b60
mov rdi, qword [rsp + 0x48]
mov rax, qword [0x140206b60]
test rax, rax
je 0x1400b741d
mov r8, r14
xor edx, edx
mov rcx, rdi
call rax
mov rbp, rax
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400b7436
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbp
jmp 0x1400b7446
mov ecx, 0x80070057
call fcn.140002cb0
nop
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140144dc0
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret