Function at 0x1419f6b40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x141b3ab80]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, rcx
mov qword [rbp - 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov edi, 0xffffffff
test eax, eax
je 0x1419f6d48
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x102
ja 0x1419f6c43
mov r8d, ecx
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.14198daf0
mov rcx, rax
mov rsi, qword [rax]
mov qword [rsp + 0x30], rsi
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1419f6c37
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f6c37
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1419a7030
lea r8, [rsp + 0x30]
mov edx, 0x103
jmp 0x1419f6cab
mov r8, rsi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.14198daf0
mov rcx, rax
mov rsi, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1419f6ca1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f6ca1
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x68]
call fcn.1419a7030
lea r8, [rsp + 0x50]
mov edx, 0x25
mov dword [rsp + 0x20], edx
mov rax, qword [rbx]
mov qword [rbx], rsi
mov qword [r8], rax
mov rcx, qword [rbx + 8]
mov rax, qword [r8 + 8]
mov qword [rbx + 8], rax
mov qword [r8 + 8], rcx
mov rcx, qword [rbx + 0x10]
mov rax, qword [r8 + 0x10]
mov qword [rbx + 0x10], rax
mov qword [r8 + 0x10], rcx
test dl, 4
je 0x1419f6d12
and edx, 0xfffffffb
mov dword [rsp + 0x20], edx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1419f6d12
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f6d0e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1419a7030
mov edx, dword [rsp + 0x20]
test dl, 2
je 0x1419f6d48
and edx, 0xfffffffd
mov dword [rsp + 0x20], edx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1419f6d48
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f6d48
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1419a7030
cmp qword [rbx + 0x10], 0
je 0x1419f6df6
mov esi, 0x5c
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14198c920
test al, al
je 0x1419f6d92
nop dword [rax]
mov edx, 1
mov rcx, rbx
call fcn.14198b840
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14198c920
test al, al
jne 0x1419f6d70
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1419a0780
mov r8, rax
mov rcx, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov qword [r8], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [r8 + 8]
mov qword [rbx + 8], rax
mov qword [r8 + 8], rcx
mov rcx, qword [rbx + 0x10]
mov rax, qword [r8 + 0x10]
mov qword [rbx + 0x10], rax
mov qword [r8 + 0x10], rcx
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1419f6df6
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1419f6df6
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x68]
call fcn.1419a7030
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x1419f6e2e
mov qword [rsp + 0x30], 6
lea rax, [0x14007a784]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.141989150
jmp 0x1419f6e92
cmp rcx, 2
jl 0x1419f6e92
mov rax, qword [rbx]
test rax, rax
je 0x1419f6e43
mov eax, dword [rax]
cmp eax, 1
jle 0x1419f6e55
mov r8d, 1
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.1419903c0
mov rax, qword [rbx + 8]
cmp word [rax + 2], 0x3a
jne 0x1419f6e92
movzx ecx, word [rax]
call fcn.141993420
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1419f6e79
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x1419f6e8b
mov r8d, 1
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.1419903c0
mov rax, qword [rbx + 8]
mov word [rax], di
mov rax, rbx
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.141ae2a00
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret