Function at 0x14009f848
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
call fcn.140081528
lea ebx, [r12 + 1]
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x10]
mov esi, 0x104
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r8d, esi
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r15d, r12d
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x14009faad
mov esi, r12d
shl rsi, 5
lea rcx, [rsi + rdx]
call fcn.14017b444
test al, al
je 0x14009f926
mov rdx, qword [rdi]
add rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14017b51c
nop
cmp qword [rbp - 0x40], r12
je 0x14009f91d
mov rcx, qword [rdi]
add rcx, rsi
lea rdx, [rbp - 0x50]
call fcn.1400455e0
nop
lea rcx, [rbp - 0x50]
jmp 0x14009fa8b
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14009f940
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140013184
nop
or ebx, 2
mov dword [rsp + 0x20], ebx
mov rcx, qword [rdi]
add rcx, rsi
lea rdx, [rsp + 0x48]
call fcn.14017bf94
test al, al
jne 0x14009f9cb
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x200]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14009f991
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x28]
call fcn.140013184
nop
or ebx, 4
mov dword [rsp + 0x20], ebx
mov rcx, qword [rdi]
add rcx, rsi
lea rdx, [rsp + 0x28]
call fcn.14017bf94
test al, al
mov r14b, r12b
je 0x14009f9ce
mov r14b, 1
test bl, 4
je 0x14009f9e5
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x28]
call fcn.14000dd24
nop
test bl, 2
je 0x14009f9fb
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x48]
call fcn.14000dd24
test r14b, r14b
je 0x14009fa90
lea rcx, [rbp - 0x30]
call fcn.1400f9164
nop
mov rcx, qword [rdi]
add rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.14009f4bc
mov rdx, qword [rdi]
add rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.14017a4ac
nop
mov r8, rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.14017b720
mov r14, rax
add rsi, qword [rdi]
cmp rsi, rax
je 0x14009fa72
mov rcx, rsi
call fcn.14000dd24
mov r8d, 0x20
mov rdx, r14
mov rcx, rsi
call fcn.1402bec40
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 7
mov word [r14], r12w
lea rcx, [rsp + 0x70]
call fcn.14000dd24
nop
lea rcx, [rbp - 0x70]
call fcn.14000dd24
nop
lea rcx, [rbp - 0x30]
call fcn.14000dd24
inc r15d
mov rdx, qword [rdi]
mov esi, r15d
mov rcx, qword [rdi + 8]
sub rcx, rdx
sar rcx, 5
cmp rsi, rcx
jb 0x14009f8e6
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret