Function at 0x1800af1a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
cmp qword [rcx + 0x68], rbp
jne 0x1800af1e7
lea eax, [rbp + 1]
jmp 0x1800af472
mov qword [rsp + 0x48], rbp
lea r8, [rsp + 0x48]
mov edx, 0x11
mov rcx, qword [rcx + 8]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x1800af45b
cmp qword [rsp + 0x48], 0
je 0x1800af45b
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x1800af2de
mov dword [rsp + 0x20], 0xa
mov edx, 0x10
mov ecx, edx
lea r9d, [rdx - 6]
lea r8d, [rdx + 0x11]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov qword [rbx + 0x78], rax
lea rdi, [0x1803b4e10]
lea rsi, [0x1803b4e34]
movzx edx, word [rdi]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x10
mov r9d, 0x10
lea r8d, [r9 - 0xf]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.USER32.dll_LoadImageW]
mov r8, rax
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
add rdi, 4
cmp rdi, rsi
jl 0x1800af250
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x1800af2de
lea rsi, [0x1803b4e38]
lea rdi, [rbx + 0x80]
mov r14d, 3
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800af2c2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov edx, dword [rsi]
mov rcx, qword [rbx + 0x70]
call fcn.18021abc0
mov qword [rdi], rax
add rdi, 8
add rsi, 4
sub r14, 1
jne 0x1800af2b0
xor r9d, r9d
mov edx, 0x111b
lea r8d, [r9 + 0x18]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0xfaf9f7
xor r8d, r8d
mov edx, 0x111d
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rbx + 0x78]
xor r8d, r8d
mov edx, 0x1109
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 1
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
mov rcx, qword [rbx + 0x68]
mov rax, qword [rcx]
mov r8d, 0x9d03
lea rdx, [rsp + 0x68]
call qword [rax + 0x20]
nop
mov ecx, 0x20
call fcn.180388424
mov rdi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], 1
mov byte [rax + 0x1c], 1
mov dword [rax + 0x18], 2
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, 0xffffffffffff0000
mov rdx, rdi
mov rcx, rbx
call fcn.1800afcf0
mov rdx, rax
movsxd rax, dword [rdi + 0x18]
mov qword [rbx + rax*8 + 0x100], rdx
mov rcx, rbx
call fcn.1800afdd0
mov qword [rbx + 0x108], rax
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.1800b15b0
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1800af443
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800af43e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800af43e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], bp
jmp 0x1800af460
mov ebp, 1
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800af470
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebp
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret