Function at 0x1095134
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.0x109515a
jmp dword [ebx*4 + 0x10953cb]
xor eax, eax
jmp 0x10953c4
mov ecx, dword [edi + 0x4c]
cmp ecx, eax
je case.default.0x109515a
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push 0x1069ac0
push ecx
call dword [eax]
test eax, eax
jl case.default.0x109515a
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 0x10951bf
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
setge cl
test byte [esi + 0x20], 0x10
mov dword [ebp - 4], ecx
je 0x1095213
mov dword [edi + 0xa8], eax
jmp 0x1095213
test byte [esi + 0x20], 0x10
je 0x10951d8
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0x201
jne 0x10951d8
mov dword [ebp - 4], 1
mov edi, dword [edi + 0x4c]
lea ecx, [ebp + 8]
push ecx
xor ebx, ebx
push 0x1069ab0
mov dword [ebp + 8], ebx
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x10951ff
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 0x1095213
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.0x109515a
mov edi, dword [edi + 0x4c]
cmp edi, eax
je case.default.0x109515a
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], 1
cmp ecx, 0x26
je 0x1095249
cmp ecx, 0x28
jne 0x1095299
lea ecx, [ebp + 8]
push ecx
push 0x1034be0
mov dword [ebp + 8], eax
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x1095284
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 0x1095291
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x109529f
xor eax, eax
or dword [esi + 0x10], 0xffffffff
jmp 0x10952ac
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.0x109515a
cmp dword [edi + 0x90], eax
jne 0x10952fe
cmp dword [edi + 0x80], eax
jne 0x10952fe
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 0x10952f1
push 0x11
call esi
test ax, ax
jge 0x10952f1
mov eax, ebx
jmp 0x10952f3
xor eax, eax
mov dword [edi + 0x98], eax
jmp case.default.0x109515a
mov edx, dword [edi + 0x4c]
cmp edx, eax
je case.default.0x109515a
or dword [ebp + 8], 0xffffffff
test ecx, 0x400
je 0x1095321
mov ecx, edi
call fcn.01093609
mov dword [ebp + 8], eax
jmp 0x109534f
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
push 0x1069ac0
push edx
call dword [eax]
test eax, eax
jl 0x109534f
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.0x109515a
push dword [ebp + 8]
mov ecx, edi
call fcn.01094be1
test eax, eax
jge 0x10953ba
jmp case.default.0x109515a
mov dword [ebp - 4], eax
jmp case.default.0x109515a
push eax
push eax
push eax
push 0x136
push 0x103c010
push 0x10128c0
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 0x109539b
mov dword [ecx], eax
or dword [esi + 0x20], 0x1000
and dword [ebp - 4], 0
jmp case.default.0x109515a
mov esi, dword [esi + 0xc]
cmp esi, eax
je 0x10953ba
cmp dword [esi + 4], 0x100
jne 0x10953ba
cmp dword [esi + 8], 0x20
mov dword [ebp - 4], eax
je case.default.0x109515a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4