Function at 0x14007f120
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14019ac80]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor edi, edi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x10]
call fcn.140125b30
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x100]
call fcn.140125b30
mov edx, 0x104
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
test eax, eax
je 0x14007f4de
lea rsi, str.OpenAL32.dll
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], send
call fcn.1400f0248
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14002dd80
nop
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x10]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14007f1f0
mov qword [rbp - 0x58], rax
call fcn.1400f0248
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14002dd80
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14002e590
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14007f272
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f26d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f50c
call fcn.1400f2bb0
movdqa xmm0, xmmword [0x14017d1c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14007f2cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f2c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f512
call fcn.1400f2bb0
movdqa xmm0, xmmword [0x14017d1c0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], send
call fcn.1400f0248
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14002dd80
nop
lea rax, [rbp + 0x100]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x100]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007f316
mov qword [rbp - 0x58], rbx
call fcn.1400f0248
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.14002dd80
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14002e590
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14007f397
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f518
call fcn.1400f2bb0
movdqa xmm0, xmmword [0x14017d1c0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14007f3f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f3e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f51e
call fcn.1400f2bb0
movdqa xmm0, xmmword [0x14017d1c0]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
mov qword [rbp - 0x60], rdi
lea rbx, [0x14019b920]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.14002fe90
cmp dword [rbp - 0x60], 0
jne 0x14007f524
test al, al
je 0x14007f44c
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
call fcn.14002fe90
cmp dword [rbp - 0x60], 0
jne 0x14007f532
test al, al
je 0x14007f44c
mov bl, 1
jmp 0x14007f44e
xor bl, bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14007f48e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f489
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f540
call fcn.1400f2bb0
movdqa xmm0, xmmword [0x14017d1c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], di
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14007f4db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f4d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f506
call fcn.1400f2bb0
movzx eax, bl
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400f2b90
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401005b4
nop
call fcn.1401005b4
nop
call fcn.1401005b4
nop
call fcn.1401005b4
nop
call fcn.1401005b4
int3
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x60]
call fcn.14002f290
int3
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x60]
call fcn.14002f290
nop
call fcn.1401005b4
int3