Function at 0x14009ac80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp - 0x80]
call fcn.1400a6a20
lea rcx, [rbp - 0x80]
call fcn.140077970
nop
xor edx, edx
mov r8d, 0x180
lea rcx, [rbp + 0x100]
call fcn.1400a6a20
lea rcx, [rbp + 0x100]
call fcn.140077970
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x280]
call fcn.1400a6a20
mov edx, 0x104
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x280]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14009ad40
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x60]
call fcn.1400701c0
nop
lea r8, str.System32_ntdll.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
cmp byte [rdi], 0
je 0x14009ad8b
call fcn.14007bc10
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140077b30
nop
jmp 0x14009add5
call fcn.14007bc10
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.140077b30
nop
lea rcx, [rsp + 0x28]
call fcn.14006fae0
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14007bc10
nop
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140077b30
nop
lea rcx, [rsp + 0x28]
call fcn.14006fae0
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.14009af60
nop
lea rcx, [rbx + 0x180]
lea rdx, [rbp + 0x100]
call fcn.14009af60
nop
lea rcx, [rsp + 0x60]
call fcn.14006fae0
nop
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.140077d80
lea rcx, [rbp + 0x238]
call fcn.140098ca0
lea rcx, [rbp + 0x218]
call fcn.14006fae0
lea rcx, [rbp + 0x1f8]
call fcn.14006fae0
lea rcx, [rbp + 0x1b8]
call fcn.14006b960
lea rcx, [rbp + 0x178]
call fcn.14006b960
lea rcx, [rbp + 0x160]
call fcn.140079020
mov rcx, qword [rbp + 0x148]
test rcx, rcx
jle 0x14009ae73
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp + 0x110]
test rcx, rcx
jle 0x14009ae85
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 0x108]
test rcx, rcx
jle 0x14009ae97
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x100]
test rcx, rcx
jle 0x14009aeaa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140077d80
lea rcx, [rbp + 0xb8]
call fcn.140098ca0
lea rcx, [rbp + 0x98]
call fcn.14006fae0
lea rcx, [rbp + 0x78]
call fcn.14006fae0
lea rcx, [rbp + 0x38]
call fcn.14006b960
lea rcx, [rbp - 8]
call fcn.14006b960
lea rcx, [rbp - 0x20]
call fcn.140079020
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jle 0x14009af00
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jle 0x14009af0f
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
jle 0x14009af1e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jle 0x14009af2d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret