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

Disassembly:
mov eax, 0x100c
call fcn.004a4220
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x4e8434], 0
push ebx
mov ebx, dword [esp + 0x1014]
jne 0x492dcb
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
call ebp
mov edi, eax
cmp edi, 1
jne 0x492d51
push 0x400
lea ecx, [esp + 0x81c]
xor eax, eax
push ecx
push eax
push ebx
mov word [esp + 0x828], ax
call ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x4e7b89], 0
je 0x492b89
cmp eax, dword [0x4ee478]
je 0x492bb8
cmp eax, dword [0x4ee454]
je 0x492bb8
lea edx, [esp + 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x492bb8
push 1
lea eax, [esp + 0x81c]
push eax
mov ecx, 0x4ee478
call fcn.00444450
cmp eax, 1
je 0x492dc8
push 7
push str.rarreg.
lea ecx, [esp + 0x820]
push ecx
call fcn.004513d0
push eax
call fcn.004729a0
test eax, eax
jne 0x492d51
push 0x400
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x18]
push eax
mov esi, str.rarreg.key
call fcn.004513d0
lea ebx, [ebx]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x492c00
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x820]
push edx
call esi
test eax, eax
jne 0x492ca4
lea eax, [esp + 0x18]
push eax
call fcn.00451bc0
lea ecx, [esp + 0x18]
push ecx
call fcn.00450e70
lea eax, [esp + 0x18]
add eax, 0xfffffffe
jmp 0x492c50
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x492c50
mov edx, dword [str.rarreg.key]
mov ecx, dword [0x4bb854]
mov dword [eax], edx
mov edx, dword [0x4bb858]
mov dword [eax + 4], ecx
mov ecx, dword [0x4bb85c]
mov dword [eax + 8], edx
mov edx, dword [0x4bb860]
mov dword [eax + 0xc], ecx
mov cx, word [0x4bb864]
mov dword [eax + 0x10], edx
push 0
lea edx, [esp + 0x1c]
mov word [eax + 0x14], cx
push edx
lea eax, [esp + 0x820]
push eax
call esi
mov ecx, dword [0x4e8cd4]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x4e8cd4]
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push edx
call esi
push 1
lea eax, [esp + 0x1c]
push eax
push 0
call fcn.0041bdf0
mov ecx, dword [0x4e8cd4]
push 0
push ecx
mov byte [0x4d50a0], al
call esi
cmp byte [0x4e7b89], 0
mov ecx, 0x4ee478
je 0x492cf5
call fcn.00443d80
jmp 0x492cff
push 0x4b8d0c
call fcn.00442a80
cmp byte [0x4d50a0], 0
je 0x492d32
push 0x30
push 0x368
call fcn.00460760
push eax
push 0x367
call fcn.00460760
mov edx, dword [0x4e8cd4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x492dc8
lea eax, [esp + 0x18]
push eax
call fcn.004316b0
push 0x366
call fcn.00460760
push eax
call fcn.00492420
add esp, 4
jmp 0x492dc8
push 0
call fcn.00480bc0
cmp byte [0x4e7b89], 0
je 0x492d6b
mov dword [0x4f45e0], 1
mov ecx, dword [0x4f7814]
call fcn.0046a1d0
xor esi, esi
test edi, edi
jle 0x492da9
lea esp, [esp]
push 0x400
lea ecx, [esp + 0x81c]
push ecx
push esi
push ebx
call ebp
mov ecx, dword [0x4f7814]
lea edx, [esp + 0x818]
push edx
call fcn.0046a5c0
inc esi
cmp esi, edi
jl 0x492d80
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 1
shr eax, 0xf
and al, 1
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
push eax
push 0
call fcn.004833a0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x100c]
pop ebx
xor ecx, esp
call fcn.004a39f3
add esp, 0x100c
ret 4