Function at 0x102441d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10413a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], esi
cmp dword [0x1043890], ecx
je 0x102445a
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x1024757
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x201
cmp edi, eax
ja 0x10246aa
je 0x10246d0
mov eax, 0x113
cmp edi, eax
ja 0x1024557
je 0x1024549
mov eax, edi
dec eax
je 0x1024537
sub eax, 0xe
je 0x10244ca
sub eax, 5
je 0x10244be
sub eax, 0xc
jne 0x1024717
cmp word [ebp + 0x14], 1
jne 0x1024717
push ebx
call fcn.01011d99
test eax, eax
je 0x1024717
jmp 0x1024754
push esi
push ebx
call fcn.01023e83
jmp 0x1024756
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
push ebx
call fcn.01011d99
mov esi, eax
test esi, esi
je 0x1024527
mov ebx, dword [esi + 4]
xor edx, edx
inc edx
mov ecx, esi
call fcn.0102bed8
push dword [ebp - 0x44]
push esi
call fcn.0102c1ca
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.0102c19f
cmp dword [esi + 0x74], 0
je 0x1024514
push 1
push 1
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_ShowScrollBar]
push ebx
push esi
call fcn.0102c1ca
xor edx, edx
mov ecx, esi
call fcn.0102bed8
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1024754
push 0x80000000
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x1024754
push esi
push eax
mov edi, ebx
call fcn.01024162
jmp 0x1024754
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov eax, edi
sub eax, 0x114
mov ebx, 0x8000
je 0x10245e2
dec eax
je 0x1024584
sub eax, 0xeb
mov ebx, dword [ebp - 0x48]
je 0x10246d6
mov esi, dword [ebp - 0x4c]
jmp 0x1024717
cmp word [ebp - 0x4c], 8
jne 0x1024604
push 0x11
call esi
mov ecx, ebx
test cx, ax
je 0x10245a1
push 9
call esi
mov ecx, ebx
test cx, ax
jne 0x10245a8
push 0
call fcn.0102432b
cmp dword [0x1042090], 0
je 0x10245e9
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x48]
call fcn.0101f50c
push 0x23
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 0
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_SetWindowPos]
and dword [0x1042090], 0
jmp 0x1024754
cmp word [ebp - 0x4c], 8
jne 0x1024604
push 0x11
call esi
mov ecx, ebx
test cx, ax
je 0x10245fd
push 9
call esi
test bx, ax
jne 0x1024604
push 0
call fcn.0102432b
push dword [ebp - 0x48]
call fcn.01011d99
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1024754
movzx eax, word [ebp - 0x4c]
sub eax, 0
je 0x1024650
dec eax
je 0x102464c
dec eax
je 0x1024647
dec eax
je 0x1024643
dec eax
je 0x102463f
dec eax
dec eax
je 0x102463b
dec eax
jne 0x1024754
push 6
jmp 0x1024652
push 5
jmp 0x1024652
push 0x14
jmp 0x1024652
push 2
jmp 0x1024652
xor ebx, ebx
inc ebx
jmp 0x1024653
push 4
jmp 0x1024652
push 3
pop ebx
push dword [ebp - 0x50]
xor eax, eax
push dword [ebp - 0x48]
cmp edi, 0x115
sete al
inc eax
mov esi, eax
call fcn.01023f0f
mov edi, eax
test edi, edi
je 0x1024754
cmp ebx, 0x14
je 0x1024689
push 1
push esi
push ebx
push dword [ebp - 0x50]
call fcn.0102bfa8
jmp 0x1024699
mov eax, dword [ebp - 0x4c]
push esi
shr eax, 0x10
push eax
push dword [ebp - 0x50]
call fcn.0102c155
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x48]
call fcn.01023f35
jmp 0x1024754
mov eax, 0x206
cmp edi, eax
ja 0x1024701
je 0x10246d0
add eax, 0xfffffffc
cmp edi, eax
je 0x10246d6
jbe 0x1024717
cmp edi, 0x204
jbe 0x10246d0
cmp edi, 0x205
je 0x10246d6
jmp 0x1024717
push ecx
call fcn.0102432b
push ebx
call fcn.01011d99
mov esi, eax
test esi, esi
je 0x1024754
push esi
push ebx
call fcn.01023f0f
mov ebx, eax
test ebx, ebx
je 0x1024754
push dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
push edi
push eax
push esi
call fcn.0102c224
push ebx
push esi
jmp 0x102469d
mov ecx, edi
mov eax, 0x311
sub ecx, eax
je 0x1024749
sub ecx, 0x6d5b
je 0x1024730
dec ecx
je 0x1024725
push dword [ebp + 0x14]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x1024756
push dword [ebp + 0x14]
push esi
push 0x706d
jmp 0x1024739
push dword [ebp + 0x14]
push esi
push 0x706c
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1024756
push dword [ebp + 0x14]
push esi
push eax
push ebx
call fcn.01027d6e
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0103d1ec
leave
ret 0x10