Function at 0x140155d20
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 [0x1402e8100]
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.14026a0b0
lea rcx, [rbp - 0x40]
call fcn.14010c260
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x140]
call fcn.14026a0b0
lea rcx, [rbp + 0x140]
call fcn.14010c260
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call fcn.14026a0b0
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x80]
call fcn.1400d3870
nop
cmp byte [rbx], sil
je 0x140155e5a
lea rcx, [rbp - 0x80]
call fcn.1400d1e10
mov rsi, rax
lea rbx, str.System32_ntdll.dll
mov rcx, rbx
call fcn.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov r14, rax
lea rcx, [rbp - 0x80]
call fcn.1400d3680
sub rax, rsi
cmp rax, r14
jb 0x140156002
lea rcx, [rbp - 0x80]
call fcn.1400d3710
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.1401162e0
nop
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14010c490
nop
lea rcx, [rbp - 0x60]
call fcn.1400d3780
jmp 0x140155f91
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 0x140155e7b
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
lea rcx, [rbp - 0x80]
call fcn.1400d1e10
mov rsi, rax
lea rbx, str.System32_ntdll.dll
mov rcx, rbx
call fcn.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov r14, rax
lea rcx, [rbp - 0x80]
call fcn.1400d3680
sub rax, rsi
cmp rax, r14
jb 0x140156008
lea rcx, [rbp - 0x80]
call fcn.1400d3710
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.1401162e0
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.14010c490
nop
lea rcx, [rsp + 0x48]
call fcn.1400d3780
lea rcx, [rbp - 0x80]
call fcn.1400d1e10
mov rbx, rax
lea r14, str.SysWOW64_ntdll.dll
mov rcx, r14
call fcn.1400ce290
mov rcx, rax
call fcn.1400cf3e0
mov rsi, rax
lea rcx, [rbp - 0x80]
call fcn.1400d3680
sub rax, rbx
cmp rax, rsi
jb 0x140155ffc
lea rcx, [rbp - 0x80]
call fcn.1400d3710
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.1401162e0
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14010c490
nop
lea rcx, [rsp + 0x48]
call fcn.1400d3780
nop
cmp byte [rbp - 0x58], 0
je 0x140155f91
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1401560e0
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x140]
call fcn.1401560e0
nop
lea rcx, [rbp - 0x80]
call fcn.1400d3780
nop
lea rcx, [rbp + 0x140]
call fcn.14010c3a0
nop
lea rcx, [rbp - 0x40]
call fcn.14010c3a0
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1401e1ca0
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.1400be860
nop
call fcn.1400be860
nop
call fcn.1400be860
int3