Function at 0x1400a883c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov rax, qword [0x140477ad0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r13d, r13d
cmp qword [0x14047aa68], r13
jne 0x1400a88b2
lea rsi, [0x14047aca8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x38], rsi
cmp qword [0x14047aa68], r13
je 0x1400a88e3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140123570
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ebx, DispGetParam
mov ecx, ebx
call fcn.140123b7c
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rax
call fcn.14011d648
mov r14, rax
mov qword [rsp + 0x40], rax
mov ecx, ebx
call fcn.140123b7c
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rax
call fcn.14011d648
mov r15, rax
mov qword [rsp + 0x48], rax
call fcn.14010ac84
lea rcx, [rbp + 0x70]
call fcn.14011b8f4
nop
mov rax, qword [0x14047ad70]
mov qword [rsp + 0x30], rax
mov rdi, qword [0x14047ad68]
cmp rdi, rax
je 0x1400a8aa8
add rdi, 0x48
lea r12, [rdi - 8]
movzx ecx, byte [r12]
sub ecx, 4
je 0x1400a896a
sub ecx, 2
jne 0x1400a8b02
mov qword [rbp + 0x20], r13
mov esi, 7
mov qword [rbp + 0x28], rsi
mov word [rbp + 0x10], r13w
mov word [rsp + 0x28], r13w
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
call fcn.140101f94
mov rax, qword [rsp + 0x50]
movups xmm0, xmmword [rax + 0x14]
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rsp + 0x20], r13
mov r8, qword [0x14048f4d0]
test r8, r8
jne 0x1400a8d90
mov r8, r13
lea r9, [rsp + 0x20]
xor edx, edx
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
jns 0x1400a8c67
cmp qword [rbp + 0x80], r13
jbe 0x1400a8a3e
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400c04e4
mov rbx, rax
lea rdx, [rdi - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140079070
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140079070
nop
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.1400f12e0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
nop
cmp rsi, 8
setae al
test al, al
je 0x1400a8a5a
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x10]
call fcn.14007ebd0
lea r8, [rdi - 0x48]
mov rdx, r12
lea rcx, [0x14049c808]
call fcn.14010c818
mov r9, qword [0x14049c808]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x60]
lea rcx, [0x14049c800]
call fcn.14010c8c8
add rdi, 0x88
lea rax, [rdi - 0x48]
cmp rax, qword [rsp + 0x30]
jne 0x1400a8953
lea rsi, [0x14047aca8]
mov rdx, qword [0x14047aa68]
mov qword [0x14047aa68], r14
test rdx, rdx
je 0x1400a8ac0
call fcn.140243b30
mov rdx, qword [0x14047abe8]
mov qword [0x14047abe8], r15
test rdx, rdx
je 0x1400a8ad9
call fcn.140243b30
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
setae al
test al, al
je 0x1400a8afd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
call fcn.14007ebd0
nop
jmp 0x1400a88a3
cmp ecx, 1
jne 0x1400a8cf6
lea rdx, [0x140361620]
lea rcx, [rbp + 0x10]
call fcn.1400aeef0
nop
mov r13, qword [rdi - 0x38]
lea rdx, [rdi - 0x48]
lea rcx, [rbp - 0x10]
call fcn.140079070
nop
lea rdx, [0x140361618]
lea rcx, [rbp - 0x10]
call fcn.14006d510
mov esi, 0x61
xor r12d, r12d
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
setae al
test al, al
cmovne rcx, qword [rbp + 0x10]
mov word [rcx], si
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
setae al
test al, al
cmovne rcx, qword [rbp - 0x10]
mov word [rcx + r13*2], si
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400c04e4
mov rbx, rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140079070
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140079070
nop
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1400f12e0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r12w
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400f4610
test eax, eax
jns 0x1400a8d3d
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
setae al
test al, al
je 0x1400a8c12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
call fcn.14007ebd0
inc si
cmp si, 0x7a
jbe 0x1400a8b46
mov rdx, qword [rbp + 8]
cmp rdx, 8
setae al
xor r13d, r13d
test al, al
lea r12, [rdi - 8]
je 0x1400a8c47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
call fcn.14007ebd0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
setae al
test al, al
je 0x1400a8a5a
lea rdx, [rdx*2 + 2]
jmp 0x1400a8a51
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x10]
call fcn.14007db10
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, r13d
mov rsi, qword [rbp + 0x28]
test eax, eax
js 0x1400a89dc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400c04e4
mov rbx, rax
lea rdx, [rdi - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140079070
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140079070
nop
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1400f12e0
nop
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
mov rsi, qword [rbp + 0x28]
jmp 0x1400a89dc
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400c04e4
mov rbx, rax
lea r8, [rdi - 0x28]
lea rdx, [rdi - 0x48]
lea rcx, [rbp + 0x10]
call fcn.14010607c
nop
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.1400f12e0
nop
lea rcx, [rbp + 0x10]
call fcn.1400bea40
jmp 0x1400a8a5a
cmp qword [rbp + 0x60], r12
jbe 0x1400a8bf2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400c04e4
mov rbx, rax
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.14010607c
nop
mov r8, rbx
mov rdx, rax
mov rcx, r15
call fcn.1400f12e0
nop
lea rcx, [rbp - 0x50]
call fcn.1400bea40
jmp 0x1400a8bf2
mov r8, qword [r8]
jmp 0x1400a89ba