Function at 0x10946b4
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 0x20]
mov ebx, ecx
xor eax, eax
and ebx, 0xf
mov dword [ebp - 4], eax
cmp ebx, 0xb
ja case.default.0x10946da
jmp dword [ebx*4 + 0x109494b]
xor eax, eax
jmp 0x1094944
mov ecx, dword [edi + 0x4c]
cmp ecx, eax
je case.default.0x10946da
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push 0x10697c0
push ecx
call dword [eax]
test eax, eax
jl case.default.0x10946da
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], 0xffffffff
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x109473f
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
setge cl
test byte [esi + 0x20], 0x10
mov dword [ebp - 4], ecx
je 0x1094793
mov dword [edi + 0xa8], eax
jmp 0x1094793
test byte [esi + 0x20], 0x10
je 0x1094758
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0x201
jne 0x1094758
mov dword [ebp - 4], 1
mov edi, dword [edi + 0x4c]
lea ecx, [ebp + 8]
push ecx
xor ebx, ebx
push 0x10697b0
mov dword [ebp + 8], ebx
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x109477f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push 4
push ebx
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebp + 8]
or dword [esi + 0x20], 0x2000
cmp eax, ebx
je 0x1094793
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp case.default.0x10946da
mov edi, dword [edi + 0x4c]
cmp edi, eax
je case.default.0x10946da
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], 1
cmp ecx, 0x26
je 0x10947c9
cmp ecx, 0x28
jne 0x1094819
lea ecx, [ebp + 8]
push ecx
push 0x1034a40
mov dword [ebp + 8], eax
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x1094804
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 0xc]
xor ecx, ecx
cmp ebx, 5
sete cl
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 8]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x1094811
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x109481f
xor eax, eax
or dword [esi + 0x10], 0xffffffff
jmp 0x109482c
and dword [esi + 0x20], 0xfffff6ff
and dword [esi + 0x10], 0
xor eax, eax
xor ecx, ecx
cmp dword [esi + 0x10], eax
setge cl
mov dword [ebp - 4], ecx
jmp case.default.0x10946da
cmp dword [edi + 0x90], eax
jne 0x109487e
cmp dword [edi + 0x80], eax
jne 0x109487e
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
inc ebx
push 0x10
mov dword [edi + 0x94], ebx
call esi
test ax, ax
jge 0x1094871
push 0x11
call esi
test ax, ax
jge 0x1094871
mov eax, ebx
jmp 0x1094873
xor eax, eax
mov dword [edi + 0x98], eax
jmp case.default.0x10946da
mov edx, dword [edi + 0x4c]
cmp edx, eax
je case.default.0x10946da
or dword [ebp + 8], 0xffffffff
test ecx, 0x400
je 0x10948a1
mov ecx, edi
call fcn.01092b89
mov dword [ebp + 8], eax
jmp 0x10948cf
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
push 0x10697c0
push edx
call dword [eax]
test eax, eax
jl 0x10948cf
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push dword [esi + 0x18]
push dword [esi + 0x14]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], 0
jl case.default.0x10946da
push dword [ebp + 8]
mov ecx, edi
call fcn.01094165
test eax, eax
jge 0x109493a
jmp case.default.0x10946da
mov dword [ebp - 4], eax
jmp case.default.0x10946da
push eax
push eax
push eax
push 0x136
push 0x103be90
push 0x10128f0
push dword [edi + 0x18]
call dword [sym.imp.SHLWAPI.dll_Ordinal_484]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x109491b
mov dword [ecx], eax
or dword [esi + 0x20], 0x1000
and dword [ebp - 4], 0
jmp case.default.0x10946da
mov esi, dword [esi + 0xc]
cmp esi, eax
je 0x109493a
cmp dword [esi + 4], 0x100
jne 0x109493a
cmp dword [esi + 8], 0x20
mov dword [ebp - 4], eax
je case.default.0x10946da
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4