Function at 0x10026ec
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1046080]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, 0x8004
cmp ecx, eax
push edi
mov edi, dword [ebp + 0xc]
jg 0x1005ef5
je case.0x1002725.4
lea eax, [ecx - 1]
cmp eax, 0xe
ja case.0x1002725.8
jmp dword [eax*4 + 0x10028d7]
push edi
mov ecx, esi
call fcn.01002669
cmp eax, 0xffffffff
jne 0x1003faf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b2f
leave
ret 8
lea eax, [edi + 4]
push eax
push dword [edi]
mov ecx, esi
call fcn.0102ae11
jmp 0x100286f
mov dword [esi + 0x58], edi
jmp case.0x1002725.8
mov eax, dword [esi + 0x58]
xor ebx, ebx
cmp eax, ebx
je case.0x1002725.8
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.010053a4
push edi
mov ecx, esi
call fcn.01002669
cmp eax, 0xffffffff
mov dword [ebp - 0x210], eax
je 0x10027e2
push 1
push ebx
push eax
mov ecx, esi
call fcn.0100209c
mov edi, eax
mov eax, dword [esi + 0x58]
mov dword [edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x58]
call fcn.010058b3
push dword [ebp - 0x210]
mov ecx, esi
call fcn.010026bb
push 1
push ebx
push eax
mov ecx, esi
call fcn.0100209c
lea ecx, [ebp - 0x20c]
push ecx
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
neg eax
mov dword [edi + 0x20], eax
mov dword [esi + 0x58], ebx
jmp case.0x1002725.8
push 1
push dword [0x1046090]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
push dword [0x1046090]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x1002725.8
cmp edi, 0xffffffff
jne 0x1002815
call fcn.01038637
jmp 0x100286f
mov eax, dword [esi + 0x68]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jne 0x100285c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x100285c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1046820]
xor edx, edx
cmp eax, dword [0x1046090]
sete dl
cmp ecx, ebx
je 0x100284e
cmp eax, ecx
jne 0x100284e
xor edx, edx
inc edx
mov edi, dword [esi + 0x54]
cmp edi, ebx
jne 0x1002877
cmp edx, ebx
jne 0x100285c
mov dword [esi + 0x54], eax
push ebx
push ebx
push 0x504
push dword [0x1046090]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
jmp 0x100273f
cmp edx, ebx
je 0x100285c
mov ecx, esi
call fcn.0102ac4d
push edi
call fcn.01038759
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esi + 0x54], ebx
jmp 0x100286f
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_EndTask]
jmp case.0x1002725.8
shr edi, 0x10
and edi, 0xfff
push edi
mov ecx, esi
call fcn.01029fb8
jmp 0x100273f
push edi
mov ecx, esi
call fcn.0102a2a4
jmp case.0x1002725.8
push 0xffffffffffffffff
push eax
push edi
mov ecx, esi
call fcn.01003fd8
jmp case.0x1002725.8
push edi
mov ecx, esi
call fcn.01002998
jmp case.0x1002725.8
push 1
push edi
mov ecx, esi
call fcn.01003803
jmp case.0x1002725.8
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
call fcn.0100209c
or byte [eax + 5], 1
push ebx
push 0x64
push 4
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x1002725.8
push edi
mov ecx, esi
call fcn.01005a3c
jmp case.0x1002725.8
mov eax, 0x8006
cmp ecx, eax
je 0x10028c7
jmp case.0x1002725.8