Function at 0x1800afdd0
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 [0x1804cd010]
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 0x1800b05b2
cmp qword [rbp - 0x49], r13
je 0x1800b05b2
mov qword [rbp - 0x51], r13
lea rcx, [rbp - 0x51]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1800b059e
mov r9, qword [rbp - 0x51]
test r9, r9
je 0x1800b059e
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.1800afac0
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.1800b3b70
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1480
nop
mov rdx, rax
lea rcx, [0x1804de2e0]
call fcn.1800049e0
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.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804de2e0]
lea rcx, [rsi + 0xd8]
call fcn.1800b3810
lea rcx, [rbp + 0xf]
cmp rax, rcx
je 0x1800aff5f
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rax
call fcn.180004ea0
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 0x1800b04c3
cmp qword [rbp - 0x59], 0
je 0x1800b04c3
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.1800afac0
mov rbx, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1480
nop
mov rdx, rax
lea rcx, [0x1804de300]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b0017
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0012
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0012
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.1802042d0
nop
lea rdx, [0x1804de300]
lea rcx, [rsi + 0xd8]
call fcn.1800b3810
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800b006d
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004ea0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, rbx
lea rcx, [rsi + 8]
call fcn.1800b3b70
lea r8, [rbp - 0x59]
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b0519
cmp qword [rbp - 0x59], 0
je 0x1800b0519
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.1800afac0
mov r14, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1480
nop
mov rdx, rax
lea rcx, [0x1804de380]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b013b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.1802042d0
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b018e
lea rcx, [rbp - 0x31]
call fcn.180004e20
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 0x1800b01d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b01cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b01cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804de380]
lea rcx, [rsi + 0xd8]
call fcn.1800b3810
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800b0219
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180004ea0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b3b70
lea r8, [rbp - 0x59]
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b0519
cmp qword [rbp - 0x59], 0
je 0x1800b0519
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.1800afac0
mov r14, rax
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.1802042d0
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b02c5
lea rcx, [rbp - 0x31]
call fcn.180004e20
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 0x1800b0308
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0303
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b1480
nop
mov rdx, rax
lea rcx, [0x1804de360]
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b037d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0378
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0378
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.1802042d0
mov rbx, rax
lea rdx, [0x1804de360]
lea rcx, [rsi + 0xd8]
call fcn.1800b3810
mov rcx, rax
mov rdx, rbx
call fcn.1800049e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b0401
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b03fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b03fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
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.1800b3b70
mov rcx, qword [rbp - 0x49]
call fcn.1802044e0
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1800b044c
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.1800af6f0
nop
test rbx, rbx
je 0x1800b046e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800b04b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b04ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b04ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b04d3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800b058a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0585
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0585
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 0x1800b055c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b0557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b0557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b057d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, r13
jmp 0x1800b04d3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r13w
jmp 0x1800b05a1
mov rdi, r13
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1800b05b5
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800b05b5
mov rdi, r13
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800b05c4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180388400
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