Function at 0x109368c
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.0x10936b2
jmp dword [ebx*4 + 0x1093923]
xor eax, eax
jmp 0x109391c
mov ecx, dword [edi + 0x4c]
cmp ecx, eax
je case.default.0x10936b2
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push 0x1066a3c
push ecx
call dword [eax]
test eax, eax
jl case.default.0x10936b2
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 0x1093717
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
setge cl
test byte [esi + 0x20], 0x10
mov dword [ebp - 4], ecx
je 0x109376b
mov dword [edi + 0xa8], eax
jmp 0x109376b
test byte [esi + 0x20], 0x10
je 0x1093730
mov eax, dword [esi + 0xc]
cmp dword [eax + 4], 0x201
jne 0x1093730
mov dword [ebp - 4], 1
mov edi, dword [edi + 0x4c]
lea ecx, [ebp + 8]
push ecx
xor ebx, ebx
push 0x1066a2c
mov dword [ebp + 8], ebx
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x1093757
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 0x109376b
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.0x10936b2
mov edi, dword [edi + 0x4c]
cmp edi, eax
je case.default.0x10936b2
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], 1
cmp ecx, 0x26
je 0x10937a1
cmp ecx, 0x28
jne 0x10937f1
lea ecx, [ebp + 8]
push ecx
push 0x1011cf0
mov dword [ebp + 8], eax
mov eax, dword [edi]
push edi
call dword [eax]
test eax, eax
jl 0x10937dc
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 0x10937e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x10937f7
xor eax, eax
or dword [esi + 0x10], 0xffffffff
jmp 0x1093804
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.0x10936b2
cmp dword [edi + 0x90], eax
jne 0x1093856
cmp dword [edi + 0x80], eax
jne 0x1093856
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 0x1093849
push 0x11
call esi
test ax, ax
jge 0x1093849
mov eax, ebx
jmp 0x109384b
xor eax, eax
mov dword [edi + 0x98], eax
jmp case.default.0x10936b2
mov edx, dword [edi + 0x4c]
cmp edx, eax
je case.default.0x10936b2
or dword [ebp + 8], 0xffffffff
test ecx, 0x400
je 0x1093879
mov ecx, edi
call fcn.01091b41
mov dword [ebp + 8], eax
jmp 0x10938a7
mov eax, dword [edx]
lea ecx, [ebp - 0xc]
push ecx
push 0x1066a3c
push edx
call dword [eax]
test eax, eax
jl 0x10938a7
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.0x10936b2
push dword [ebp + 8]
mov ecx, edi
call fcn.01093139
test eax, eax
jge 0x1093912
jmp case.default.0x10936b2
mov dword [ebp - 4], eax
jmp case.default.0x10936b2
push eax
push eax
push eax
push 0x136
push 0x1035f34
push 0x100fbc8
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 0x10938f3
mov dword [ecx], eax
or dword [esi + 0x20], 0x1000
and dword [ebp - 4], 0
jmp case.default.0x10936b2
mov esi, dword [esi + 0xc]
cmp esi, eax
je 0x1093912
cmp dword [esi + 4], 0x100
jne 0x1093912
cmp dword [esi + 8], 0x20
mov dword [ebp - 4], eax
je case.default.0x10936b2
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4