Function at 0x140081ce0
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 - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x14014e0c0]
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.1400bb630
lea rcx, [rbp - 0x40]
call fcn.14005c0b0
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x140]
call fcn.1400bb630
lea rcx, [rbp + 0x140]
call fcn.14005c0b0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call fcn.1400bb630
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
lea rax, [rbp + 0x2c0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140081da0
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp - 0x80]
call fcn.140053c20
nop
cmp byte [rbx], 0
je 0x140081e6c
movabs rbx, 0x7ffffffffffffffe
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x140082083
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140060e30
nop
mov r8b, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14005c320
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140081fde
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081e62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082089
call fcn.14008bfa0
jmp 0x140081fde
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 0x140081e8d
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
nop
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, 0x13
jb 0x14008208f
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rdx, str.System32_ntdll.dll
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.140060e30
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.14005c320
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140081f35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082095
call fcn.14008bfa0
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, 0x13
jb 0x14008209b
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], 0x13
lea rcx, str.SysWOW64_ntdll.dll
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140060e30
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call fcn.14005c320
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140081fce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081fc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400820a1
call fcn.14008bfa0
nop
cmp byte [rbp - 0x58], 0
je 0x140081fde
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400820b0
nop
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x140]
call fcn.1400820b0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14008203c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008207d
call fcn.14008bfa0
nop
lea rcx, [rbp + 0x140]
call fcn.14005c1d0
nop
lea rcx, [rbp - 0x40]
call fcn.14005c1d0
mov rax, rdi
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14008bd40
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140092088
nop
call fcn.140001bc0
int3
call fcn.140092088
nop
call fcn.140001bc0
int3
call fcn.140092088
int3
call fcn.140001bc0
int3
call fcn.140092088
int3