Function at 0x10012050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1011a30d
push eax
mov dword fs:[0], esp
sub esp, 0x70
cmp byte [0x11290031], 0
push esi
mov esi, dword [ebp + 8]
je 0x10012202
mov ecx, dword [0x11290b48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10012202
mov ecx, dword [0x11290b48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10012202
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.100b5ff0
cmp eax, 8
je 0x10012202
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.100b5ff0
cmp eax, 0xa
je 0x10012202
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.100b5ff0
cmp eax, 9
je 0x10012202
test byte [0x11290d54], 3
jne 0x10012202
cmp byte [0x11290d5c], 0
jne 0x10012202
cmp byte [0x11290d5e], 0
jne 0x10012202
push edi
push dword [0x11290010]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call edi
test ax, ax
jne 0x10012201
push dword [0x11290050]
call edi
test ax, ax
jne 0x10012201
push dword [0x1128ff94]
call edi
test ax, ax
jne 0x10012201
push dword [0x11290038]
call edi
test ax, ax
jne 0x10012201
push dword [0x11290054]
call edi
test ax, ax
jne 0x10012201
xorps xmm0, xmm0
lea ecx, [ebp - 0x7c]
push esi
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x10], xmm0
call fcn.10011c90
mov eax, dword [0x11290d6c]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x111013cc]
push 0
mov eax, dword [eax]
call eax
push ebx
nop dword [eax + eax]
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a820
test byte [eax], 1
jne 0x100121f5
mov ecx, dword [0x11290cfc]
lea ebx, [esi + 0x30]
or dword [ebx], 4
push esi
call fcn.10051da0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a820
test byte [eax], 1
jne 0x10012211
mov eax, dword [0x11290b50]
movss xmm0, dword [ebp - 0x10]
movss xmm1, dword [0x10122cdc]
addss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
movss dword [ebp - 0x10], xmm0
ja 0x100121a0
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.10011de0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a9a0
movss xmm0, dword [eax + 8]
ucomiss xmm0, dword [0x11064b80]
movss dword [ebp - 0x10], xmm0
lahf
test ah, 0x44
jnp 0x100122fd
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.10011de0
mov eax, dword [0x11290d6c]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x111013cc]
push 0
mov eax, dword [eax]
call eax
lea ebx, [esi + 0x30]
nop dword [eax + eax]
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a820
test byte [eax], 1
jne 0x100122fd
mov ecx, dword [0x11290cfc]
lea edi, [esi + 0x30]
and dword [edi], 0xfffffffb
push esi
call fcn.10051da0
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a820
test byte [eax], 1
jne 0x100122cd
mov eax, dword [0x11290b50]
movss xmm0, dword [ebp - 0x14]
movss xmm1, dword [0x10122cdc]
addss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
movss dword [ebp - 0x14], xmm0
ja 0x10012260
or dword [edi], 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1128fed4]
mov ecx, dword [eax]
call fcn.1001a9a0
movss xmm1, dword [ebp - 0x10]
comiss xmm1, dword [eax + 8]
jbe 0x10012200
or dword [esi + 0x30], 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edi, ebx
pop ebx
or dword [edi], 4
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret