Function at 0x14010ce80
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x368]
sub rsp, 0x460
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x78]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x60], 1
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x11]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp byte [rbp - 0x60], sil
je 0x14010cf0f
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x68]
mov qword [rdx], rax
test rcx, rcx
je 0x14010cf0f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jne 0x14010cf20
xor bl, bl
jmp 0x14010d1ba
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
call fcn.1400912d0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x14010cf40
xor bl, bl
jmp 0x14010d1a9
mov qword [rsp + 0x58], rsi
mov rax, qword [rcx]
mov qword [rsp + 0x58], rsi
lea r9, [rsp + 0x58]
xor edx, edx
lea r8d, [rdx + 0x20]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
test eax, eax
js 0x14010d196
test rcx, rcx
je 0x14010d196
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x60], 1
nop
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x48], 1
or dword [rsp + 0x50], 1
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x50]
mov edx, 1
call qword [rax + ILCombine]
test eax, eax
jne 0x14010cfb9
cmp dword [rsp + 0x60], 1
jne 0x14010cfb9
mov bl, 1
jmp 0x14010cfbb
xor bl, bl
and dword [rsp + 0x50], 0xfffffffe
cmp byte [rbp - 0x48], 0
je 0x14010cfdf
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rdx]
mov rax, qword [rbp - 0x50]
mov qword [rdx], rax
test rcx, rcx
je 0x14010cfdf
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
je 0x14010d178
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rbp + 0x20]
call fcn.1402dd440
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r9, [rbp + 0x20]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x68]
call qword [rax + reloc.SHELL32.dll_SHDoDragDrop]
test eax, eax
js 0x14010d060
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x140]
call fcn.1402dd440
mov r9d, 0x104
lea r8, [rbp + 0x140]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x20]
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
test eax, eax
js 0x14010d060
lea rcx, [rbp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14010d06a
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
jmp 0x14010cf80
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14010d350
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14010d130
xor ecx, ecx
mov qword [rbp + 0x130], rcx
mov qword [rbp + 0x138], rcx
mov qword [rbp + 0x18], rsi
mov ebx, dword [rax + 0x88]
lea rcx, [rbp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x140]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x140]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x130]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rax
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14010d4d0
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14010d130
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14010d130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010d130
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14010d16e
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010d16e
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14010d16e
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
jmp 0x14010cf80
mov bl, 1
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
test rcx, rcx
je 0x14010d18f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x58]
jmp 0x14010d198
xor bl, bl
test rcx, rcx
je 0x14010d1a4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14010d1b5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], rsi
test rcx, rcx
je 0x14010d1ca
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movzx eax, bl
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1401aed20
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret