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

Disassembly:
mov eax, 0x100c
call fcn.004a4490
mov eax, dword [0x4ca3b0]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x4e8434], 0
push ebx
mov ebx, dword [esp + 0x1014]
jne 0x49317b
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 0x493101
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 0x492f39
cmp eax, dword [0x4ee478]
je 0x492f68
cmp eax, dword [0x4ee454]
je 0x492f68
lea edx, [esp + 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x492f68
push 1
lea eax, [esp + 0x81c]
push eax
mov ecx, 0x4ee478
call fcn.004445b0
cmp eax, 1
je 0x493178
push 7
push str.rarreg.
lea ecx, [esp + 0x820]
push ecx
call fcn.004515b0
push eax
call fcn.00472c70
test eax, eax
jne 0x493101
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.004515b0
lea ebx, [ebx]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x492fb0
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 0x493054
lea eax, [esp + 0x18]
push eax
call fcn.00451da0
lea ecx, [esp + 0x18]
push ecx
call fcn.00451050
lea eax, [esp + 0x18]
add eax, 0xfffffffe
jmp 0x493000
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x493000
mov edx, dword [str.rarreg.key]
mov ecx, dword [0x4bb864]
mov dword [eax], edx
mov edx, dword [0x4bb868]
mov dword [eax + 4], ecx
mov ecx, dword [0x4bb86c]
mov dword [eax + 8], edx
mov edx, dword [0x4bb870]
mov dword [eax + 0xc], ecx
mov cx, word [0x4bb874]
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 0x4930a5
call fcn.00443ef0
jmp 0x4930af
push 0x4b8d34
call fcn.00442bf0
cmp byte [0x4d50a0], 0
je 0x4930e2
push 0x30
push 0x368
call fcn.00460a30
push eax
push 0x367
call fcn.00460a30
mov edx, dword [0x4e8cd4]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x493178
lea eax, [esp + 0x18]
push eax
call fcn.004317c0
push 0x366
call fcn.00460a30
push eax
call fcn.004926f0
add esp, 4
jmp 0x493178
push 0
call fcn.00480e80
cmp byte [0x4e7b89], 0
je 0x49311b
mov dword [0x4f45e8], 2
mov ecx, dword [0x4f781c]
call fcn.0046a4c0
xor esi, esi
test edi, edi
jle 0x493159
lea esp, [esp]
push 0x400
lea ecx, [esp + 0x81c]
push ecx
push esi
push ebx
call ebp
mov ecx, dword [0x4f781c]
lea edx, [esp + 0x818]
push edx
call fcn.0046a8b0
inc esi
cmp esi, edi
jl 0x493130
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.00483660
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x100c]
pop ebx
xor ecx, esp
call fcn.004a3c63
add esp, 0x100c
ret 4