Function at 0x14002d5e4
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 [0x140231eb8]
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 0x14002d87b
mov rax, r9
cmp qword [r9 + 0x18], 8
jb 0x14002d62e
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.14000a448
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 0x14002d829
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 0x14002d82c
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 0x14002d78b
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 0x14002d6f8
lea rcx, [rbp - 0x11]
call fcn.1400041b8
nop
cmp qword [rsi + 0x10], r12
je 0x14002d735
lea rcx, [rbp - 0x11]
call fcn.1400dfb2c
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14002d728
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x11]
call fcn.140006c24
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.140004958
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14002d77e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, rdi
jb 0x14002d779
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002db77
call fcn.1401af36c
mov qword [rbp - 1], r12
mov qword [rbp + 7], r15
mov word [rbp - 0x11], r12w
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14002d7d4
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, rdi
jb 0x14002d7c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002db71
call fcn.1401af36c
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.14000a448
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 0x14002d6a1
mov bl, r12b
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14002d874
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rdi
jb 0x14002d863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002db71
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov al, bl
jmp 0x14002db4b
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.1400e34b4
test al, al
je 0x14002d9df
mov ecx, dword [0x14027f398]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140232dc8], ecx
jg 0x14002db7d
lea rdi, [0x140232da8]
mov rcx, qword [0x140232db8]
test rcx, rcx
jne 0x14002d930
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.1400e34b4
mov rcx, qword [0x14025af70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f17b3.0]
mov rcx, qword [0x140232db8]
cmp qword [0x140232dc0], 8
cmovae rdi, qword [0x140232da8]
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rdx, qword [rbp - 0x31]
mov ebx, 1
cmp qword [rbp - 0x21], rcx
jb 0x14002d9c1
test rcx, rcx
je 0x14002d973
sub rdx, rdi
movzx eax, word [rdi + rdx]
cmp ax, word [rdi]
jne 0x14002d9c1
add rdi, 2
sub rcx, rbx
jne 0x14002d961
mov qword [rbp - 0x11], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1401dc090]
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.14002d300
test al, al
je 0x14002d9b6
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.140004958
nop
lea rcx, [rbp - 0x11]
call fcn.140006b94
jmp 0x14002d9ce
lea rdx, [rbp - 0x31]
mov rcx, qword [r14 + 0x10]
call fcn.1400e34b4
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.140004958
jmp 0x14002daba
call fcn.1400d0620
cmp eax, 0x601
jb 0x14002daff
lea rcx, [0x1401ddca8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002da16
lea rdx, str.SHCreateItemFromIDList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14002da1e
mov bl, r13b
jmp 0x14002daba
lea r8, [rsp + 0x38]
lea rdx, [0x1401ddc98]
mov rcx, qword [r14 + 0x10]
call qword [case.0x1400f17b3.0]
test eax, eax
jne 0x14002daff
lea r9, [rbp - 0x79]
lea r8, [0x1401ddc88]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14002eb9c
test eax, eax
jne 0x14002daff
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
lea r9, [rbp - 0x71]
lea r8, [0x1401ddc98]
mov ebx, 1
mov edx, ebx
mov rax, qword [rax + 0x48]
call qword [case.0x1400f17b3.0]
test eax, eax
jne 0x14002daff
mov rcx, qword [rbp - 0x71]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x80058000
mov rax, qword [rax + 0x28]
call qword [case.0x1400f17b3.0]
test eax, eax
jne 0x14002daff
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140012fc0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14002dafb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
mov edi, 0x1000
cmp rdx, rdi
jb 0x14002daf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002dbc9
call fcn.1401af36c
mov al, bl
jmp 0x14002db3e
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14002db3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
mov edi, 0x1000
cmp rdx, rdi
jb 0x14002db37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002db6b
call fcn.1401af36c
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.1401af480
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401b6544
int3
call fcn.1401b6544
nop
call fcn.1401b6544
nop
lea rcx, [0x140232dc8]
call fcn.1401afbd8
cmp dword [0x140232dc8], 0xffffffff
jne 0x14002d8d7
mov qword [0x140232da8], r13
mov qword [0x140232db8], r13
mov qword [0x140232dc0], r15
lea rcx, [0x1401d8b40]
call fcn.1401af704
nop
lea rcx, [0x140232dc8]
call fcn.1401afb78
jmp 0x14002d8d7
call fcn.1401b6544
int3