Function at 0x140007450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x21b0
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x21a0], 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 0x1400074d7
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 0x140007816
mov rcx, qword [rsp + 0x68]
cmp rcx, rdx
je 0x140007816
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 0x14000780b
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 0x140007570
mov rcx, qword [0x140188d30]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400077e0
lea r9, [rsp + 0x10a0]
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], 0x880
call fcn.1400310e4
xor ebx, ebx
cmp al, bl
jne 0x14000759c
mov rdx, qword [rsp + 0x58]
jmp 0x14000755e
cmp edi, ebx
jne 0x14000768d
mov r9, qword [rsp + 0x58]
or rcx, 0xffffffffffffffff
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x10a0]
mov dword [rsp + 0x30], 1
lea r8d, [rcx + 5]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x10a0]
mov rcx, rbp
call fcn.140006f2c
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 0x14000760c
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 0x1400077e0
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, [0x1400ec038]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x90], rbx
call qword [rax + 0x28]
cmp eax, ebx
jne 0x1400077e0
mov rdx, qword [rsp + 0x90]
cmp rdx, rbx
je 0x1400077e0
mov r8, qword [rsp + 0x58]
lea r9d, [rbx + 1]
mov rcx, rbp
call fcn.140007450
mov bl, al
mov byte [rsp + 0x50], al
jmp 0x1400077e4
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.140030fac
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 [0x140188d30]
mov rdx, rdi
mov r8, qword [rcx]
cmp eax, ebx
setne bl
call qword [r8 + 0x28]
xor edi, edi
cmp bl, dil
jne 0x1400076ef
mov rcx, qword [0x140188d30]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400077dc
lea rcx, [rsp + 0xa0]
call fcn.1400614f4
cmp al, dil
je 0x14000778d
movzx eax, word [rsp + 0xa4]
cmp ax, di
je 0x140007722
cmp ax, 0x5c
jne 0x14000778d
cmp word [rsp + 0xa6], di
jne 0x14000778d
lea rcx, [rsp + 0xa0]
mov edx, 0x800
call fcn.14006119c
mov rbx, qword [rsp + 0x70]
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x10a0]
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.140006f2c
cmp rbx, 0xffffffffffffffff
je 0x140007781
inc rbx
mov qword [rsp + 0x70], rbx
mov edi, dword [rsp + 0x60]
mov bl, 1
mov byte [rsp + 0x50], bl
jmp 0x1400077e4
mov byte [rsp + 0x40], 1
or rdi, 0xffffffffffffffff
lea rax, [rsp + 0x10a0]
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.140006f2c
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 0x140007531
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 0x14000783b
mov rcx, qword [0x140188d30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x78]
cmp rdx, rdi
je 0x140007852
mov rcx, qword [0x140188d30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, bl
mov rcx, qword [rsp + 0x21a0]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x21e8]
add rsp, 0x21b0
pop rdi
pop rsi
pop rbp
ret