Function at 0x4fea00
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5586f4
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x573f3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5779dc
lea ecx, [ebp - 0x138]
call fcn.004c0590
mov dword [ebp - 4], 0
push 0x5779a8
lea ecx, [ebp - 0x154]
call fcn.004c0590
mov byte [ebp - 4], 1
mov al, byte [ebp + 0x14]
mov byte [0x58f1f0], al
mov cl, byte [ebp + 0x10]
mov byte [0x58f1f1], cl
mov edx, dword [ebp + 8]
mov dword [0x58f1dc], edx
mov eax, dword [ebp + 0xc]
mov dword [0x58f1d8], eax
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x4feb22
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x4feb22
mov byte [0x58f1fd], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [ebp - 0x17c], eax
push 0x58f1f4
push 0
push 0
push 0x4ff0c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x58f1fd]
test eax, eax
je 0x4feaea
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x17c]
jae 0x4feaea
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4feac7
mov dword [ebp - 0x1ac], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.004b6e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004b6e60
mov eax, dword [ebp - 0x1ac]
jmp 0x4fee21
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x58f1f4], eax
movzx ecx, byte [0x58f1fc]
test ecx, ecx
jne 0x4febfe
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0x4fee40
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov edx, dword [0x58e358]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], 0
movzx eax, byte [0x58f1f0]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x7f02
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4febcb
lea ecx, [ebp - 0x154]
call fcn.004b6ec0
mov dword [ebp - 0x1bc], eax
jmp 0x4febdc
lea ecx, [ebp - 0x138]
call fcn.004b6ec0
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.004f3580
add esp, 4
mov byte [0x58f1fc], 1
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4fec3c
mov dword [ebp - 0x1a8], 0
jmp 0x4fec21
mov edx, dword [ebp - 0x1a8]
add edx, 1
mov dword [ebp - 0x1a8], edx
cmp dword [ebp - 0x1a8], 0x100
jge 0x4fec3c
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x4fec12
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x58f1dc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x174], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x58f1d8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x178], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4fec84
lea edx, [ebp - 0x154]
mov dword [ebp - 0x1c0], edx
jmp 0x4fec90
lea eax, [ebp - 0x138]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x74]
call fcn.004a6550
mov byte [ebp - 4], 2
push 0
mov eax, dword [0x58e358]
push eax
push 0
push 0
mov ecx, dword [0x58f1d8]
push ecx
mov edx, dword [0x58f1dc]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
movzx edx, byte [0x58f1f0]
neg edx
sbb edx, edx
and edx, 0xf8000000
add edx, 0x8000000
or edx, 0x80000000
push edx
push 0x58f008
lea eax, [ebp - 0x74]
push eax
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff88
add ecx, 0x80
push ecx
call fcn.004f3900
add esp, 0x30
mov dword [0x58f1e4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.004a65d0
push 4
mov edx, dword [0x58f1e4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x58f1e4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4fed5f
push 0
push 0x64
push 2
mov edx, dword [0x58f1e4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x58f1e4]
mov dword [ebp - 0x1b4], eax
lea ecx, [ebp - 0x1b4]
push ecx
push 0x5779a0
lea ecx, [ebp - 0x11c]
call fcn.004ab550
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c8]
call fcn.004ff250
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.004ab6b0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.004a90c0
lea ecx, [ebp - 0x170]
call fcn.004b6d90
push eax
push 0x577990
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [0x58f1fd], 0
mov ecx, dword [0x58f1e4]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.004a2420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.004b6e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004b6e60
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050fbce
mov esp, ebp
pop ebp
ret