Function at 0x14001b720
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov rax, qword [0x1401198e8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rsi, r9
mov qword [rsp + 0x38], rdx
movzx ebx, cl
mov byte [rsp + 0x30], cl
mov byte [rbp - 8], r8b
mov qword [rbp - 0x10], r9
xor edi, edi
cmp byte [0x14011a510], dil
jne 0x14001b78f
mov rcx, qword [r9 + 0x38]
test rcx, rcx
je 0x14001b788
mov rax, qword [rcx]
cmp rcx, r9
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
xor al, al
jmp 0x14001ba7f
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp + 0x18], rax
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test bl, bl
je 0x14001b7d0
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x1400f4040]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.1400b35d0
lea r8, [0x1400eff20]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.1400b35d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
lea rax, [0x1400f1b38]
lea r14, str.AutorunsDisabled
cmp byte [rbp - 8], 0
cmovne r14, rax
mov rcx, qword [0x140135b78]
mov qword [rsp + 0x60], rcx
mov r8, 0xffffffffffffffff
mov rdi, r8
nop
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x14001b820
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rcx
cmp rax, rdi
jb 0x14001baa8
lea r13, [0x140135b68]
cmp qword [0x140135b80], 8
cmovae r13, qword [0x140135b68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [rdi + rcx]
mov ebx, 7
lea r15, [rsp + 0x40]
cmp r12, rbx
jbe 0x14001b8be
mov rbx, r12
or rbx, 7
cmp rbx, rdx
jbe 0x14001b890
mov rbx, rdx
jmp 0x14001b89c
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, r8
lea rcx, [rsp + 0x40]
call fcn.1400037f0
mov r15, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r13
mov rcx, r15
call fcn.14009d3c0
lea rcx, [rbx + r15]
lea r8, [rdi + rdi]
mov rdx, r14
call fcn.14009d3c0
xor r14d, r14d
mov word [r15 + r12*2], r14w
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rbp]
call fcn.140027410
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001b95c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001baa2
call fcn.14009bfe4
movdqa xmm0, xmmword [0x1400f80d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
mov rdi, qword [rsp + 0x38]
cmp qword [rbp], 0
je 0x14001ba02
lea rax, [rbp + 0x20]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rax, [rbp + 0x2b0]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x18]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
lea rax, [0x1400f4070]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x28], xmm0
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp]
call fcn.1400261d0
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14001ba02
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp byte [rbp - 8], 0
je 0x14001ba4d
mov ebx, dword [rbp + 0x2b0]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], r14
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14001ba33
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
call qword [rax]
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rdi
movzx ecx, byte [rsp + 0x30]
call fcn.14001b720
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x14001ba60
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp], r14
mov dword [rbp + 8], r14d
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14001ba7d
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r14
mov al, 1
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14009c570
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400a3080
nop
call fcn.140003690
int3