Function at 0x10099aa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x105
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, dword [edi + 4]
cmp esi, eax
ja 0x10099d16
je 0x10099c3f
cmp esi, 0xa8
ja 0x10099b19
cmp esi, 0xa7
jae 0x10099afc
cmp esi, 0x7b
je 0x10099b4d
cmp esi, 0xa0
jbe 0x10099bae
cmp esi, 0xa2
jbe 0x10099afc
lea eax, [esi - 0xa4]
cmp eax, 1
ja 0x10099bae
push dword [edi]
movsx ecx, word [edi + 0xe]
movsx edx, word [edi + 0xc]
push ecx
push edx
push esi
lea ecx, [ebx + 0x350]
call fcn.100c381f
jmp 0x10099baa
sub esi, 0x100
je 0x10099bbf
sub esi, 4
jne 0x10099bae
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x10099b4d
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
call fcn.100f9a0c
test eax, eax
je 0x10099b4d
xor eax, eax
inc eax
jmp 0x10099bb6
call fcn.10020fb1
xor esi, esi
cmp dword [eax + 0x1a4], esi
jne 0x10099b7d
call fcn.10020fb1
cmp dword [eax + 0x1a0], esi
jne 0x10099b7d
call fcn.10020fb1
mov dword [eax + 0x1a0], 1
call fcn.10050b62
call fcn.10069e9e
test eax, eax
je 0x10099b9b
cmp dword [edi + 8], 0x12
jne 0x10099b9b
push esi
push esi
push 0x10
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10099b48
push esi
push dword [edi + 8]
lea ecx, [ebx + 0x350]
call fcn.100c3592
test eax, eax
jne 0x10099b48
push edi
mov ecx, ebx
call fcn.100ea83e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.100c2284
xor esi, esi
test eax, eax
jne 0x10099be2
push esi
push dword [edi + 8]
lea ecx, [ebx + 0x350]
call fcn.100c3592
test eax, eax
jne 0x10099b48
cmp dword [edi + 8], 0x1b
jne 0x10099bae
cmp dword [ebx + 0x420], esi
je 0x10099bfc
push ebx
lea ecx, [ebx + 0x408]
call fcn.10106748
mov ecx, dword [ebx + 0x318]
test ecx, ecx
je 0x10099c15
cmp dword [ecx + 8], esi
je 0x10099c15
cmp dword [ecx + 4], esi
je 0x10099c15
call fcn.100abc5a
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.100114f7
push eax
push 0x10172248
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x10099bae
push esi
push esi
push 0x1f
jmp 0x10099b90
mov ecx, dword [ebx + 0x44c]
test ecx, ecx
je 0x10099c5d
push dword [edi + 0xc]
push dword [edi + 8]
push ebx
call fcn.100f9b5d
test eax, eax
jne 0x10099b48
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and eax, 1
push 0x10
mov dword [ebp - 8], eax
call esi
push dword [ebx + 0x20]
shr eax, 0xf
and eax, 1
mov dword [ebp - 0xc], eax
call sub.IMM32.dll_ImmGetContext
xor esi, esi
mov dword [ebp - 4], eax
test eax, eax
je 0x10099c9f
push eax
call sub.IMM32.dll_ImmGetOpenStatus
mov dword [ebp + 8], 1
test eax, eax
jne 0x10099ca2
mov dword [ebp + 8], esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x10099cb2
push eax
push dword [ebx + 0x20]
call sub.IMM32.dll_ImmReleaseContext
cmp dword [ebx + 0x3fc], esi
je 0x10099d0c
cmp dword [edi + 8], 0x12
je 0x10099cd5
cmp dword [edi + 8], 0x79
jne 0x10099d0c
cmp dword [ebp - 8], esi
jne 0x10099d0c
cmp dword [ebp - 0xc], esi
jne 0x10099d0c
cmp dword [ebp + 8], esi
jne 0x10099d0c
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.100114f7
mov ecx, dword [ebx + 0x3fc]
cmp ecx, eax
jne 0x10099cef
mov ecx, ebx
jmp 0x10099d02
cmp dword [edi + 8], 0x12
je 0x10099d02
test dword [edi + 0xc], 0x20000000
jne 0x10099b48
call fcn.10015f57
jmp 0x10099b48
call fcn.10069e9e
jmp 0x10099baa
cmp esi, 0x200
je 0x10099ddd
cmp esi, 0x201
je 0x10099d74
cmp esi, 0x203
jbe 0x10099bae
cmp esi, 0x205
jbe 0x10099d74
cmp esi, 0x206
jbe 0x10099bae
cmp esi, 0x208
jbe 0x10099d74
cmp esi, 0x20a
jne 0x10099bae
push dword [edi + 0xc]
lea ecx, [ebx + 0x350]
push dword [edi + 8]
call fcn.100c3ed7
jmp 0x10099baa
movsx eax, word [edi + 0xc]
push dword [edi]
mov dword [ebp - 0x10], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0xc], eax
call fcn.100114f7
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp + 8], eax
test eax, eax
je 0x10099dae
push dword [edi]
call esi
test eax, eax
je 0x10099dae
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [edi]
lea ecx, [ebx + 0x350]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [edi + 4]
call fcn.100c381f
test eax, eax
jne 0x10099b48
push dword [edi]
call esi
test eax, eax
jne 0x10099bae
jmp 0x10099b48
movsx eax, word [edi + 0xc]
push dword [edi]
mov dword [ebp - 0x10], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0xc], eax
call fcn.100114f7
test eax, eax
je 0x10099e03
lea ecx, [ebp - 0x10]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0xc]
lea ecx, [ebx + 0x350]
push dword [ebp - 0x10]
call fcn.100c3def
jmp 0x10099baa