Function at 0x140006e44
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x11b0
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x11a0], rax
or qword [rsp + 0x70], 0xffffffffffffffff
xor eax, eax
mov edi, r9d
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x98], r8
mov rsi, rdx
mov rbp, rcx
mov bl, al
mov byte [rsp + 0x50], al
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
cmp r9d, eax
jne 0x140006ecb
mov rcx, qword [rcx]
lea r8, [rsp + 0x78]
lea edx, [rax + 0x11]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rbp]
lea r8, [rsp + 0x80]
mov edx, 0x12
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov rdx, qword [rbp]
mov qword [rsp + 0x68], rax
mov rax, qword [rsi]
lea r9, [rsp + 0x68]
mov r8d, 0x20
mov rcx, rsi
call qword [rax + 0x20]
xor edx, edx
cmp eax, edx
jne 0x140007205
mov rcx, qword [rsp + 0x68]
cmp rcx, rdx
je 0x140007205
mov qword [rsp + 0x58], rdx
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x58]
mov edx, 1
call qword [rax + 0x18]
test eax, eax
jne 0x1400071fa
mov rax, qword [rsi]
lea r9, [rsp + 0x64]
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
mov dword [rsp + 0x64], 0x10000000
call qword [rax + 0x48]
bt dword [rsp + 0x64], 0x1c
mov rdx, qword [rsp + 0x58]
jb 0x140006f64
mov rcx, qword [0x1401276f0]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400071cf
lea r9, [rsp + 0x8a0]
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], 0x480
call fcn.140026728
xor ebx, ebx
cmp al, bl
jne 0x140006f90
mov rdx, qword [rsp + 0x58]
jmp 0x140006f52
cmp edi, ebx
jne 0x140007081
mov r9, qword [rsp + 0x58]
or rcx, 0xffffffffffffffff
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x8a0]
mov dword [rsp + 0x30], 1
lea r8d, [rcx + 5]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x8a0]
mov rcx, rbp
call fcn.140006930
mov r10, qword [rsi]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, rsi
mov rbx, rax
call qword [r10 + 0x38]
test eax, eax
jne 0x140007000
lea rax, [rbx + 1]
mov qword [rbp + 0x10], rax
mov rax, qword [rsi]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x1400071cf
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, [0x1400cd3b8]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x90], rbx
call qword [rax + 0x28]
cmp eax, ebx
jne 0x1400071cf
mov rdx, qword [rsp + 0x90]
cmp rdx, rbx
je 0x1400071cf
mov r8, qword [rsp + 0x58]
lea r9d, [rbx + 1]
mov rcx, rbp
call fcn.140006e44
mov bl, al
mov byte [rsp + 0x50], al
jmp 0x1400071d3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.1400265f0
lea rdx, [rsp + 0xa0]
mov word [rsp + 0xa0], bx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [0x1401276f0]
mov rdx, rdi
mov r8, qword [rcx]
cmp eax, ebx
setne bl
call qword [r8 + 0x28]
xor edi, edi
cmp bl, dil
jne 0x1400070e3
mov rcx, qword [0x1401276f0]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400071cb
lea rcx, [rsp + 0xa0]
call fcn.1400528ac
cmp al, dil
je 0x14000717c
movzx eax, word [rsp + 0xa4]
cmp ax, di
je 0x140007116
cmp ax, 0x5c
jne 0x14000717c
cmp word [rsp + 0xa6], di
jne 0x14000717c
lea rcx, [rsp + 0xa0]
call fcn.14005254c
mov rbx, qword [rsp + 0x70]
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x8a0]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0xa0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call fcn.140006930
cmp rbx, 0xffffffffffffffff
je 0x140007170
inc rbx
mov qword [rsp + 0x70], rbx
mov edi, dword [rsp + 0x60]
mov bl, 1
mov byte [rsp + 0x50], bl
jmp 0x1400071d3
mov byte [rsp + 0x40], 1
or rdi, 0xffffffffffffffff
lea rax, [rsp + 0x8a0]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 6]
lea rdx, [rsp + 0xa0]
xor r9d, r9d
mov rcx, rbp
mov dword [rsp + 0x20], edi
call fcn.140006930
mov rbx, qword [rsp + 0x70]
cmp rbx, rdi
cmove rbx, rax
mov qword [rsp + 0x70], rbx
mov edi, dword [rsp + 0x60]
mov bl, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x58]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x18]
xor ecx, ecx
cmp eax, ecx
je 0x140006f25
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x80]
xor edi, edi
cmp rdx, rdi
je 0x14000722a
mov rcx, qword [0x1401276f0]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x78]
cmp rdx, rdi
je 0x140007241
mov rcx, qword [0x1401276f0]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, bl
mov rcx, qword [rsp + 0x11a0]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x11e8]
add rsp, 0x11b0
pop rdi
pop rsi
pop rbp
ret