Function at 0x1002467b
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
test byte [esi + 0x6c], 0x80
je 0x10024894
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
push ebx
push edi
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x60]
mov eax, dword [esi + 0x6c]
test eax, 0x20000
mov ebx, dword [ebp + 8]
jne 0x100246af
test al, 2
je 0x1002472e
movzx ecx, word [0x100769d8]
mov eax, dword [esi + 0x98]
add ecx, 3
cmp eax, ebx
jle 0x100246ca
sub eax, ebx
mov dword [ebp + 8], eax
jmp 0x100246d1
mov edx, ebx
sub edx, eax
mov dword [ebp + 8], edx
mov eax, dword [esi + 0x9c]
mov edi, dword [ebp + 0xc]
cmp eax, edi
jle 0x100246e4
sub eax, edi
mov edx, eax
jmp 0x100246e8
mov edx, edi
sub edx, eax
cmp dword [ebp + 8], ecx
jge 0x10024717
cmp edx, ecx
jge 0x10024717
test byte [esi + 0x6c], 2
je 0x10024709
test ebx, ebx
jle 0x10024717
cmp ebx, dword [ebp - 0x18]
jge 0x10024717
test edi, edi
jle 0x10024717
cmp edi, dword [ebp - 0x14]
jge 0x10024717
mov al, byte [ebp + 0x10]
mov byte [esi + 0x8f], al
jmp 0x10024892
mov eax, dword [esi + 0x6c]
mov ecx, eax
shl ecx, 0xd
xor ecx, eax
and ecx, 0x40000000
xor ecx, eax
mov dword [esi + 0x6c], ecx
jmp 0x10024731
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x9c], edi
movzx edi, di
movzx eax, bx
push 0
shl edi, 0x10
or edi, eax
push edi
push 0
push 0x200
mov ecx, esi
mov dword [esi + 0x98], ebx
call fcn.10022d44
test eax, eax
jne 0x10024892
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x100247c9
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x100247c9
push 4
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x1002488e
test byte [esi + 0xc], 2
jne 0x1002488e
test byte [esi + 0x6f], 1
je 0x100247aa
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push ebx
call fcn.1002171d
test byte [esi + 0x6d], 2
je 0x1002488e
push 1
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push ebx
call fcn.10023d7e
jmp 0x1002488e
mov ecx, esi
call fcn.1001f6da
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6c]
test eax, 0x20000
je 0x1002482b
test al, 0x10
jne 0x1002482b
and eax, 4
push edi
push dword [ebp + 0x10]
or eax, 0xc00
shr eax, 2
push eax
mov ecx, esi
call fcn.10023e97
test eax, eax
jne 0x1002482b
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
push 0x1b2
call dword [eax + 0x3c]
push dword [ebp + 0x14]
lea ecx, [esi + 0x40]
push dword [ebp + 8]
call fcn.10037a78
mov ecx, dword [esi + 0x28]
and byte [esi + 0x6d], 0xfd
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
and dword [esi + 0x6c], 0xfffffffd
jmp 0x1002488e
test byte [esi + 0x6d], 2
je 0x1002488e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
cmp ebx, eax
mov dword [ebp - 8], ebx
jl 0x1002484e
add eax, 5
cmp ebx, eax
jge 0x1002484e
add ebx, 5
mov dword [ebp - 8], ebx
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100181b4
lea ecx, [esi + 0x40]
call fcn.1001ec48
test eax, eax
je 0x10024879
mov ecx, dword [esi + 0x30]
lea eax, [esi + 0x98]
push eax
call fcn.10017f05
push dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.10058de5
mov ecx, esi
call fcn.1001f34b
and byte [esi + 0x6e], 0xfd
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 0x10