Function at 0x14002d414
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rsi, r9
mov r12, rdx
mov r13, rcx
mov r14, qword [r8 + 0x30]
test r14, r14
jne 0x14002d6ab
mov rax, r9
cmp qword [r9 + 0x18], 8
jb 0x14002d45e
mov rax, qword [r9]
xor r12d, r12d
mov qword [r9 + 0x10], r12
mov word [rax], r12w
mov r14, qword [r8 + 8]
lea ebx, [r12 + 1]
mov dword [rbp - 0x69], ebx
mov qword [rbp - 0x61], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov edx, 0x104
lea rcx, [rbp - 0x31]
call fcn.14000a438
nop
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x51], rax
mov rcx, qword [rbp - 0x29]
sub rcx, rax
sar rcx, 1
mov dword [rbp - 0x49], ecx
lea r9, [rbp - 0x69]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [r13]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x1000
test eax, eax
je 0x14002d659
lea r15d, [r12 + 7]
mov r9, r14
mov edx, 0x110a
mov r8d, 3
mov rcx, qword [r13]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
test rax, rax
je 0x14002d65c
lea r9, [rbp - 0x69]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [r13]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14002d5bb
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], r12
mov rdx, qword [rbp - 0x31]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14002d528
lea rcx, [rbp - 0x11]
call fcn.1400041a8
nop
cmp qword [rsi + 0x10], r12
je 0x14002d565
lea rcx, [rbp - 0x11]
call fcn.1400df0fc
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14002d558
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x11]
call fcn.140006c14
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.140004948
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14002d5ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x14002d5a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d9a7
call fcn.1401addcc
mov qword [rbp - 1], r12
mov qword [rbp + 7], r15
mov word [rbp - 0x11], r12w
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14002d604
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, rdi
jb 0x14002d5f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d9a1
call fcn.1401addcc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov dword [rbp - 0x69], ebx
mov qword [rbp - 0x61], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov edx, 0x104
lea rcx, [rbp - 0x31]
call fcn.14000a438
nop
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x51], rax
mov rcx, qword [rbp - 0x29]
sub rcx, rax
sar rcx, 1
mov dword [rbp - 0x49], ecx
lea r9, [rbp - 0x69]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [r13]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14002d4d1
mov bl, r12b
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14002d6a4
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rdi
jb 0x14002d693
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d9a1
call fcn.1401addcc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov al, bl
jmp 0x14002d97b
xor r13d, r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x21], r13
lea r15d, [r13 + 7]
mov qword [rbp - 0x19], r15
mov word [rbp - 0x31], r13w
lea rdx, [rbp - 0x31]
mov rcx, qword [r14 + 0x10]
call fcn.1400e29f8
test al, al
je 0x14002d80f
mov ecx, dword [0x14027b3e8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140230e68], ecx
jg 0x14002d9ad
lea rdi, [0x140230e48]
mov rcx, qword [0x140230e58]
test rcx, rcx
jne 0x14002d760
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rcx + 0x13]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call fcn.1400e29f8
mov rcx, qword [0x140256f70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
mov rcx, qword [0x140230e58]
cmp qword [0x140230e60], 8
cmovae rdi, qword [0x140230e48]
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov ebx, 1
cmp qword [rbp - 0x21], rcx
jb 0x14002d7f1
test rcx, rcx
je 0x14002d7a3
sub rdx, rdi
movzx eax, word [rdi + rdx]
cmp ax, word [rdi]
jne 0x14002d7f1
add rdi, 2
sub rcx, rbx
jne 0x14002d791
mov qword [rbp - 0x11], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], r13w
lea r8, [r14 + 8]
lea r9, [rbp - 0x11]
mov rdx, r14
mov rcx, r12
call fcn.14002d130
test al, al
je 0x14002d7e6
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.140004948
nop
lea rcx, [rbp - 0x11]
call fcn.140006b84
jmp 0x14002d7fe
lea rdx, [rbp - 0x31]
mov rcx, qword [r14 + 0x10]
call fcn.1400e29f8
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.140004948
jmp 0x14002d8ea
call fcn.1400cfc48
cmp eax, 0x601
jb 0x14002d92f
lea rcx, [0x1401dbc98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d846
lea rdx, str.SHCreateItemFromIDList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14002d84e
mov bl, r13b
jmp 0x14002d8ea
lea r8, [rsp + 0x38]
lea rdx, [0x1401dbc88]
mov rcx, qword [r14 + 0x10]
call qword [case.0x1400f0cf3.0]
test eax, eax
jne 0x14002d92f
lea r9, [rbp - 0x79]
lea r8, [0x1401dbc78]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14002e9cc
test eax, eax
jne 0x14002d92f
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
lea r9, [rbp - 0x71]
lea r8, [0x1401dbc88]
mov ebx, 1
mov edx, ebx
mov rax, qword [rax + 0x48]
call qword [case.0x1400f0cf3.0]
test eax, eax
jne 0x14002d92f
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x80058000
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
test eax, eax
jne 0x14002d92f
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140012f6c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14002d92b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
mov edi, 0x1000
cmp rdx, rdi
jb 0x14002d926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d9f9
call fcn.1401addcc
mov al, bl
jmp 0x14002d96e
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14002d96c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
mov edi, 0x1000
cmp rdx, rdi
jb 0x14002d967
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d99b
call fcn.1401addcc
xor al, al
mov word [rbp - 0x31], r13w
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x21], r13
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401adee0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401b4fa4
int3
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
lea rcx, [0x140230e68]
call fcn.1401ae638
cmp dword [0x140230e68], 0xffffffff
jne 0x14002d707
mov qword [0x140230e48], r13
mov qword [0x140230e58], r13
mov qword [0x140230e60], r15
lea rcx, [0x1401d75b0]
call fcn.1401ae164
nop
lea rcx, [0x140230e68]
call fcn.1401ae5d8
jmp 0x14002d707
call fcn.1401b4fa4
int3