Function at 0x140017bc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400a1020]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov esi, r15d
mov dword [rsp + 0x64], r15d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r15
call fcn.1400268cc
lea rcx, [0x140096038]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x24
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140014e20
nop
movups xmm0, xmmword [0x14004a730]
movaps xmmword [rbp], xmm0
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
lea rdi, [r15 - 1]
test eax, eax
jns 0x140017c94
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x140096060]
lea rcx, [rsp + 0x40]
call fcn.14000cfd0
mov ebx, 0x7c000000
jmp 0x140017cee
mov rdx, qword [rsp + 0x70]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140017ca0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x48]
call fcn.14000cfd0
mov esi, 1
mov dword [rsp + 0x64], esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x50], xmm1
mov ebx, 0x9c000000
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140009cc0
or esi, 2
mov dword [rsp + 0x64], esi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140014f90
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140017d50
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
add qword [rbp - 0x58], 0x20
jmp 0x140017d5e
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140024f30
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140017d9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017d99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018714
call fcn.140027894
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140017df3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017ded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001871a
call fcn.140027894
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140017e33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017e2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018720
call fcn.140027894
call fcn.1400268cc
lea rcx, [0x140096090]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x24
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140014e20
or ebx, 0xc
movups xmm0, xmmword [0x14004a740]
movaps xmmword [rbp], xmm0
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x140017eb3
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x140096060]
lea rcx, [rsp + 0x40]
call fcn.14000cfd0
or ebx, 0x70
jmp 0x140017f06
mov rdx, qword [rsp + 0x70]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140017ec0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x48]
call fcn.14000cfd0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x50], xmm1
or ebx, 0x190
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140009cc0
bts ebx, 9
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140014f90
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140017f6d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
add qword [rbp - 0x58], 0x20
jmp 0x140017f7a
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140024f30
btr ebx, 9
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140017fbe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017fb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018726
call fcn.140027894
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140018013
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001800d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001872c
call fcn.140027894
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140018053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001804e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018732
call fcn.140027894
call fcn.1400268cc
lea rcx, [0x140096068]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x24
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140014e20
or ebx, 0xc00
movups xmm0, xmmword [0x14004a720]
movaps xmmword [rbp], xmm0
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x1400180d9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x140096060]
lea rcx, [rsp + 0x40]
call fcn.14000cfd0
or ebx, 0x7000
jmp 0x140018127
mov rdx, qword [rsp + 0x70]
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400180e1
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
lea rcx, [rbp - 0x48]
call fcn.14000cfd0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x50], xmm1
or ebx, 0x19000
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140009cc0
bts ebx, 0x11
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140014f90
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14001818e
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
add qword [rbp - 0x58], 0x20
jmp 0x14001819b
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140024f30
btr ebx, 0x11
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400181df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400181da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018738
call fcn.140027894
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140018234
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001822e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001873e
call fcn.140027894
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140018274
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001826f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018744
call fcn.140027894
call fcn.1400268cc
lea rcx, str.GoogleChromeApplicationchrome.exe
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x24
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.140014e20
or ebx, 0xc0000
movups xmm0, xmmword [0x14004a750]
movaps xmmword [rbp], xmm0
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x1400182fa
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xor r8d, r8d
lea rdx, [0x140096060]
lea rcx, [rsp + 0x40]
call fcn.14000cfd0
or ebx, 0x700000
jmp 0x140018348
mov rdx, qword [rsp + 0x70]
nop
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140018300
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov r8, rdi
lea rcx, [rbp - 0x48]
call fcn.14000cfd0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsp + 0x50], xmm1
or ebx, 0x1900000
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140009cc0
bts ebx, 0x19
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140014f90
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x1400183af
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
add qword [rbp - 0x58], 0x20
jmp 0x1400183bd
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140024f30
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400183fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400183f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001874a
call fcn.140027894
movdqa xmm0, xmmword [0x140097410]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140018452
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001844c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018750
call fcn.140027894
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140018492
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001848d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018756
call fcn.140027894
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x140018668
lea rsi, [0x1400a1e40]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140009cc0
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x28]
call fcn.140026a08
mov edx, eax
test eax, eax
jne 0x14001851a
mov ecx, dword [rbp - 0x18]
bt ecx, 0xa
jae 0x14001850c
mov eax, dword [rbp - 0x14]
cmp eax, 0xa000000c
jne 0x1400184fe
lea eax, [rdx + 4]
jmp 0x14001853e
cmp eax, 0xa0000003
jne 0x14001850c
mov eax, 0xa
jmp 0x14001853e
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14001853e
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x140018539
sub eax, 1
je 0x140018539
sub eax, 0x32
je 0x140018539
cmp eax, 0x46
mov eax, r15d
jne 0x14001853e
mov eax, 1
mov dword [rsp + 0x70], edx
mov qword [rsp + 0x78], rsi
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp], xmm0
test eax, eax
je 0x140018613
cmp eax, 1
je 0x14001861b
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140009cc0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400185af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400185aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018762
call fcn.140027894
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400186d5
mov rdx, qword [rbp - 0x58]
call fcn.140024150
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400186d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001870e
jmp 0x1400186d0
test edx, edx
jne 0x140018700
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14001865b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018762
call fcn.140027894
add rbx, 0x20
cmp rbx, rdi
jne 0x1400184b0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400960b8]
mov rcx, r14
call fcn.14000cfd0
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400186d5
mov rdx, qword [rbp - 0x58]
call fcn.140024150
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400186d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001875c
call fcn.140027894
mov rax, r14
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140027540
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, [rbp - 0x80]
lea rdx, [rbp]
call fcn.1400159a0
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
nop
call fcn.14002e3f8
int3