Function at 0x140094180
Capabilities:
Get common file path

Disassembly:
sub edx, 0x211c0110
je 0x140093e33
sub edx, 1
je 0x140093e21
sub edx, 1
je 0x140093e0f
cmp edx, 1
je 0x140093dfd
mov eax, 1
ret
mov r8d, 3
mov rdx, r9
add rcx, 0xffffffffffffffc0
jmp 0x140094180
mov r8d, 2
mov rdx, r9
add rcx, 0xffffffffffffffc0
jmp 0x140094180
mov r8d, 1
mov rdx, r9
add rcx, 0xffffffffffffffc0
jmp 0x140094180
xor r8d, r8d
mov rdx, r9
add rcx, 0xffffffffffffffc0
jmp 0x140094180
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r12d, r8d
mov dword [rsp + 0x48], r12d
mov rbx, rdx
mov qword [rsp + 0x50], rdx
mov rsi, rcx
cmp qword [rcx + 0xd0], 0
jne 0x1400941f9
lea r8, str.MaxxAudio3SettingUI.cpp
mov edx, 0x386
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400947ff
cmp qword [rcx + 0x20], 0
jne 0x14009421f
lea r8, str.MaxxAudio3SettingUI.cpp
mov edx, 0x387
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400947ff
mov rcx, rbx
call fcn.1400fe1fc
mov r13, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x140094253
lea r8, str.MaxxAudio3SettingUI.cpp
mov edx, 0x38d
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x1400947ff
mov r15, r12
mov rax, qword [rsi + r12*8 + 0x148]
or rdi, 0xffffffffffffffff
test rax, rax
jne 0x140094649
mov qword [rsi + r12*8 + 0x148], rbx
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140094829
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 0x82
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x50]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400942b0
mov r8d, eax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400927a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x68]
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rbx, qword [rsp + 0x40]
mov edx, 0x18
mov r13d, dword [rbx - 0x10]
cmp dword [rsi + 0x130], 0
je 0x140094384
lea rax, str.MaxxAudioRealtek464.dll
mov r12, rax
sub r12, rbx
mov rcx, rax
call fcn.1402a5638
mov r15, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r13d
jl 0x140094834
lea r14d, [rax + r13]
test r14d, r14d
js 0x14009483f
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140094356
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140092b80
mov rbx, qword [rsp + 0x40]
cmp r12, r13
lea r8, [r12 + rbx]
jbe 0x140094366
lea r8, str.MaxxAudioRealtek464.dll
movsxd rdx, r15d
lea rcx, [rbx + r13]
mov r9d, r15d
call fcn.140092930
cmp r14d, dword [rbx - 0xc]
jg 0x14009484a
jmp 0x14009449a
cmp dword [rsi + 0x12c], 0
je 0x140094418
lea rax, str.MaxxAudioRealtek364.dll
mov r12, rax
sub r12, rbx
mov rcx, rax
call fcn.1402a5638
mov r15, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r13d
jl 0x140094855
lea r14d, [rax + r13]
test r14d, r14d
js 0x140094860
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x1400943ea
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140092b80
mov rbx, qword [rsp + 0x40]
cmp r12, r13
lea r8, [r12 + rbx]
jbe 0x1400943fa
lea r8, str.MaxxAudioRealtek364.dll
movsxd rdx, r15d
lea rcx, [rbx + r13]
mov r9d, r15d
call fcn.140092930
cmp r14d, dword [rbx - 0xc]
jg 0x14009486b
jmp 0x14009449a
lea rax, str.MaxxAudioRealtek264.dll
mov r12, rax
sub r12, rbx
mov rcx, rax
call fcn.1402a5638
mov r15, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r13d
jl 0x140094876
lea r14d, [rax + r13]
test r14d, r14d
js 0x140094881
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140094471
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140092b80
mov rbx, qword [rsp + 0x40]
cmp r12, r13
lea r8, [r12 + rbx]
jbe 0x140094481
lea r8, str.MaxxAudioRealtek264.dll
movsxd rdx, r15d
lea rcx, [rbx + r13]
mov r9d, r15d
call fcn.140092930
cmp r14d, dword [rbx - 0xc]
jg 0x14009488c
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
mov byte [rax + rbx], 0
mov r12d, dword [rsp + 0x48]
mov r15d, r12d
lea rdx, [r12 + 0x62]
lea rdx, [rsi + rdx*4]
add rdx, r12
mov r9, rbx
mov rcx, rsi
call fcn.140092310
mov qword [rsi + r12*8 + 0xd8], rax
test rax, rax
jne 0x140094508
lea r8, str.MaxxAudio3SettingUI.cpp
mov edx, 0x3cf
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140094501
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400947ff
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x80]
call fcn.14029ff20
mov rax, qword [rsi + 0x20]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xc7
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, qword [rax + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rbp - 0x80]
mov rax, rdi
lea rax, [rax + 1]
cmp byte [rcx + rax], r14b
jne 0x140094556
mov r10, qword [0x1403ff6f0]
test r10, r10
jne 0x140094586
lea r8, str.WavesFxApi.cpp
mov edx, 0xb2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x14009459e
lea r9d, [rax + 1]
lea r8, [rbp - 0x80]
mov edx, 1
mov rcx, qword [rsi + r12*8 + 0xd8]
call r10
lea r9d, [r12 + 0x3e7]
add r9d, dword [rsi + 0xfc]
mov rax, qword [0x1403ff6d8]
test rax, rax
jne 0x1400945d3
lea r8, str.WavesFxApi.cpp
mov edx, 0x135
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400945f1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsi + r12*8 + 0xd8]
call rax
lea edx, [r12 + 0x3e7]
add edx, dword [rsi + 0xfc]
mov r13, qword [rsp + 0x58]
mov rcx, r13
call fcn.140105708
mov r14, rax
test rax, rax
je 0x14009462e
mov rcx, r13
call fcn.140105a4c
mov edx, eax
mov rcx, r14
call fcn.140105658
mov qword [rsi + r12*8 + 0x168], r14
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140094674
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140094674
cmp rax, rbx
je 0x140094674
mov rax, qword [rsi + r12*8 + 0x168]
test rax, rax
jne 0x14009465f
xor ecx, ecx
jmp 0x140094663
mov rcx, qword [rax + 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetParent]
mov qword [rsi + r12*8 + 0x148], rbx
xor ebx, ebx
lea edx, [rbx + 5]
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fe1b8
test rax, rax
je 0x1400946ae
inc ebx
mov edx, 2
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fe1b8
test rax, rax
jne 0x140094690
mov rax, qword [rsi + 0xd0]
test byte [rax + 0x548], 0x40
je 0x1400947fa
cmp ebx, 1
jbe 0x1400947fa
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140094897
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x20]
xor ecx, ecx
cmp dword [rax + 0x168], ecx
sete cl
lea r8, [rsp + 0x48]
mov edx, 1
call fcn.140055570
mov rbx, qword [rsp + 0x48]
test eax, eax
je 0x14009475e
mov rcx, qword [rsi + 0x20]
add rcx, 0x118
mov rdx, rbx
call fcn.14000e740
test eax, eax
jne 0x14009475e
mov rax, qword [0x1403ff6e8]
test rax, rax
jne 0x14009474f
lea r8, str.WavesFxApi.cpp
mov edx, 0xd8
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x14009475e
mov r8d, edi
mov edx, edi
mov rcx, qword [rsi + r15*8 + 0xd8]
call rax
mov edx, 5
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fe1b8
mov r14, rax
test rax, rax
je 0x1400947e2
mov r15d, 0x247
mov rcx, r14
call fcn.1401056c4
mov edx, dword [rsi + 0xfc]
add edx, 0x3e7
add edx, r12d
mov ecx, 0x287
cmp eax, edx
cmove ecx, r15d
mov dword [rsp + 0x30], ecx
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140105dbc
mov edx, 2
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.1400fe1b8
mov r14, rax
test rax, rax
jne 0x140094783
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400947fa
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
int3
mov ecx, 0x80070057
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3