Function at 0x46b4ac
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 [0x4884d0], eax
jne 0x46b50d
fld dword [esi + 0x94]
fcomp dword [0x47cd90]
fnstsw ax
sahf
jae 0x46b836
fld dword [esi + 0x94]
fadd dword [0x47bdec]
fstp dword [esi + 0x94]
jmp 0x46b712
cmp ecx, 0x31
jne 0x46b516
fld1
jmp 0x46b502
cmp ecx, 0x51
jne 0x46b52a
mov dword [esi + 0x94], 0x3faa3d71
jmp 0x46b712
cmp ecx, 0x32
jne 0x46b53e
mov dword [esi + 0x94], 0x40000000
jmp 0x46b712
cmp ecx, 0x57
jne 0x46b552
mov dword [esi + 0x94], 0x3fd47ae1
jmp 0x46b712
cmp ecx, 0x33
jne 0x46b566
mov dword [esi + 0x94], 0x40400000
jmp 0x46b712
cmp ecx, 0x34
jne 0x46b57a
mov dword [esi + 0x94], 0x40800000
jmp 0x46b712
cmp ecx, 0x35
jne 0x46b58e
mov dword [esi + 0x94], 0x40a00000
jmp 0x46b712
cmp ecx, 0x36
jne 0x46b5a2
mov dword [esi + 0x94], 0x40c00000
jmp 0x46b712
cmp ecx, 0x37
jne 0x46b5b6
mov dword [esi + 0x94], 0x40e00000
jmp 0x46b712
cmp ecx, 0x38
jne 0x46b5ca
mov dword [esi + 0x94], 0x41000000
jmp 0x46b712
cmp ecx, 0x39
jne 0x46b5de
mov dword [esi + 0x94], 0x41100000
jmp 0x46b712
cmp ecx, 0x50
jne 0x46b5f7
push ebx
mov ecx, esi
call fcn.0046c85a
mov dword [ebp - 4], 1
jmp 0x46b836
cmp ecx, 0x43
jne 0x46b60f
push 1
mov ecx, esi
pop edi
push edi
call fcn.0046c85a
mov dword [ebp - 4], edi
jmp 0x46b836
cmp ecx, 0x42
jne 0x46b61e
push ebx
mov ecx, esi
call fcn.0046c8cd
jmp 0x46b5eb
cmp ecx, 0x54
jne 0x46b62c
mov ecx, esi
call fcn.00411c5b
jmp 0x46b5eb
cmp ecx, 0x46
je 0x46b81f
cmp ecx, 0x7a
je 0x46b81f
cmp ecx, 0x45
jne 0x46b666
xor eax, eax
cmp dword [esi + 0x60], ebx
mov ecx, esi
sete al
mov dword [esi + 0x60], eax
call fcn.0046bded
mov dword [ebp - 4], 1
call fcn.004311a6
jmp 0x46b836
cmp ecx, 0x70
jne 0x46b68e
mov ecx, esi
call fcn.0046c069
push ebx
push 0xe146
push 0x111
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
pop eax
jmp 0x46b839
cmp ecx, 0x71
jne 0x46b696
push ebx
jmp 0x46b6b2
cmp ecx, 0x72
jne 0x46b6ab
push 1
mov ecx, esi
pop edi
push edi
call fcn.0046bece
jmp 0x46b607
cmp ecx, 0x73
jne 0x46b6be
push 2
mov ecx, esi
call fcn.0046bece
jmp 0x46b5eb
cmp ecx, 0x58
jne 0x46b6cf
mov ecx, esi
call fcn.0046beb2
jmp 0x46b5eb
cmp ecx, 0x6d
jne 0x46b7ad
fld dword [esi + 0x94]
fcomp dword [0x47bdd0]
fnstsw ax
sahf
jbe 0x46b836
fld dword [0x47bdec]
fcom dword [esi + 0x94]
fnstsw ax
sahf
jae 0x46b834
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 0x49abd4
call fcn.0046e07e
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 0x46b793
cmp dword [esi + 0x1c], ebx
je 0x46b793
push 0x24
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0046d310
mov eax, dword [esi + 0x94]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov eax, dword [0x49abc8]
fld1
cmp eax, ebx
fstp dword [ebp - 8]
je 0x46b7a3
lea ecx, [ebp - 0x28]
push ecx
push dword [esi + 0x1c]
call eax
jmp 0x46b7a3
push 0x105
push ebx
push ebx
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.004311a6
jmp 0x46b836
cmp ecx, 0x1b
jne 0x46b7c7
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test edi, eax
jne 0x46b836
mov ecx, esi
call fcn.0046c069
jmp 0x46b836
cmp ecx, 0x25
jne 0x46b7da
sub dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
jmp 0x46b7eb
cmp ecx, 0x27
jne 0x46b7f2
add dword [esi + 0x84], eax
lea ecx, [esi + 0x84]
push dword [ecx + 4]
push dword [ecx]
jmp 0x46b816
cmp ecx, 0x26
jne 0x46b7ff
add dword [esi + 0x88], eax
jmp 0x46b80a
cmp ecx, 0x28
jne 0x46b836
sub dword [esi + 0x88], eax
push dword [esi + 0x88]
push dword [esi + 0x84]
mov ecx, esi
call fcn.0046b418
jmp 0x46b836
mov ecx, esi
call fcn.0046be2d
mov dword [ebp - 4], 1
call fcn.004311a6
jmp 0x46b836
fstp st(0)
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc