Function at 0x140075cac
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x21b0
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x21a0], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor ecx, ecx
or rbp, 0xffffffffffffffff
mov dword [rsp + 0x88], r9d
mov qword [rsp + 0x98], r8
mov rsi, rdx
mov dil, cl
mov byte [rsp + 0x50], cl
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rcx
cmp r9d, ecx
jne 0x140075d4a
mov rcx, qword [rbx]
lea rax, [rsp + 0x78]
lea edx, [rbp + 0x12]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rcx, qword [rbx]
lea r11, [rsp + 0x80]
lea edx, [rbp + 0x13]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
xor ecx, ecx
mov rax, qword [rsi]
mov rdx, qword [rbx]
mov qword [rsp + 0x68], rcx
lea r9, [rsp + 0x68]
mov r8d, 0x20
mov rcx, rsi
call qword [rax + 0x20]
xor edx, edx
cmp eax, edx
jne 0x140076086
mov rcx, qword [rsp + 0x68]
cmp rcx, rdx
je 0x140076086
mov qword [rsp + 0x58], rdx
mov rax, qword [rcx]
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x58]
mov edx, 1
call qword [rax + 0x18]
test eax, eax
jne 0x14007607b
mov rax, qword [rsi]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
mov dword [rsp + 0x60], 0x10000000
call qword [rax + 0x48]
bt dword [rsp + 0x60], 0x1c
mov rdx, qword [rsp + 0x58]
jb 0x140075de2
mov rcx, qword [0x14018c440]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14007604f
lea r9, [rsp + 0x10a0]
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], 0x880
call fcn.140083c9c
xor ecx, ecx
cmp al, cl
jne 0x140075e0e
mov rdx, qword [rsp + 0x58]
jmp 0x140075dd0
cmp dword [rsp + 0x88], ecx
jne 0x140075f05
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, rbx
call fcn.1400757a4
mov r10, qword [rsi]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x80]
xor edx, edx
mov rcx, rsi
mov rdi, rax
call qword [r10 + 0x38]
test eax, eax
jne 0x140075e83
lea rax, [rdi + 1]
mov qword [rbx + 8], 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 edi, edi
cmp eax, edi
jne 0x14007604f
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, [0x140117f48]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x90], rdi
call qword [rax + 0x28]
cmp eax, edi
jne 0x14007604f
mov rdx, qword [rsp + 0x90]
cmp rdx, rdi
je 0x14007604f
mov r8, qword [rsp + 0x58]
lea r9d, [rdi + 1]
mov rcx, rbx
call fcn.140075cac
mov dil, al
mov byte [rsp + 0x50], al
jmp 0x140076054
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.140083b64
lea rdx, [rsp + 0xa0]
xor ebx, ebx
mov rcx, rax
mov rdi, rax
mov word [rsp + 0xa0], bx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [0x14018c440]
mov rdx, rdi
mov r8, qword [rcx]
cmp eax, ebx
setne bl
call qword [r8 + 0x28]
xor edi, edi
cmp bl, dil
jne 0x140075f6e
mov rcx, qword [0x14018c440]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x70]
jmp 0x14007604f
lea rcx, [rsp + 0xa0]
call fcn.14005047c
cmp al, dil
je 0x140076005
movzx eax, word [rsp + 0xa4]
cmp ax, di
je 0x140075fa1
cmp ax, 0x5c
jne 0x140076005
cmp word [rsp + 0xa6], di
jne 0x140076005
lea rcx, [rsp + 0xa0]
mov edx, 0x800
call fcn.1400504dc
mov rbx, qword [rsp + 0x70]
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x10a0]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0xa0]
mov rcx, rbx
xor r9d, r9d
xor r8d, r8d
call fcn.1400757a4
cmp rbp, 0xffffffffffffffff
je 0x140075ffb
inc rbp
mov dil, 1
mov byte [rsp + 0x50], dil
jmp 0x140076054
mov rbx, qword [rsp + 0x70]
mov byte [rsp + 0x40], 1
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x10a0]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
lea r8d, [rdi + 6]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
xor r9d, r9d
mov dword [rsp + 0x20], edi
call fcn.1400757a4
cmp rbp, rdi
cmove rbp, rax
mov dil, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x8c]
lea r8, [rsp + 0x58]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x18]
xor ecx, ecx
cmp eax, ecx
je 0x140075da3
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 ebx, ebx
cmp rdx, rbx
je 0x1400760ab
mov rcx, qword [0x14018c440]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
je 0x1400760c2
mov rcx, qword [0x14018c440]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, dil
mov rcx, qword [rsp + 0x21a0]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x21e8]
add rsp, 0x21b0
pop rdi
pop rsi
pop rbp
ret