Function at 0x14009666c
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1040
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebx, ebx
mov rdi, rcx
cmp dword [0x1400ff4a4], ebx
jne 0x140096970
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebp, eax
cmp eax, 1
jne 0x1400968ee
lea r8, [rsp + 0x830]
mov r9d, 0x400
xor edx, edx
mov rcx, rdi
mov word [rsp + 0x830], bx
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x1400fec05], bl
je 0x140096717
cmp rax, qword [0x140105570]
je 0x140096749
cmp rax, qword [0x140105540]
je 0x140096749
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x140096749
lea rdx, [rsp + 0x830]
lea rcx, [0x140105570]
mov r8b, 1
call fcn.140044e10
cmp eax, 1
je 0x140096970
lea rcx, [rsp + 0x830]
call fcn.140052abc
lea rdx, str.rarreg.
mov r8d, 7
mov rcx, rax
call fcn.140073e5c
cmp eax, ebx
jne 0x1400968ee
lea rdx, [rsp + 0x30]
mov r8d, 0x400
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x30]
lea rdi, str.rarreg.key
call fcn.140052abc
mov esi, 2
movzx ecx, word [rdi]
add rdi, rsi
mov word [rax], cx
add rax, rsi
cmp cx, bx
jne 0x14009679c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x830]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x14009682b
lea rcx, [rsp + 0x30]
call fcn.140053308
lea rcx, [rsp + 0x30]
call fcn.14005254c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
xor r8d, r8d
repne scasw ax, word [rdi]
mov rax, qword [str.rarreg.key]
lea rcx, [rsp + 0x830]
sub rdi, rsi
mov qword [rdi], rax
mov rax, qword [0x1400c7830]
mov qword [rdi + 8], rax
mov eax, dword [0x1400c7838]
mov dword [rdi + 0x10], eax
movzx eax, word [0x1400c783c]
mov word [rdi + 0x14], ax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1400ffd80]
mov edx, 1
call qword [sym.imp.USER32.dll_FlashWindow]
lea rdx, [rsp + 0x30]
mov r8b, 1
xor ecx, ecx
call fcn.14001b8dc
mov rcx, qword [0x1400ffd80]
xor edx, edx
mov byte [0x1400ec040], al
call qword [sym.imp.USER32.dll_FlashWindow]
lea rcx, [0x140105570]
cmp byte [0x1400fec05], bl
je 0x140096884
call fcn.14004475c
jmp 0x140096890
lea rdx, [0x1400c3f4c]
call fcn.140043330
cmp byte [0x1400ec040], bl
je 0x1400968cd
mov ecx, 0x368
call fcn.140061d2c
mov ecx, 0x367
mov rdi, rax
call fcn.140061d2c
mov rcx, qword [0x1400ffd80]
mov r9d, 0x30
mov r8, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140096970
lea rcx, [rsp + 0x30]
call fcn.1400313a4
mov ecx, 0x366
call fcn.140061d2c
mov rcx, rax
call fcn.140095e68
jmp 0x140096970
xor ecx, ecx
call fcn.140082924
mov edx, dword [0x14010bc78]
cmp byte [0x1400fec05], bl
mov rcx, qword [0x14010eec0]
mov esi, 2
cmovne edx, esi
mov dword [0x14010bc78], edx
call fcn.14006b784
cmp ebp, ebx
jle 0x140096952
lea r8, [rsp + 0x830]
mov r9d, 0x400
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rcx, qword [0x14010eec0]
lea rdx, [rsp + 0x830]
call fcn.14006ba50
inc ebx
cmp ebx, ebp
jl 0x14009691f
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov r8b, 1
xor ecx, ecx
mov dx, ax
shr edx, 0xf
and dl, 1
call fcn.140085524
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret