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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x670], rbx
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x78], rdx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x54], r13d
lea ecx, [r13 + 0x78]
call fcn.14009dbb8
mov qword [rsp + 0x68], rax
mov rcx, rax
call fcn.140039030
mov r12, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14006404e
mov rax, qword [rax]
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
mov qword [rsp + 0x60], rax
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryPoint]
xor cl, cl
mov byte [rsp + 0x50], cl
mov rsi, r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], rbx
test ebx, ebx
je 0x1400645ba
nop dword [rax + rax]
xor r13b, r13b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x310]
call fcn.1400a1560
mov r9d, 0x104
lea r8, [rbp + 0x310]
mov edx, esi
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rcx, [rbp + 0x310]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400640ed
test al, 0x10
je 0x1400640ed
mov r13b, 1
mov byte [rsp + 0x50], r13b
mov qword [rbp + 0xb8], 7
xor r14d, r14d
mov qword [rbp + 0xb0], r14
mov word [rbp + 0xa0], r14w
cmp word [rbp + 0x310], r14w
jne 0x140064119
mov r8d, r14d
jmp 0x14006412e
lea rax, [rbp + 0x310]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140064124
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0xa0]
call fcn.140008a20
nop
mov edi, r14d
test r13b, r13b
setne dil
mov rbx, r14
test r13b, r13b
jne 0x140064181
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x310]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140064181
mov ebx, dword [rbp + 0xdc]
shl rbx, 0x20
mov eax, dword [rbp + 0xe0]
add rbx, rax
mov ecx, 0x90
call fcn.14009dbb8
mov rsi, rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
mov r8d, 1
lea rdx, [0x1400ee130]
lea rcx, [rbp - 0x40]
call fcn.140008a20
nop
or r15d, 1
mov dword [rsp + 0x54], r15d
mov r14d, r15d
mov qword [rbp - 0x48], 7
xor eax, eax
mov qword [rbp - 0x50], rax
mov word [rbp - 0x60], ax
cmp word [rbp + 0x310], ax
jne 0x1400641e6
mov r8d, eax
jmp 0x1400641fc
lea rax, [rbp + 0x310]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400641f1
lea rdx, [rbp + 0x310]
lea rcx, [rbp - 0x60]
call fcn.140008a20
nop
or r15d, 2
mov dword [rsp + 0x54], r15d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.140044f70
nop
mov r15d, r14d
or r15d, 6
mov dword [rsp + 0x54], r15d
cmp qword [rax + 0x18], 8
jb 0x14006423e
mov rax, qword [rax]
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x310]
mov r8, rax
lea edx, [rdi + 2]
mov rcx, rsi
call fcn.140038cd0
mov rdx, rax
test rax, rax
jne 0x14006426b
xor esi, esi
mov edi, esi
mov qword [rsp + 0x70], rsi
jmp 0x140064298
mov rax, qword [rax + 0x10]
movsxd rcx, dword [rax + 8]
lea rdi, [rdx + 0x10]
add rdi, rcx
mov qword [rsp + 0x70], rdi
je 0x140064296
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor esi, esi
and r15d, 0xfffffffb
mov r8, qword [rbp + 0x58]
cmp r8, 8
jb 0x1400642b6
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.140008b70
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rsi
mov word [rbp + 0x40], si
and r15d, 0xfffffffd
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1400642e4
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140008b70
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x60], si
and r15d, 0xfffffffe
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140064312
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140008b70
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
mov rax, qword [r12 + 0x10]
movsxd rcx, dword [rax + 8]
add rcx, 0x10
add rcx, r12
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r8, qword [rax]
mov rdx, rdi
mov rcx, rax
call qword [r8 + 0x18]
test r13b, r13b
je 0x1400644f3
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], rsi
mov word [rbp + 0x80], si
mov r8d, 1
lea rdx, [0x1400ee130]
lea rcx, [rbp + 0x80]
call fcn.140008a20
nop
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
cmp word [rbp + 0x310], 0
jne 0x1400643a0
mov r8, rsi
jmp 0x1400643bb
lea rax, [rbp + 0x310]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400643b0
lea rdx, [rbp + 0x310]
lea rcx, [rbp]
call fcn.140008a20
nop
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
cmp word [rbp + 0x310], 0
jne 0x1400643eb
mov r8, rsi
jmp 0x14006440b
lea rax, [rbp + 0x310]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140064400
lea rdx, [rbp + 0x310]
lea rcx, [rbp - 0x20]
call fcn.140008a20
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x60]
call fcn.1400450b0
mov rbx, rax
mov rax, qword [r12 + 0x10]
movsxd rcx, dword [rax + 8]
add rcx, 0x10
add rcx, r12
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140063980
nop
mov r8, qword [rbp + 0x78]
cmp r8, 8
jb 0x14006446c
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.140008b70
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x60], si
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140064496
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140008b70
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400644c0
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140008b70
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
mov r8, qword [rbp + 0x98]
cmp r8, 8
jb 0x1400644f3
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.140008b70
lea rax, [0x1400eb414]
test r13b, r13b
lea rcx, str.directory
cmovne rax, rcx
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x310]
mov qword [rsp + 0x38], rax
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0x30], rsi
lea rax, str.recv___03d__file:_ls__format:_s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xb7
lea r9, str.MSWindowsClipboardDROPConverter::toIClipboard
lea r8, str...includes_sunloginincludeSynergyClipplatformclipMSWindowsClipboardDROPConverter.cpp
mov edx, 1
lea rcx, [0x1401399a0]
call fcn.14007a380
nop
test rdi, rdi
je 0x140064572
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov r8, qword [rbp + 0xb8]
cmp r8, 8
jb 0x140064595
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.140008b70
inc rsi
mov qword [rsp + 0x58], rsi
cmp rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
jb 0x1400640a0
mov rdi, qword [rsp + 0x78]
movzx ecx, byte [rsp + 0x50]
xor r13d, r13d
mov eax, r13d
test cl, cl
setne al
add eax, 2
mov dword [r12 + 0x20], eax
mov rax, qword [rbp - 0x80]
mov qword [r12 + 0x18], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [r12 + 0x10]
movsxd rcx, dword [rax + 8]
add rcx, 0x10
add rcx, r12
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400334a0
nop
mov r8, qword [rbp + 0x30]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r13
cmp qword [rdi + 0x18], 0x10
jb 0x140064629
mov rax, qword [rdi]
jmp 0x14006462c
mov rax, rdi
mov byte [rax], 0
add r8, r8
mov rcx, rdi
call fcn.140009260
nop
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x140064655
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140008b70
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r13
mov word [rbp + 0x20], r13w
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.14009d860
mov rbx, qword [rsp + 0x670]
add rsp, 0x630
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret