Function at 0x10024680
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x101f0ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
push 0x11
mov dword [esp + 0x20], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
and al, 1
je 0x100248b6
xor ebx, ebx
mov ebp, 7
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov dword [esp + 0x68], ebx
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100246f0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x2c]
call fcn.10007a00
push 4
call fcn.101d19a9
mov edi, eax
mov word [edi], 0x7f
mov word [edi + 2], bx
add esp, 4
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10024730
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x48]
call fcn.10007a00
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
push 0xb0
push ecx
call ebp
mov esi, dword [esp + 0x58]
cmp esi, 8
mov eax, dword [esp + 0x44]
jae 0x1002477f
lea eax, [esp + 0x44]
mov ebx, dword [esp + 0x54]
push eax
xor eax, eax
lea edx, [esp + 0x28]
call fcn.10016200
xor ebx, ebx
cmp eax, ebx
jge 0x100247f0
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0x68], bl
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x100247ba
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x3c], esi
jb 0x100247e7
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x3c], edi
jmp 0x100248ad
cmp esi, 8
mov eax, dword [esp + 0x44]
jae 0x100247fd
lea eax, [esp + 0x44]
push 0x1022fcf8
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.1019c680
sub dword [esp + 0x20], 1
add esp, 0xc
cmp dword [esp + 0x38], ebx
je 0x10024829
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.100248e0
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x2c]
mov edi, 8
add esp, 4
cmp dword [esp + 0x3c], edi
jae 0x10024845
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push eax
push eax
push 0xb1
push ecx
call ebp
mov byte [esp + 0x68], bl
cmp dword [esp + 0x58], edi
jb 0x1002487c
mov edx, dword [esp + 0x44]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x3c], edi
jb 0x100248a9
mov eax, dword [esp + 0x28]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x3c], esi
mov word [esp + 0x28], bx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.101d19cc
add esp, 0x58
ret 4