Function at 0x180063fe0
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, r9
mov edi, r8d
mov dword [rsp + 0x30], r8d
mov r14, rdx
mov r15, rcx
mov rsi, qword [rbp + 0x240]
mov qword [rsp + 0x38], rsi
lea rcx, str.Drop
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
mov r13d, ecx
mov eax, send
mov word [rsp + 0x48], ax
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], 1
or rax, 0xffffffffffffffff
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], 1
mov rax, qword [r14]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [rax + 0x28]
test eax, eax
jne 0x1800642e4
mov rax, qword [r14]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r12d, eax
xor eax, eax
mov esi, eax
test r12d, r12d
je 0x1800642d4
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp - 0x50]
mov edx, esi
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov qword [rbp - 0x78], 7
xor eax, eax
mov qword [rbp - 0x80], rax
mov word [rsp + 0x70], ax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.180004cc0
lea rcx, [rsp + 0x70]
call fcn.180064340
test eax, eax
jne 0x1800642b2
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18006429e
shr eax, 4
not eax
and eax, 1
je 0x18006429e
mov r8, qword [0x1800d6f10]
test r8, r8
jne 0x18006416e
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180064164
mov rcx, rax
call fcn.180015880
mov r8, rax
mov qword [0x1800d6f10], rax
lea rcx, [r8 + 0x230]
mov r9, qword [rcx + 0x10]
cmp r9, r9
cmp qword [rcx + 0x18], 8
jb 0x180064186
mov rcx, qword [rcx]
mov edi, 3
cmp r9, rdi
cmovb rdi, r9
lea rdx, [0x1800a92c8]
test rdi, rdi
je 0x1800641cd
nop
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1800641b7
add rcx, 2
add rdx, 2
dec rdi
jne 0x1800641a0
jmp 0x1800641cd
mov edi, 1
cmp word [rcx], ax
mov rdx, 0xffffffffffffffff
cmovb edi, edx
xor ecx, ecx
jmp 0x1800641d5
xor ecx, ecx
mov edi, ecx
or rdx, 0xffffffffffffffff
movsxd rax, edi
test edi, edi
jne 0x1800641ef
cmp r9, 3
jae 0x1800641e6
mov eax, edx
jmp 0x1800641ef
mov eax, ecx
cmp r9, 3
setne al
test eax, eax
sete al
test al, al
jne 0x1800642aa
test r8, r8
jne 0x180064227
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18006421d
mov rcx, rax
call fcn.180015880
mov r8, rax
mov qword [0x1800d6f10], rax
lea rcx, [r8 + 0x230]
mov r8, qword [rcx + 0x10]
cmp r8, r8
cmp qword [rcx + 0x18], 8
jb 0x18006423f
mov rcx, qword [rcx]
mov edi, 2
cmp r8, rdi
cmovb rdi, r8
lea rdx, [0x1800aa304]
test rdi, rdi
je 0x180064284
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x18006426e
add rcx, 2
add rdx, 2
dec rdi
jne 0x180064257
jmp 0x180064284
mov edi, 1
cmp word [rcx], ax
mov rax, 0xffffffffffffffff
cmovb edi, eax
xor ecx, ecx
jmp 0x180064288
xor ecx, ecx
mov edi, ecx
movsxd rax, edi
test edi, edi
jne 0x18006429a
cmp r8, 2
jb 0x18006429e
mov eax, ecx
setne al
test eax, eax
je 0x1800642aa
inc esi
cmp esi, r12d
jae 0x1800642db
jmp 0x1800640c0
mov r13d, 1
jmp 0x1800642db
mov r13d, 1
lea r9d, [r13 + 0xf]
lea r8, [0x1800ae758]
lea rdx, [0x1800afa50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1800642db
mov rsi, qword [rsp + 0x38]
jmp 0x1800642e6
mov edi, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov qword [r15 + 0x40], rax
mov rcx, qword [r15 + 0x30]
test rcx, rcx
je 0x180064313
mov rax, qword [rcx]
test r13d, r13d
je 0x180064300
call qword [rax + 0x28]
jmp 0x180064315
mov qword [rsp + 0x20], rsi
mov r9, rbx
mov r8d, edi
mov rdx, r14
call qword [rax + 0x30]
jmp 0x180064315
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret