Function at 0x141db1d30
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 - 0x79], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rdi
movzx eax, byte [0x141f1e8b8]
nop
cmp al, 0xfe
jle 0x141db1d9a
mov ecx, dword [0x141f20ea0]
mov rax, qword gs:[0x58]
mov edx, 0x58
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x141f1e8c4], eax
jg 0x141db237b
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 0x141db1eb0
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 0x141db1ea6
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x141db1ea6
mov ecx, eax
mov eax, 2
mul rcx
cmovb rax, rbx
mov rcx, rax
call fcn.141ec2af0
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 0x141db1e9e
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.141d3e900
nop
mov rcx, qword [rax]
mov qword [rbp - 0x59], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x51], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x49], rcx
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov dword [rbp - 0x79], 0x400
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x141db1e73
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db1e73
mov rcx, qword [rbp - 0x29]
call fcn.141ec82c8
mov rcx, qword [rbp - 0x41]
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x41], xmm0
movsd xmm1, qword [rbp - 0x49]
movsd qword [rbp - 0x31], xmm1
test rcx, rcx
je 0x141db1e9e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db1e9e
call fcn.141ec82c8
mov rcx, rsi
call fcn.141ec2270
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x31], 0
je 0x141db1ec8
lea rcx, [rbp - 0x41]
call fcn.141d4b220
test al, al
jne 0x141db2334
lea rdx, [0x140079ed0]
lea rcx, [rbp - 0x29]
call fcn.141d7b6a0
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.141d62c20
lea r12, [0x1400479f4]
test al, al
je 0x141db1ef7
mov rcx, rdi
jmp 0x141db1f05
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], rcx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.141d3e770
or dword [rbp - 0x79], 2
mov rdx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x59], rdx
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x51], rcx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x49], rcx
test rdx, rdx
je 0x141db1f71
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141db1f71
mov rcx, qword [rbp - 0x59]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x141db1f8e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db1f8e
mov rcx, qword [rbp - 0x29]
call fcn.141ec82c8
cmp qword [rbp - 0x31], 0
je 0x141db1fa6
lea rcx, [rbp - 0x41]
call fcn.141d4b220
test al, al
jne 0x141db2334
lea rdx, [0x140079ee0]
lea rcx, [rbp - 0x11]
call fcn.141d7b6a0
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.141d62c20
test al, al
je 0x141db1fce
mov rcx, rdi
jmp 0x141db1fdc
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], rcx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.141d3e770
or dword [rbp - 0x79], 4
lea rdx, [0x140079ef0]
lea rcx, [rbp + 0x1f]
call fcn.141d7b6a0
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.141d62c20
test al, al
je 0x141db2026
mov rcx, rdi
jmp 0x141db2034
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], rcx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 7]
call fcn.141d3e770
or dword [rbp - 0x79], 8
movups xmm1, xmmword [rbp + 7]
movups xmmword [rbp - 0x59], xmm1
movsd xmm0, qword [rbp + 0x17]
movsd qword [rbp - 0x49], xmm0
movq rax, xmm1
test rax, rax
je 0x141db2075
lock inc dword [rax]
or dword [rbp - 0x79], 0x10
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.141d38fb0
mov rdx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x59], rdx
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x51], rcx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x49], rcx
and dword [rbp - 0x79], 0xffffffef
test rdx, rdx
je 0x141db20d4
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141db20d4
mov rcx, qword [rbp - 0x59]
call fcn.141ec82c8
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x141db20f2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db20f2
mov rcx, qword [rbp + 7]
call fcn.141ec82c8
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x141db2110
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db2110
mov rcx, qword [rbp + 0x1f]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x141db212e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db212e
mov rcx, qword [rbp - 0x29]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x141db214b
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db214b
mov rcx, qword [rbp - 0x11]
call fcn.141ec82c8
cmp qword [rbp - 0x31], 0
je 0x141db2163
lea rcx, [rbp - 0x41]
call fcn.141d4b220
test al, al
jne 0x141db2334
lea rdx, [0x140079efc]
lea rcx, [rbp - 0x11]
call fcn.141d7b6a0
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.141d62c20
test al, al
je 0x141db218b
mov rcx, rdi
jmp 0x141db2199
mov rax, qword [rsi + 8]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], rcx
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.141d3e770
or dword [rbp - 0x79], 0x20
mov rdx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x59], rdx
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x51], rcx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x49], rcx
test rdx, rdx
je 0x141db2205
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141db2205
mov rcx, qword [rbp - 0x59]
call fcn.141ec82c8
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x141db2222
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db2222
mov rcx, qword [rbp - 0x11]
call fcn.141ec82c8
cmp qword [rbp - 0x31], 0
je 0x141db223a
lea rcx, [rbp - 0x41]
call fcn.141d4b220
test al, al
jne 0x141db2334
lea rdx, [0x140079ec0]
lea rcx, [rbp - 0x11]
call fcn.141d7b6a0
mov rsi, rax
mov r15, qword [rax + 0x10]
mov rcx, rax
call fcn.141d62c20
test al, al
jne 0x141db226b
mov rax, qword [rsi + 8]
mov rdi, r12
test rax, rax
cmovne rdi, rax
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x61], rdi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.141d3e5c0
or dword [rbp - 0x79], 0xc0
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x141db22ad
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141db22ad
mov rcx, qword [rbp - 0x11]
call fcn.141ec82c8
cmp qword [rbp - 0x49], 0
jne 0x141db22dd
mov qword [rbp - 0x69], 2
lea rax, [0x140079ecc]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.141d38120
mov edx, 0x2f
lea rcx, [rbp - 0x59]
call fcn.141d390e0
mov rdx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x59], rdx
mov rcx, qword [rbp - 0x39]
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x51], rcx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x49], rcx
test rdx, rdx
je 0x141db2334
mov eax, ebx
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x141db2334
mov rcx, qword [rbp - 0x59]
call fcn.141ec82c8
lea rdx, [rbp - 0x41]
mov rcx, r14
call fcn.141d52d30
nop
mov rax, qword [rbp - 0x41]
test rax, rax
je 0x141db235c
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x141db235c
mov rcx, qword [rbp - 0x41]
call fcn.141ec82c8
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, [0x141f1e8c4]
call fcn.141ec283c
cmp dword [0x141f1e8c4], 0xffffffff
jne 0x141db1d9a
lea rcx, [0x141f1e8c0]
call fcn.141daed00
mov byte [0x141f1e8b8], 0xff
lea rcx, [0x141ef4520]
call fcn.141ec24dc
nop
lea rcx, [0x141f1e8c4]
call fcn.141ec27d0
jmp 0x141db1d9a