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

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x1500]
mov eax, 0x1600
call fcn.14006f190
sub rsp, rax
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov r12, rcx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r15d, eax
test eax, eax
jne 0x140030052
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rbp - 0x20]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, str.DragQueryFile:__s_r_n
call fcn.140020ee0
jmp 0x1400304e0
mov r9d, 0x3ff
mov qword [rsp + 0x1628], rbx
lea r8, [rbp + 0x4e0]
xor edx, edx
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
xor eax, eax
lea r8, [rbp + 0x4e0]
mov qword [rsp + 0x38], rax
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp + 0xe0]
mov dword [rsp + 0x28], 0x400
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400300fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x7a
jne 0x1400300d9
lea r8, [rbp + 0x4e0]
mov edx, 0x400
lea rcx, str.String_too_long:__.S_r_n
call fcn.140020ee0
neg ebx
jmp 0x140030100
mov r8d, 0x100
lea rdx, [rbp - 0x20]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b40]
call fcn.140020ee0
neg ebx
jmp 0x140030100
lea ebx, [rax - 1]
test ebx, ebx
jg 0x140030115
lea rcx, str.Error_with_dragged_file_r_n
call fcn.140020ee0
jmp 0x1400304d8
mov qword [rsp + 0x1630], rsi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x1638], rdi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x15f8], r13
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x15f0], r14
call fcn.14006eba0
mov rdx, qword [rsp + 0x48]
lea rdi, [0x1400d26f0]
mov rcx, rdi
mov r8d, 0x3ff
call fcn.1400498e0
mov r13d, eax
mov dword [rsp + 0x54], eax
call fcn.14002e620
xor ebx, ebx
xorps xmm0, xmm0
xor eax, eax
mov r14d, ebx
mov qword [rsp + 0x78], rax
mov esi, ebx
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x58], 1
movups xmmword [rsp + 0x68], xmm0
test r15d, r15d
je 0x140030401
mov r13d, eax
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400301e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rbp - 0x20]
mov ecx, eax
call fcn.140044d90
mov r8, rax
lea rdx, [rbp + 0x4e0]
lea rcx, str._S:__s_r_n
call fcn.140020ee0
jmp 0x1400302fc
test al, 0x10
je 0x14003021e
mov rcx, qword [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400301f4
test eax, eax
jle 0x14003021e
movsxd rcx, eax
mov rax, qword [rsp + 0x40]
cmp byte [rcx + rax - 1], 0x5c
je 0x14003021e
mov byte [rcx + rax], 0x5c
mov rax, qword [rsp + 0x40]
mov byte [rcx + rax + 1], 0
cmp dword [0x1400d2af4], 0
jle 0x1400302dc
nop dword [rax + rax]
mov rdx, qword [0x1400d3088]
mov r8d, 0x100
add rdx, 0x48
movsxd rdi, ebx
imul rcx, rdi, 0x148
add rdx, rcx
mov rcx, qword [rsp + 0x40]
call fcn.140075520
test eax, eax
je 0x140030268
inc ebx
cmp ebx, dword [0x1400d2af4]
jl 0x140030230
jmp 0x1400302dc
mov rcx, qword [0x1400c1298]
lea r9, [rsp + 0x58]
mov edx, 0x1053
mov qword [rsp + 0x68], rdi
mov r8, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x1400302e4
mov rcx, qword [0x1400c1298]
lea r9, [rbp - 0x80]
movsxd rdi, eax
mov edx, 0x102b
mov r8, rdi
mov dword [rbp - 0x70], 2
mov dword [rbp - 0x74], 2
call qword [sym.imp.USER32.dll_SendMessageW]
test r13d, r13d
jne 0x1400302dc
mov rcx, qword [0x1400c1298]
xor r9d, r9d
mov r8, rdi
mov edx, 0x1013
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13d, 1
cmp ebx, dword [0x1400d2af4]
jne 0x1400302fa
mov r8, qword [rsp + 0x48]
lea rcx, str.Cant_find___s__in_listing_of___s__r_n
mov rdx, qword [rsp + 0x40]
call fcn.140020ee0
xor ebx, ebx
inc esi
lea rdi, [0x1400d26f0]
cmp esi, r15d
jae 0x1400303fc
nop
mov r9d, 0x3ff
lea r8, [rbp + 0x4e0]
mov edx, esi
mov rcx, r12
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x30], rbx
lea r8, [rbp + 0x4e0]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400303a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140030389
lea r8, [rbp + 0x4e0]
mov edx, 0x400
lea rcx, str.String_too_long:__.S_r_n
call fcn.140020ee0
jmp 0x1400303a9
mov r8d, 0x100
lea rdx, [rbp - 0x20]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b40]
call fcn.140020ee0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xe0]
call fcn.14006eba0
mov rdx, qword [rsp + 0x48]
mov r8d, 0x400
mov rcx, rdi
call fcn.140075520
test eax, eax
je 0x1400301a0
test r14d, r14d
jne 0x1400303f1
lea rcx, str.Dragged_items_are_in_different_folders.__Only_one_folder_will_be_shown._r_n
call fcn.140020ee0
mov r14d, 1
inc esi
cmp esi, r15d
jb 0x140030310
mov r13d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x15f0]
mov rsi, qword [rsp + 0x1630]
test r13d, r13d
jle 0x140030442
lea eax, [r13 - 1]
movsxd rcx, eax
cmp byte [rcx + rdi], 0x5c
je 0x140030442
movsxd rax, r13d
mov byte [rax + rdi], 0x5c
lea eax, [r13 + 1]
movsxd rcx, eax
cmp rcx, 0x400
jae 0x1400304fc
mov byte [rcx + rdi], 0
mov rbx, qword [0x1400c0fc8]
lea rax, [rbp + 0xce0]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140030489
lea rdx, [rbp + 0xce0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1400304bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rbp - 0x20]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2ba0]
call fcn.140020ee0
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rcx, qword [0x1400c1298]
call qword [sym.imp.USER32.dll_SetFocus]
mov rdi, qword [rsp + 0x1638]
mov r13, qword [rsp + 0x15f8]
mov rbx, qword [rsp + 0x1628]
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x1600
pop r15
pop r12
pop rbp
ret
call fcn.14006ef6c
int3