Function at 0x49a6f5
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 [0x4b9cc0], eax
jne 0x49a756
fld dword [esi + 0x94]
fcomp dword [0x4ac184]
fnstsw ax
sahf
jae 0x49aa7a
fld dword [esi + 0x94]
fadd dword [0x4aae54]
fstp dword [esi + 0x94]
jmp 0x49a95b
cmp ecx, 0x31
jne 0x49a75f
fld1
jmp 0x49a74b
cmp ecx, 0x51
jne 0x49a773
mov dword [esi + 0x94], 0x3faa3d71
jmp 0x49a95b
cmp ecx, 0x32
jne 0x49a787
mov dword [esi + 0x94], 0x40000000
jmp 0x49a95b
cmp ecx, 0x57
jne 0x49a79b
mov dword [esi + 0x94], 0x3fd47ae1
jmp 0x49a95b
cmp ecx, 0x33
jne 0x49a7af
mov dword [esi + 0x94], 0x40400000
jmp 0x49a95b
cmp ecx, 0x34
jne 0x49a7c3
mov dword [esi + 0x94], 0x40800000
jmp 0x49a95b
cmp ecx, 0x35
jne 0x49a7d7
mov dword [esi + 0x94], 0x40a00000
jmp 0x49a95b
cmp ecx, 0x36
jne 0x49a7eb
mov dword [esi + 0x94], 0x40c00000
jmp 0x49a95b
cmp ecx, 0x37
jne 0x49a7ff
mov dword [esi + 0x94], 0x40e00000
jmp 0x49a95b
cmp ecx, 0x38
jne 0x49a813
mov dword [esi + 0x94], 0x41000000
jmp 0x49a95b
cmp ecx, 0x39
jne 0x49a827
mov dword [esi + 0x94], 0x41100000
jmp 0x49a95b
cmp ecx, 0x50
jne 0x49a840
push ebx
mov ecx, esi
call fcn.0049ba99
mov dword [ebp - 4], 1
jmp 0x49aa7a
cmp ecx, 0x43
jne 0x49a858
push 1
mov ecx, esi
pop edi
push edi
call fcn.0049ba99
mov dword [ebp - 4], edi
jmp 0x49aa7a
cmp ecx, 0x42
jne 0x49a867
push ebx
mov ecx, esi
call fcn.0049bb0c
jmp 0x49a834
cmp ecx, 0x54
jne 0x49a875
mov ecx, esi
call fcn.004289e3
jmp 0x49a834
cmp ecx, 0x46
je 0x49aa63
cmp ecx, 0x7a
je 0x49aa63
cmp ecx, 0x45
jne 0x49a8af
xor eax, eax
cmp dword [esi + 0x60], ebx
mov ecx, esi
sete al
mov dword [esi + 0x60], eax
call fcn.0049b031
mov dword [ebp - 4], 1
call fcn.0043aed1
jmp 0x49aa7a
cmp ecx, 0x70
jne 0x49a8d7
mov ecx, esi
call fcn.0049b2ad
push ebx
push 0xe146
push 0x111
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop eax
jmp 0x49aa7d
cmp ecx, 0x71
jne 0x49a8df
push ebx
jmp 0x49a8fb
cmp ecx, 0x72
jne 0x49a8f4
push 1
mov ecx, esi
pop edi
push edi
call fcn.0049b112
jmp 0x49a850
cmp ecx, 0x73
jne 0x49a907
push 2
mov ecx, esi
call fcn.0049b112
jmp 0x49a834
cmp ecx, 0x58
jne 0x49a918
mov ecx, esi
call fcn.0049b0f6
jmp 0x49a834
cmp ecx, 0x6d
jne 0x49a9f1
fld dword [esi + 0x94]
fcomp dword [0x4aae38]
fnstsw ax
sahf
jbe 0x49aa7a
fld dword [0x4aae54]
fcom dword [esi + 0x94]
fnstsw ax
sahf
jae 0x49aa78
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 0x4cc32c
call fcn.0049d06e
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 0x49a9d7
mov edx, dword [esi + 0x1c]
cmp edx, ebx
je 0x49a9d7
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 [0x4cc320]
cmp eax, ebx
je 0x49a9e7
lea ecx, [ebp - 0x28]
push ecx
push edx
call eax
jmp 0x49a9e7
push 0x105
push ebx
push ebx
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0043aed1
jmp 0x49aa7a
cmp ecx, 0x1b
jne 0x49aa0b
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test edi, eax
jne 0x49aa7a
mov ecx, esi
call fcn.0049b2ad
jmp 0x49aa7a
cmp ecx, 0x25
jne 0x49aa1e
sub dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
jmp 0x49aa2f
cmp ecx, 0x27
jne 0x49aa36
add dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
push dword [ecx + 4]
push dword [ecx]
jmp 0x49aa5a
cmp ecx, 0x26
jne 0x49aa43
add dword [esi + 0x88], eax
jmp 0x49aa4e
cmp ecx, 0x28
jne 0x49aa7a
sub dword [esi + 0x88], eax
push dword [esi + 0x88]
push dword [esi + 0x84]
mov ecx, esi
call fcn.0049a661
jmp 0x49aa7a
mov ecx, esi
call fcn.0049b071
mov dword [ebp - 4], 1
call fcn.0043aed1
jmp 0x49aa7a
fstp st(0)
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc