Function at 0x1800afcd0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r13d, r13d
mov qword [rbp - 0x49], r13
lea r8, [rbp - 0x49]
lea edx, [r13 + 0x11]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b04b2
cmp qword [rbp - 0x49], r13
je 0x1800b04b2
mov qword [rbp - 0x51], r13
lea rcx, [rbp - 0x51]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1800b049e
mov r9, qword [rbp - 0x51]
test r9, r9
je 0x1800b049e
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0xffffffffffff0000
xor r8d, r8d
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.1800af9c0
mov rdi, rax
mov rcx, qword [rsi + 0x68]
mov rax, qword [rcx]
mov r8d, 0x9d04
lea rdx, [rbp + 0xf]
call qword [rax + 0x20]
nop
lea r8, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae r8, qword [rbp + 0xf]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.1800b3a70
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1380
nop
mov rdx, rax
lea rcx, [0x1804db2b0]
call fcn.1800049b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800afe17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afe12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800afe12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804db2b0]
lea rcx, [rsi + 0xd8]
call fcn.1800b3710
lea rcx, [rbp + 0xf]
cmp rax, rcx
je 0x1800afe5f
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rax
call fcn.180004e70
mov qword [rbp - 0x59], r13
lea r8, [rbp - 0x59]
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b03c3
cmp qword [rbp - 0x59], 0
je 0x1800b03c3
mov dword [rsp + 0x38], 2
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af9c0
mov rbx, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1380
nop
mov rdx, rax
lea rcx, [0x1804db2d0]
call fcn.1800049b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800aff17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aff12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aff12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.180203d10
nop
lea rdx, [0x1804db2d0]
lea rcx, [rsi + 0xd8]
call fcn.1800b3710
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800aff6d
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004e70
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, rbx
lea rcx, [rsi + 8]
call fcn.1800b3a70
lea r8, [rbp - 0x59]
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b0419
cmp qword [rbp - 0x59], 0
je 0x1800b0419
mov dword [rsp + 0x38], 6
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af9c0
mov r14, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1380
nop
mov rdx, rax
lea rcx, [0x1804db350]
call fcn.1800049b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b003b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0036
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0036
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203d10
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b008e
lea rcx, [rbp - 0x31]
call fcn.180004df0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b00d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b00cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b00cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804db350]
lea rcx, [rsi + 0xd8]
call fcn.1800b3710
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800b0119
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004e70
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b3a70
lea r8, [rbp - 0x59]
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b0419
cmp qword [rbp - 0x59], 0
je 0x1800b0419
mov dword [rsp + 0x38], 5
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1800af9c0
mov r14, rax
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203d10
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b01c5
lea rcx, [rbp - 0x31]
call fcn.180004df0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b0208
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1380
nop
mov rdx, rax
lea rcx, [0x1804db330]
call fcn.1800049b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b027d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0278
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180203d10
mov rbx, rax
lea rdx, [0x1804db330]
lea rcx, [rsi + 0xd8]
call fcn.1800b3710
mov rcx, rax
mov rdx, rbx
call fcn.1800049b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b0301
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b02fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b02fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b3a70
mov rcx, qword [rbp - 0x49]
call fcn.180203f20
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1800b034c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
nop
mov r9, rdi
mov r8, qword [rbp - 0x49]
mov rdx, rbx
mov rcx, rsi
call fcn.1800af5f0
nop
test rbx, rbx
je 0x1800b036e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800b03b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b03ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b03ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b03d3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800b048a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800b045c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0457
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0457
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b047d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, r13
jmp 0x1800b03d3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r13w
jmp 0x1800b04a1
mov rdi, r13
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1800b04b5
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800b04b5
mov rdi, r13
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800b04c4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180385c10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret