Function at 0x1800b2690
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 [0x1804e0010]
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 0x1800b2e72
cmp qword [rbp - 0x49], r13
je 0x1800b2e72
mov qword [rbp - 0x51], r13
lea rcx, [rbp - 0x51]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x1800b2e5e
mov r9, qword [rbp - 0x51]
test r9, r9
je 0x1800b2e5e
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.1800b2380
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.1800b6430
mov r8, rdi
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b3d40
nop
mov rdx, rax
lea rcx, [0x1804f1bf0]
call fcn.180005810
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b27d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b27d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b27d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804f1bf0]
lea rcx, [rsi + 0xd8]
call fcn.1800b60d0
lea rcx, [rbp + 0xf]
cmp rax, rcx
je 0x1800b281f
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rax
call fcn.180005cd0
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 0x1800b2d83
cmp qword [rbp - 0x59], 0
je 0x1800b2d83
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.1800b2380
mov rbx, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b3d40
nop
mov rdx, rax
lea rcx, [0x1804f1c10]
call fcn.180005810
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b28d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b28d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b28d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.180205570
nop
lea rdx, [0x1804f1c10]
lea rcx, [rsi + 0xd8]
call fcn.1800b60d0
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800b292d
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180005cd0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, rbx
lea rcx, [rsi + 8]
call fcn.1800b6430
lea r8, [rbp - 0x59]
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b2dd9
cmp qword [rbp - 0x59], 0
je 0x1800b2dd9
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.1800b2380
mov r14, rax
mov r8, rax
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b3d40
nop
mov rdx, rax
lea rcx, [0x1804f1c90]
call fcn.180005810
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b29fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b29f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b29f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180205570
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b2a4e
lea rcx, [rbp - 0x31]
call fcn.180005c50
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 0x1800b2a91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2a8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
lea rdx, [0x1804f1c90]
lea rcx, [rsi + 0xd8]
call fcn.1800b60d0
lea rcx, [rbp - 0x31]
cmp rax, rcx
je 0x1800b2ad9
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
mov rcx, rax
call fcn.180005cd0
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
mov rdx, r14
lea rcx, [rsi + 8]
call fcn.1800b6430
lea r8, [rbp - 0x59]
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800b2dd9
cmp qword [rbp - 0x59], 0
je 0x1800b2dd9
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.1800b2380
mov r14, rax
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180205570
mov rbx, rax
lea rax, [rbp - 0x31]
cmp rax, rbx
je 0x1800b2b85
lea rcx, [rbp - 0x31]
call fcn.180005c50
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 0x1800b2bc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2bc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2bc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov r8, r14
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.1800b3d40
nop
mov rdx, rax
lea rcx, [0x1804f1c70]
call fcn.180005810
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b2c3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2c38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2c38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.180205570
mov rbx, rax
lea rdx, [0x1804f1c70]
lea rcx, [rsi + 0xd8]
call fcn.1800b60d0
mov rcx, rax
mov rdx, rbx
call fcn.180005810
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b2cc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2cbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2cbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
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.1800b6430
mov rcx, qword [rbp - 0x49]
call fcn.180205780
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1800b2d0c
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.1800b1fb0
nop
test rbx, rbx
je 0x1800b2d2e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x1800b2d71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2d6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2d6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b2d93
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1800b2e4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2e45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2e45
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 0x1800b2e1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b2e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b2e17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r13w
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1800b2e3d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, r13
jmp 0x1800b2d93
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r13w
jmp 0x1800b2e61
mov rdi, r13
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1800b2e75
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1800b2e75
mov rdi, r13
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800b2e84
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180393f50
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