Function at 0x14000bef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x140071060]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x70]
call fcn.140020c50
lea rcx, [rbp - 0x70]
call fcn.14000f2c0
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x110]
call fcn.140020c50
lea rcx, [rbp + 0x110]
call fcn.14000f2c0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call fcn.140020c50
mov edx, 0x104
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea rax, [rbp + 0x290]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], si
jne 0x14000bfb0
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x70]
call fcn.140004ba0
nop
cmp byte [rdi], 0
je 0x14000c040
lea r8, str.System32_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000a730
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000f5c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000c147
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c1ed
call fcn.14001e184
jmp 0x14000c147
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movzx eax, byte [rdi + 1]
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x58], al
test al, al
je 0x14000c065
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea r8, str.System32_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.14000a730
nop
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.14000f5c0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14000c0ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c1f3
call fcn.14001e184
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.14000a730
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000f5c0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14000c135
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c12f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c1f9
call fcn.14001e184
nop
cmp byte [rsp + 0x58], 0
je 0x14000c147
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14000c200
nop
lea rcx, [rbx + 0x180]
lea rdx, [rbp + 0x110]
call fcn.14000c200
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000c1a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c1e7
call fcn.14001e184
nop
lea rcx, [rbp + 0x110]
call fcn.14000f3c0
nop
lea rcx, [rbp - 0x70]
call fcn.14000f3c0
mov rax, rbx
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.14001e160
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140025ed4
nop
call fcn.140025ed4
nop
call fcn.140025ed4
int3
call fcn.140025ed4
int3