Function at 0x14009682c
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.1400baa60
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 0x140096b30
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebp, eax
cmp eax, 1
jne 0x140096aae
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 0x1400968d7
cmp rax, qword [0x1401055a0]
je 0x140096909
cmp rax, qword [0x140105570]
je 0x140096909
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x140096909
lea rdx, [rsp + 0x830]
lea rcx, [0x1401055a0]
mov r8b, 1
call fcn.140044e88
cmp eax, 1
je 0x140096b30
lea rcx, [rsp + 0x830]
call fcn.140052af8
lea rdx, str.rarreg.
mov r8d, 7
mov rcx, rax
call fcn.140073fe4
cmp eax, ebx
jne 0x140096aae
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.140052af8
mov esi, 2
movzx ecx, word [rdi]
add rdi, rsi
mov word [rax], cx
add rax, rsi
cmp cx, bx
jne 0x14009695c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x830]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x1400969eb
lea rcx, [rsp + 0x30]
call fcn.140053344
lea rcx, [rsp + 0x30]
call fcn.140052588
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.14001b938
mov rcx, qword [0x1400ffd80]
xor edx, edx
mov byte [0x1400ec040], al
call qword [sym.imp.USER32.dll_FlashWindow]
lea rcx, [0x1401055a0]
cmp byte [0x1400fec05], bl
je 0x140096a44
call fcn.1400447d4
jmp 0x140096a50
lea rdx, [0x1400c3f4c]
call fcn.1400433a8
cmp byte [0x1400ec040], bl
je 0x140096a8d
mov ecx, 0x368
call fcn.140061d94
mov ecx, 0x367
mov rdi, rax
call fcn.140061d94
mov rcx, qword [0x1400ffd80]
mov r9d, 0x30
mov r8, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140096b30
lea rcx, [rsp + 0x30]
call fcn.140031400
mov ecx, 0x366
call fcn.140061d94
mov rcx, rax
call fcn.140096028
jmp 0x140096b30
xor ecx, ecx
call fcn.140082a9c
mov edx, dword [0x14010bca8]
cmp byte [0x1400fec05], bl
mov rcx, qword [0x14010ef20]
mov esi, 2
cmovne edx, esi
mov dword [0x14010bca8], edx
call fcn.14006b85c
cmp ebp, ebx
jle 0x140096b12
lea r8, [rsp + 0x830]
mov r9d, 0x400
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov rcx, qword [0x14010ef20]
lea rdx, [rsp + 0x830]
call fcn.14006bb28
inc ebx
cmp ebx, ebp
jl 0x140096adf
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.14008569c
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400a86e0
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