Function at 0x14006bde0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1400dd040]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x60]
call fcn.1400a1d40
lea rcx, [rbp - 0x60]
call fcn.1400489d0
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x120]
call fcn.1400a1d40
lea rcx, [rbp + 0x120]
call fcn.1400489d0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.1400a1d40
mov edx, 0x104
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x2a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14006be95
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp - 0x80]
call fcn.1400015e0
nop
cmp byte [rdi], 0
je 0x14006bf27
lea r8, str.System32_ntdll.dll
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14004d670
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140048c50
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14006c036
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bf1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c0d7
call fcn.140075bec
jmp 0x14006c036
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movzx eax, byte [rdi + 1]
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x68], al
test al, al
je 0x14006bf50
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea r8, str.System32_ntdll.dll
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.14004d670
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.140048c50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14006bfbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006bfb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c0dd
call fcn.140075bec
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x28]
call fcn.14004d670
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140048c50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14006c024
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c01e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c0e3
call fcn.140075bec
nop
cmp byte [rsp + 0x68], 0
je 0x14006c036
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.14006c0f0
nop
lea rcx, [rbx + 0x180]
lea rdx, [rbp + 0x120]
call fcn.14006c0f0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14006c094
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c08e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006c0d1
call fcn.140075bec
nop
lea rcx, [rbp + 0x120]
call fcn.140048b00
nop
lea rcx, [rbp - 0x60]
call fcn.140048b00
mov rax, rbx
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140075950
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14007cae0
nop
call fcn.14007cae0
nop
call fcn.14007cae0
int3
call fcn.14007cae0
int3