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

Disassembly:
mov eax, 0x100c
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x4dbd58], 0
push edi
mov edi, dword [esp + 0x1014]
jne 0x486c1a
push ebx
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_DragQueryFileA]
push esi
push 0
push 0
push 0xffffffffffffffff
push edi
call ebp
mov ebx, eax
cmp ebx, 1
jne 0x486b7a
push 0x400
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
push eax
push edi
mov word [esp + 0x828], ax
call ebp
call fcn.0043c9b0
test eax, eax
je 0x4869a1
push 0x400
lea edx, [esp + 0x81c]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp dword [0x4dbc5c], 0
je 0x4869d5
cmp eax, dword [0x4dfef0]
je 0x486a06
cmp eax, dword [0x4dfecc]
je 0x486a06
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x486a06
push 1
lea ecx, [esp + 0x81c]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, 0x4dfef0
call fcn.00442a40
cmp eax, 1
je 0x486c17
push 7
push str.rarreg.
lea eax, [esp + 0x20]
push eax
call fcn.0044d530
push eax
call fcn.004ac1b6
add esp, 0xc
test eax, eax
jne 0x486b7a
push 0x400
lea ecx, [esp + 0x41c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x418]
push edx
call fcn.0044d530
mov ecx, dword [str.rarreg.key]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [eax], ecx
mov edx, dword [0x4b3628]
mov dword [eax + 4], edx
mov cx, word [0x4b362c]
mov word [eax + 8], cx
mov dl, byte [0x4b362e]
mov byte [eax + 0xa], dl
push 0
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
test eax, eax
jne 0x486aee
lea edx, [esp + 0x418]
push edx
call fcn.0044dbb0
lea eax, [esp + 0x418]
push eax
call fcn.0044d9b0
lea eax, [esp + 0x418]
dec eax
jmp 0x486ab0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x486ab0
mov ecx, dword [str.rarreg.key]
mov edx, dword [0x4b3628]
mov dword [eax], ecx
mov cx, word [0x4b362c]
mov dword [eax + 4], edx
mov dl, byte [0x4b362e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
mov edx, dword [0x4dc1c8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x4dc1c8]
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push eax
call esi
push 1
call fcn.0041b520
mov ecx, dword [0x4dc1c8]
push 0
push ecx
mov byte [0x4c8d50], al
call esi
cmp dword [0x4dbc5c], 0
mov ecx, 0x4dfef0
je 0x486b37
call fcn.00442470
jmp 0x486b43
push 0
push 0x4b1914
call fcn.00440f30
cmp byte [0x4c8d50], 0
je 0x486c17
push 0x30
push 0x368
call fcn.0045b8f0
push eax
push 0x367
call fcn.0045b8f0
mov edx, dword [0x4dc1c8]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x486c17
push 0
call fcn.0047af60
cmp dword [0x4dbc5c], 0
je 0x486b94
mov dword [0x4e5778], 1
mov ecx, dword [0x4e81ac]
call fcn.004650d0
xor esi, esi
test ebx, ebx
jle 0x486bf8
push 0x400
lea ecx, [esp + 0x1c]
push ecx
push esi
xor eax, eax
push edi
mov word [esp + 0x828], ax
call ebp
call fcn.0043c9b0
test eax, eax
je 0x486bdb
push 0x400
lea edx, [esp + 0x81c]
push edx
push esi
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [esp + 0x818]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x4e81ac]
call fcn.00465140
inc esi
cmp esi, ebx
jl 0x486ba5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 1
shr eax, 0xf
and al, 1
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
push 0
call fcn.0047d480
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
pop edi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x100c
ret 4