Function at 0x1400068e8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
mov rsi, rcx
mov r12d, r8d
mov r13, rdx
xor r14d, r14d
lea rcx, [rax - 0x247]
xor edx, edx
mov r8d, 0x108
mov rbp, r9
mov edi, r14d
mov byte [rax - 0x248], r14b
call fcn.14001d490
lea rcx, [rsp + 0x3c1]
xor edx, edx
mov r8d, 0x10a
mov byte [rsp + 0x3c0], r14b
call fcn.14001d490
cmp byte [0x14003b4e0], r14b
lea r15, [0x14003b4e0]
jne 0x140006a0e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.kernel32
mov dword [rsp + 0x510], r14d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r14
je 0x1400069a5
lea rdx, [rsp + 0x510]
mov rcx, rbx
call rax
cmp dword [rsp + 0x510], r14d
mov edx, 0x104
mov rcx, r15
je 0x140006a02
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov rcx, r15
call fcn.14001d780
cmp eax, r14d
jle 0x1400069e3
cdqe
cmp byte [rax + r15 - 1], 0x5c
je 0x1400069e3
lea rdx, [0x140031de8]
mov rcx, r15
call fcn.14001cd40
lea rdx, str.Sysnative
mov r8d, 0x104
mov rcx, r15
call fcn.1400099dc
mov rcx, r15
call fcn.14001d780
jmp 0x140006a08
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [0x14003b5e8], eax
lea rcx, [rsp + 0x2b0]
mov rdx, r15
call fcn.14001cde0
lea rax, [0x14003b110]
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x258]
mov r8d, 0x14
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x108], r14
mov dword [rsp + 0x110], r14d
mov dword [rsp + 0x114], 0x1388
mov dword [rsp + 0x248], 0x400
mov dword [rsp + 0x24c], 0x100
mov dword [rsp + 0x228], r14d
mov dword [rsp + 0x22c], r14d
mov qword [rsp + 0x238], r14
mov qword [rsp + 0x240], r14
mov dword [rsp + 0x250], r14d
mov dword [rsp + 0x230], r14d
mov byte [rsp + 0x128], r14b
mov dword [rsp + 0x298], r14d
mov qword [rsp + 0x60], r14
call fcn.14001cf80
lea rcx, [0x140031bf0]
xor edx, edx
call fcn.140009dc4
mov rcx, rax
mov rsi, rax
call fcn.14001d780
lea rcx, [rsp + 0x2b0]
mov rbx, rax
call fcn.14001d780
lea rcx, [rbx + rax + 1]
cmp rcx, 0x104
jae 0x140006b0b
lea r8, [rsp + 0x3c0]
lea rcx, [rsp + 0x2b0]
mov rdx, rsi
call fcn.1400094c0
jmp 0x140006b13
mov byte [rsp + 0x3c0], r14b
lea rcx, [rsp + 0x228]
call fcn.140009fe4
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x228]
or r8d, 0xffffffff
call fcn.14000a020
xor eax, eax
xor r11d, r11d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x50], r12d
call fcn.140017668
cmp eax, r14d
je 0x140006bc5
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x520]
mov edi, 1
lea eax, [rdi + 0x1f]
cmp ecx, eax
cmova ecx, eax
cmp rdx, r14
je 0x140006baa
mov dword [rdx], ecx
mov rdx, qword [rsp + 0x48]
mov r8d, ecx
mov rcx, rbp
call fcn.14001cf80
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsp + 0x60]
call fcn.1400160b4
lea r11, [rsp + 0x4d0]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret