Function at 0x140075c40
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 0x140075cde
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 0x14007601a
mov rcx, qword [rsp + 0x68]
cmp rcx, rdx
je 0x14007601a
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 0x14007600f
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 0x140075d76
mov rcx, qword [0x14018c420]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x140075fe3
lea r9, [rsp + 0x10a0]
mov r8d, 1
mov rcx, rsi
mov qword [rsp + 0x20], 0x880
call fcn.140083c48
xor ecx, ecx
cmp al, cl
jne 0x140075da2
mov rdx, qword [rsp + 0x58]
jmp 0x140075d64
cmp dword [rsp + 0x88], ecx
jne 0x140075e99
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.14007571c
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 0x140075e17
lea rax, [rdi + 1]
mov qword [rbx + 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 edi, edi
cmp eax, edi
jne 0x140075fe3
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, [0x140117f58]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x90], rdi
call qword [rax + 0x28]
cmp eax, edi
jne 0x140075fe3
mov rdx, qword [rsp + 0x90]
cmp rdx, rdi
je 0x140075fe3
mov r8, qword [rsp + 0x58]
lea r9d, [rdi + 1]
mov rcx, rbx
call fcn.140075c40
mov dil, al
mov byte [rsp + 0x50], al
jmp 0x140075fe8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
call fcn.140083b10
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 [0x14018c420]
mov rdx, rdi
mov r8, qword [rcx]
cmp eax, ebx
setne bl
call qword [r8 + 0x28]
xor edi, edi
cmp bl, dil
jne 0x140075f02
mov rcx, qword [0x14018c420]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x70]
jmp 0x140075fe3
lea rcx, [rsp + 0xa0]
call fcn.140050474
cmp al, dil
je 0x140075f99
movzx eax, word [rsp + 0xa4]
cmp ax, di
je 0x140075f35
cmp ax, 0x5c
jne 0x140075f99
cmp word [rsp + 0xa6], di
jne 0x140075f99
lea rcx, [rsp + 0xa0]
mov edx, 0x800
call fcn.1400504d4
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.14007571c
cmp rbp, 0xffffffffffffffff
je 0x140075f8f
inc rbp
mov dil, 1
mov byte [rsp + 0x50], dil
jmp 0x140075fe8
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.14007571c
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 0x140075d37
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 0x14007603f
mov rcx, qword [0x14018c420]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rsp + 0x78]
cmp rdx, rbx
je 0x140076056
mov rcx, qword [0x14018c420]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, dil
mov rcx, qword [rsp + 0x21a0]
xor rcx, rsp
call fcn.1400e9d00
mov rbx, qword [rsp + 0x21e8]
add rsp, 0x21b0
pop rdi
pop rsi
pop rbp
ret