Function at 0x1419f4020
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x39], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rdi
movzx eax, byte [0x141b3d9c0]
nop
cmp al, 0xfe
jle 0x1419f408a
mov ecx, dword [0x141b3fe60]
mov rax, qword gs:[0x58]
mov edx, 0x58
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x141b3d9cc], eax
jg 0x1419f46c7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x6f], rdi
lea r8, [rbp + 0x6f]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rbx, 0xffffffffffffffff
test eax, eax
je 0x1419f4180
mov dword [rbp + 0x67], edi
lea r8, [rbp + 0x67]
xor edx, edx
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
jne 0x1419f4176
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x1419f4176
mov ecx, eax
mov eax, 2
mul rcx
cmovb rax, rbx
mov rcx, rax
call fcn.141ae3300
mov rsi, rax
lea r8, [rbp + 0x67]
mov rdx, rax
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x1419f416e
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.14197ac40
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rax]
mov qword [rbp - 0x69], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x61]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x61], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x59]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x59], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1419f416e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f416e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x31]
call fcn.1419a7030
mov rcx, rsi
call fcn.141ae2a20
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x59], 0
je 0x1419f4198
lea rcx, [rbp - 0x69]
call fcn.141999d40
test al, al
jne 0x1419f4675
lea rdx, [0x14007a750]
lea rcx, [rbp - 0x31]
call fcn.1419c3700
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.1419aeb90
lea r12, [0x1400479ac]
test al, al
je 0x1419f41c7
mov rcx, rdi
jmp 0x1419f41d5
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rcx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x51]
call fcn.14198d960
mov rdx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rdx
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x41], rcx
test rdx, rdx
je 0x1419f4248
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x1419f4248
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x51]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1419f4270
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f4270
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x31]
call fcn.1419a7030
cmp qword [rbp - 0x59], 0
je 0x1419f4288
lea rcx, [rbp - 0x69]
call fcn.141999d40
test al, al
jne 0x1419f4675
lea rdx, [0x14007a760]
lea rcx, [rbp - 0x19]
call fcn.1419c3700
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.1419aeb90
test al, al
je 0x1419f42b0
mov rcx, rdi
jmp 0x1419f42be
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rcx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x31]
call fcn.14198d960
nop
lea rdx, [0x14007a770]
lea rcx, [rbp + 0x17]
call fcn.1419c3700
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.1419aeb90
test al, al
je 0x1419f4305
mov rcx, rdi
jmp 0x1419f4313
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rcx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.14198d960
nop
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbp - 0x51], xmm1
movsd xmm0, qword [rbp + 0xf]
movsd qword [rbp - 0x41], xmm0
movq rax, xmm1
test rax, rax
je 0x1419f4351
lock inc dword [rax]
mov dword [rbp - 0x39], 0x1e
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.141989c80
mov rdx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rdx
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x41], rcx
test rdx, rdx
je 0x1419f43ba
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x1419f43ba
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x51]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1419f43e3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f43e3
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.1419a7030
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1419f440c
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f440c
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp + 0x17]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1419f4435
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f4435
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x31]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1419f445d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f445d
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.1419a7030
cmp qword [rbp - 0x59], 0
je 0x1419f4475
lea rcx, [rbp - 0x69]
call fcn.141999d40
test al, al
jne 0x1419f4675
lea rdx, [0x14007a77c]
lea rcx, [rbp - 0x19]
call fcn.1419c3700
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.1419aeb90
test al, al
je 0x1419f449d
mov rcx, rdi
jmp 0x1419f44ab
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rcx
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x51]
call fcn.14198d960
mov dword [rbp - 0x39], 0x2e
mov rdx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rdx
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x41], rcx
test rdx, rdx
je 0x1419f4525
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x1419f4525
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x51]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1419f454d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f454d
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.1419a7030
cmp qword [rbp - 0x59], 0
je 0x1419f4565
lea rcx, [rbp - 0x69]
call fcn.141999d40
test al, al
jne 0x1419f4675
lea rdx, [0x14007a740]
lea rcx, [rbp - 0x19]
call fcn.1419c3700
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.1419aeb90
test al, al
jne 0x1419f4596
mov rax, qword [rsi + 8]
mov rdi, r12
test rax, rax
cmovne rdi, rax
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rdi
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x51]
call fcn.14198d880
mov dword [rbp - 0x39], 0xee
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1419f45e3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f45e3
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.1419a7030
cmp qword [rbp - 0x41], 0
jne 0x1419f4613
mov qword [rbp - 0x79], 2
lea rax, [0x14007a74c]
mov qword [rbp - 0x71], rax
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x51]
call fcn.141989150
mov edx, 0x2f
lea rcx, [rbp - 0x51]
call fcn.141989d60
mov rdx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rdx
mov rcx, qword [rbp - 0x61]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x41], rcx
test rdx, rdx
je 0x1419f4675
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x1419f4675
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x51]
call fcn.1419a7030
lea rdx, [rbp - 0x69]
mov rcx, r14
call fcn.1419a0780
nop
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x1419f46a8
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1419f46a8
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x69]
call fcn.1419a7030
mov rax, r14
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [0x141b3d9cc]
call fcn.141ae2fec
cmp dword [0x141b3d9cc], 0xffffffff
jne 0x1419f408a
lea rcx, [0x141b3d9c9]
call fcn.1419f0d20
mov byte [0x141b3d9c0], 0xff
lea rcx, [0x141b17fd0]
call fcn.141ae2c8c
nop
lea rcx, [0x141b3d9cc]
call fcn.141ae2f80
jmp 0x1419f408a