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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f57f4
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x513f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x517954
lea ecx, [ebp - 0x138]
call fcn.0045f640
mov dword [ebp - 4], 0
push 0x517920
lea ecx, [ebp - 0x154]
call fcn.0045f640
mov byte [ebp - 4], 1
mov al, byte [ebp + 0x14]
mov byte [0x52eea0], al
mov cl, byte [ebp + 0x10]
mov byte [0x52eea1], cl
mov edx, dword [ebp + 8]
mov dword [0x52ee8c], edx
mov eax, dword [ebp + 0xc]
mov dword [0x52ee88], eax
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x49c2b2
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x49c2b2
mov byte [0x52eead], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [ebp - 0x17c], eax
push 0x52eea4
push 0
push 0
push 0x49c850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x52eead]
test eax, eax
je 0x49c27a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x17c]
jae 0x49c27a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49c257
mov dword [ebp - 0x1ac], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.00455b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00455b50
mov eax, dword [ebp - 0x1ac]
jmp 0x49c5b1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x52eea4], eax
movzx ecx, byte [0x52eeac]
test ecx, ecx
jne 0x49c38e
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0x49c5d0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov edx, dword [0x52ddbc]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], 0
movzx eax, byte [0x52eea0]
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 0x49c35b
lea ecx, [ebp - 0x154]
call fcn.00455bb0
mov dword [ebp - 0x1bc], eax
jmp 0x49c36c
lea ecx, [ebp - 0x138]
call fcn.00455bb0
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0x1a4]
push eax
call fcn.00490e20
add esp, 4
mov byte [0x52eeac], 1
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x49c3cc
mov dword [ebp - 0x1a8], 0
jmp 0x49c3b1
mov edx, dword [ebp - 0x1a8]
add edx, 1
mov dword [ebp - 0x1a8], edx
cmp dword [ebp - 0x1a8], 0x100
jge 0x49c3cc
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x49c3a2
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x52ee8c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x174], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x52ee88]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x178], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x49c414
lea edx, [ebp - 0x154]
mov dword [ebp - 0x1c0], edx
jmp 0x49c420
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.004451e0
mov byte [ebp - 4], 2
push 0
mov eax, dword [0x52ddbc]
push eax
push 0
push 0
mov ecx, dword [0x52ee88]
push ecx
mov edx, dword [0x52ee8c]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
movzx edx, byte [0x52eea0]
neg edx
sbb edx, edx
and edx, 0xf8000000
add edx, 0x8000000
or edx, 0x80000000
push edx
push 0x52ecb8
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.004911a0
add esp, 0x30
mov dword [0x52ee94], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00445260
push 4
mov edx, dword [0x52ee94]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x52ee94]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x49c4ef
push 0
push 0x64
push 2
mov edx, dword [0x52ee94]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x52ee94]
mov dword [ebp - 0x1b4], eax
lea ecx, [ebp - 0x1b4]
push ecx
push 0x517918
lea ecx, [ebp - 0x11c]
call fcn.0044a1a0
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.0049c9e0
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0044a300
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.00447d70
lea ecx, [ebp - 0x170]
call fcn.00455a80
push eax
push 0x517908
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [0x52eead], 0
mov ecx, dword [0x52ee94]
mov dword [ebp - 0x1b8], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.00455940
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.00455b50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00455b50
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.004ad663
mov esp, ebp
pop ebp
ret