Function at 0x49a1a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x10
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
mov ecx, dword [ebp + 0xc]
and eax, edi
neg eax
sbb eax, eax
and al, 0xee
add eax, 0x14
cmp ecx, 0x6b
mov dword [0x4b8bf8], eax
jne 0x49a209
fld dword [esi + 0x94]
fcomp dword [0x4ab174]
fnstsw ax
sahf
jae 0x49a52d
fld dword [esi + 0x94]
fadd dword [0x4a9e44]
fstp dword [esi + 0x94]
jmp 0x49a40e
cmp ecx, 0x31
jne 0x49a212
fld1
jmp 0x49a1fe
cmp ecx, 0x51
jne 0x49a226
mov dword [esi + 0x94], 0x3faa3d71
jmp 0x49a40e
cmp ecx, 0x32
jne 0x49a23a
mov dword [esi + 0x94], 0x40000000
jmp 0x49a40e
cmp ecx, 0x57
jne 0x49a24e
mov dword [esi + 0x94], 0x3fd47ae1
jmp 0x49a40e
cmp ecx, 0x33
jne 0x49a262
mov dword [esi + 0x94], 0x40400000
jmp 0x49a40e
cmp ecx, 0x34
jne 0x49a276
mov dword [esi + 0x94], 0x40800000
jmp 0x49a40e
cmp ecx, 0x35
jne 0x49a28a
mov dword [esi + 0x94], 0x40a00000
jmp 0x49a40e
cmp ecx, 0x36
jne 0x49a29e
mov dword [esi + 0x94], 0x40c00000
jmp 0x49a40e
cmp ecx, 0x37
jne 0x49a2b2
mov dword [esi + 0x94], 0x40e00000
jmp 0x49a40e
cmp ecx, 0x38
jne 0x49a2c6
mov dword [esi + 0x94], 0x41000000
jmp 0x49a40e
cmp ecx, 0x39
jne 0x49a2da
mov dword [esi + 0x94], 0x41100000
jmp 0x49a40e
cmp ecx, 0x50
jne 0x49a2f3
push ebx
mov ecx, esi
call fcn.0049b54c
mov dword [ebp - 4], 1
jmp 0x49a52d
cmp ecx, 0x43
jne 0x49a30b
push 1
mov ecx, esi
pop edi
push edi
call fcn.0049b54c
mov dword [ebp - 4], edi
jmp 0x49a52d
cmp ecx, 0x42
jne 0x49a31a
push ebx
mov ecx, esi
call fcn.0049b5bf
jmp 0x49a2e7
cmp ecx, 0x54
jne 0x49a328
mov ecx, esi
call fcn.0042d8eb
jmp 0x49a2e7
cmp ecx, 0x46
je 0x49a516
cmp ecx, 0x7a
je 0x49a516
cmp ecx, 0x45
jne 0x49a362
xor eax, eax
cmp dword [esi + 0x60], ebx
mov ecx, esi
sete al
mov dword [esi + 0x60], eax
call fcn.0049aae4
mov dword [ebp - 4], 1
call fcn.0043ae4f
jmp 0x49a52d
cmp ecx, 0x70
jne 0x49a38a
mov ecx, esi
call fcn.0049ad60
push ebx
push 0xe146
push 0x111
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop eax
jmp 0x49a530
cmp ecx, 0x71
jne 0x49a392
push ebx
jmp 0x49a3ae
cmp ecx, 0x72
jne 0x49a3a7
push 1
mov ecx, esi
pop edi
push edi
call fcn.0049abc5
jmp 0x49a303
cmp ecx, 0x73
jne 0x49a3ba
push 2
mov ecx, esi
call fcn.0049abc5
jmp 0x49a2e7
cmp ecx, 0x58
jne 0x49a3cb
mov ecx, esi
call fcn.0049aba9
jmp 0x49a2e7
cmp ecx, 0x6d
jne 0x49a4a4
fld dword [esi + 0x94]
fcomp dword [0x4a9e28]
fnstsw ax
sahf
jbe 0x49a52d
fld dword [0x4a9e44]
fcom dword [esi + 0x94]
fnstsw ax
sahf
jae 0x49a52b
fld dword [esi + 0x94]
fsub st(1)
fstp dword [esi + 0x94]
fstp st(0)
fld dword [esi + 0x94]
push ecx
push ecx
mov dword [ebp - 4], 1
fstp qword [esp]
push str._.1f_X
push 0x4cb244
call fcn.0049cb1e
add esp, 0x10
mov edi, 0x2be2
push edi
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0xbb8
push edi
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0x54], ebx
je 0x49a48a
mov edx, dword [esi + 0x1c]
cmp edx, ebx
je 0x49a48a
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
fld1
fstp dword [ebp - 8]
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x4cb238]
cmp eax, ebx
je 0x49a49a
lea ecx, [ebp - 0x28]
push ecx
push edx
call eax
jmp 0x49a49a
push 0x105
push ebx
push ebx
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0043ae4f
jmp 0x49a52d
cmp ecx, 0x1b
jne 0x49a4be
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test edi, eax
jne 0x49a52d
mov ecx, esi
call fcn.0049ad60
jmp 0x49a52d
cmp ecx, 0x25
jne 0x49a4d1
sub dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
jmp 0x49a4e2
cmp ecx, 0x27
jne 0x49a4e9
add dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
push dword [ecx + 4]
push dword [ecx]
jmp 0x49a50d
cmp ecx, 0x26
jne 0x49a4f6
add dword [esi + 0x88], eax
jmp 0x49a501
cmp ecx, 0x28
jne 0x49a52d
sub dword [esi + 0x88], eax
push dword [esi + 0x88]
push dword [esi + 0x84]
mov ecx, esi
call fcn.0049a114
jmp 0x49a52d
mov ecx, esi
call fcn.0049ab24
mov dword [ebp - 4], 1
call fcn.0043ae4f
jmp 0x49a52d
fstp st(0)
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc