Function at 0x14003ee50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, r8
mov r12, rdx
mov rsi, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x19], rax
mov eax, dword [rsi + 0x1e8]
xor r15d, r15d
cmp eax, 9
jne 0x14003ef04
mov rax, qword [0x14048abe8]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x64a
lea rdx, [rbp + 7]
call qword [rax + 0x20]
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000c244
nop
mov rdx, qword [rbp + 7]
jmp 0x14003ef66
cmp eax, 0xa
jne 0x14003ef81
mov rax, qword [0x14048abe8]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x64d
lea rdx, [rbp + 0xf]
call qword [rax + 0x20]
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000c244
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003ef81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 0x34
lea r8, [0x14034ee68]
mov rdx, qword [rbp - 0x19]
mov rcx, qword [0x14048abe8]
mov rcx, qword [rcx + 0x18]
call fcn.140243460
cmp eax, 6
jne 0x14003f1c0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x7f], rax
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r13d, eax
mov edi, r15d
test eax, eax
je 0x14003f1a1
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea ebx, [rax + 1]
test ebx, ebx
js 0x14003f196
mov r8, qword [rbp + 0x7f]
mov ecx, 1
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
sub eax, ebx
or eax, ecx
jge 0x14003f026
mov edx, ebx
lea rcx, [rbp + 0x7f]
call fcn.14000c998
mov r8, qword [rbp + 0x7f]
mov r9d, ebx
mov edx, edi
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rcx, qword [rbp + 0x7f]
movsxd rdx, dword [rcx - 0xc]
call fcn.1400beaac
test eax, eax
js 0x14003f18b
mov rcx, qword [rbp + 0x7f]
cmp eax, dword [rcx - 0xc]
jg 0x14003f18b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbp + 0x7f]
mov word [rax + rcx*2], r15w
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003f137
shr eax, 4
and al, 1
je 0x14003f137
mov eax, dword [rsi + 0x1e8]
cmp eax, 0xa
je 0x14003f0a8
cmp eax, 9
jne 0x14003f17e
lea rcx, [rbp + 0x7f]
call fcn.14003fe08
test eax, eax
je 0x14003f17e
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp - 0x11]
call fcn.14000cb18
nop
lea rdx, str..
lea rcx, [rbp - 0x11]
call fcn.14000f884
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x7f]
call fcn.14000c244
cmp dword [rsi + 0x1e8], 9
jne 0x14003f0e9
lea rcx, [rbp + 0x7f]
call fcn.14003fce8
test al, al
je 0x14003f131
lea rdx, [0x140330de8]
lea rcx, [rbp - 9]
call fcn.14000cb18
nop
lea r9, [rbp - 9]
mov r8d, 2
lea rdx, [rbp + 0x7f]
mov rcx, rsi
call fcn.14003d4a0
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f131
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
jmp 0x14003f163
lea rdx, [0x140330de8]
lea rcx, [rbp - 1]
call fcn.14000cb18
nop
lea r9, [rbp - 1]
mov r8d, 1
lea rdx, [rbp + 0x7f]
mov rcx, rsi
call fcn.14003d4a0
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f17e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
cmp edi, r13d
jb 0x14003efe4
jmp 0x14003f1a1
mov ecx, 0x80070057
call fcn.14000cbb8
int3
mov ecx, 0x80070057
call fcn.14000cbb8
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f1c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragFinish]
mov dword [r14], 1
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f1ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret