Function at 0x1400358e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x14008d030]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x70], rdx
xor esi, esi
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x40]
call fcn.140041270
lea rcx, [rbp - 0x40]
call fcn.140015f10
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x140]
call fcn.140041270
lea rcx, [rbp + 0x140]
call fcn.140015f10
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call fcn.140041270
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140003290
nop
lea rcx, [rbp + 0x2c0]
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r8, rax
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x80]
call fcn.14000ecc0
nop
cmp byte [rbx], sil
je 0x140035a34
mov rsi, qword [rbp - 0x70]
lea rbx, str.System32_ntdll.dll
mov rcx, rbx
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r14, rax
lea rcx, [rbp - 0x80]
call fcn.140006750
sub rax, rsi
cmp rax, r14
jb 0x140035bcc
lea rcx, [rbp - 0x80]
call fcn.140003d90
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14001a120
nop
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400161c0
nop
lea rcx, [rbp - 0x60]
call fcn.140003de0
jmp 0x140035b5b
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movzx eax, byte [rbx + 1]
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x58], al
test al, al
je 0x140035a55
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
mov rsi, qword [rbp - 0x70]
lea rbx, str.System32_ntdll.dll
mov rcx, rbx
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r14, rax
lea rcx, [rbp - 0x80]
call fcn.140006750
sub rax, rsi
cmp rax, r14
jb 0x140035bd2
lea rcx, [rbp - 0x80]
call fcn.140003d90
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14001a120
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.1400161c0
nop
lea rcx, [rsp + 0x48]
call fcn.140003de0
mov rbx, qword [rbp - 0x70]
lea r14, str.SysWOW64_ntdll.dll
mov rcx, r14
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov rsi, rax
lea rcx, [rbp - 0x80]
call fcn.140006750
sub rax, rbx
cmp rax, rsi
jb 0x140035bc6
lea rcx, [rbp - 0x80]
call fcn.140003d90
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14001a120
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.1400161c0
nop
lea rcx, [rsp + 0x48]
call fcn.140003de0
nop
cmp byte [rbp - 0x58], 0
je 0x140035b5b
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140035be0
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x140]
call fcn.140035be0
nop
lea rcx, [rbp - 0x80]
call fcn.140003de0
nop
lea rcx, [rbp + 0x140]
call fcn.140016070
nop
lea rcx, [rbp - 0x40]
call fcn.140016070
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14003ecb0
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140001920
nop
call fcn.140001920
nop
call fcn.140001920
int3