Function at 0x140094510
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x548]
sub rsp, 0x630
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
test rdx, rdx
je 0x140094a48
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r14w
jne 0x140094564
test rax, rax
je 0x140094a48
mov qword [rsp + 0x40], r14
lea rdx, str.enum_desktop
mov rcx, rbx
call fcn.1402e4f5c
xor r9d, r9d
test eax, eax
lea rax, [rsp + 0x40]
jne 0x1400945d7
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r14
mov byte [rbp - 0x68], 1
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp byte [rbp - 0x68], 0
je 0x140094617
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rcx]
mov rax, qword [rbp - 0x70]
mov qword [rcx], rax
test rdx, rdx
je 0x140094617
mov rcx, rdx
jmp 0x140094610
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x50], 1
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHParseDisplayName]
cmp byte [rbp - 0x50], 0
je 0x140094617
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x58]
mov qword [rdx], rax
test rcx, rcx
je 0x140094617
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov qword [rsp + 0x58], r14
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call fcn.1400912d0
test eax, eax
jns 0x140094636
xor bl, bl
jmp 0x140094a1d
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x50]
xor edx, edx
mov r8d, 0x100e0
call qword [rax + 0x20]
test eax, eax
js 0x140094a0a
cmp qword [rsp + 0x50], 0
je 0x140094a0a
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x38], r14
nop dword [rax]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x38], 1
or dword [rsp + 0x30], 1
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x40]
mov edx, 1
call qword [rax + ILCombine]
test eax, eax
jne 0x1400946be
cmp dword [rsp + 0x48], 1
jne 0x1400946be
mov bl, 1
jmp 0x1400946c0
xor bl, bl
and dword [rsp + 0x30], 0xfffffffe
cmp byte [rbp - 0x38], 0
je 0x1400946e4
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x40]
mov qword [rdx], rax
test rcx, rcx
je 0x1400946e4
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
je 0x1400949f1
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rbp - 0x10]
mov r8d, 0x8001
mov rdx, qword [rsp + 0x38]
call qword [rax + reloc.SHELL32.dll_SHDoDragDrop]
test eax, eax
js 0x140094680
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x100]
call fcn.1402dd440
mov r9d, 0x104
lea r8, [rbp + 0x100]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
lea rcx, [rbp + 0x100]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140094750
test rax, rax
je 0x14009488d
mov r8d, 2
lea rdx, [0x1403fe454]
lea rcx, [rbp + 0x100]
call fcn.1402e665c
test eax, eax
jne 0x14009488d
lea rdx, [0x14048e4d0]
lea ecx, [rax + 0x50]
call fcn.1401af050
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1400947f4
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rax + 0x30]
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400947d1
lea rdx, [rbp + 0x100]
call fcn.14007ece0
xor eax, eax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
jmp 0x1400947f7
mov rbx, r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140095390
nop
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x140094839
mov rax, qword [rsp + 0x60]
mov qword [rdx], rax
mov rax, qword [rsp + 0x68]
mov qword [rdx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
add qword [rsi + 8], 0x10
jmp 0x140094847
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.140095010
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140094888
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140094888
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140094888
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140094680
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ILCombine]
mov rbx, rax
mov qword [rbp - 0x80], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x310]
call fcn.1402dd440
lea rdx, [rbp + 0x310]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rdx, [0x14048e4d0]
mov ecx, 0x50
call fcn.1401af050
mov rdi, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140094943
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rax + 0x30]
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
lea rax, [rbp + 0x310]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140094920
lea rdx, [rbp + 0x310]
call fcn.14007ece0
xor eax, eax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
jmp 0x140094946
mov rdi, r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140095390
nop
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x140094988
mov rax, qword [rsp + 0x70]
mov qword [rdx], rax
mov rax, qword [rsp + 0x78]
mov qword [rdx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
add qword [rsi + 8], 0x10
jmp 0x140094996
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.140095010
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400949da
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400949d6
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400949d6
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140094680
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140094680
mov bl, 1
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r14
test rcx, rcx
je 0x140094a0c
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140094a0c
xor bl, bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140094a1d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140094a2e
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r14
test rcx, rcx
je 0x140094a43
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movzx eax, bl
jmp 0x140094a4a
xor al, al
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret