Function at 0x10011f30
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
push ebx
push esi
mov esi, dword [esp + 0xb0]
push edi
push ebp
cmp esi, 8
ja 0x10011f84
cmp esi, 7
jae 0x10012039
cmp esi, 1
je 0x1001200d
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 0x10
cmp esi, 0x87
ja 0x10011f9d
je 0x100123a5
cmp esi, 0xf
je 0x10012050
jmp 0x10011f58
cmp esi, 0x200
ja 0x10011fb9
je 0x10012475
cmp esi, 0x100
je 0x100123af
jmp 0x10011f58
cmp esi, 0x805a
ja 0x10011fe4
je 0x10012524
cmp esi, 0x201
je 0x1001248b
cmp esi, 0x202
je 0x10012504
jmp 0x10011f58
cmp esi, 0x805b
je 0x10012539
cmp esi, 0x805c
je 0x10012590
cmp esi, 0x805d
je 0x100125a5
jmp 0x10011f58
mov eax, dword [esp + 0xb4]
push 0x32
push 0
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
call ebx
mov ecx, dword [esp + 0xb4]
push 0x640000
push 4
push ecx
call ebx
xor eax, eax
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10011f58
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
test esi, esi
je 0x1001238b
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 0x2c], eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
add ebx, dword [0x1003e9e4]
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x54]
push 0
cdq
sub eax, edx
lea ecx, [ebx + 1]
sar eax, 1
mov dword [esp + 0x24], eax
lea edi, [eax + 1]
push edi
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x50]
push edi
sub ecx, dword [0x1003e9e4]
dec ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub eax, 2
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [esp + 0x30], eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
push 0
sub eax, 5
mov dword [esp + 0x28], eax
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x20]
add eax, 6
mov dword [esp + 0x28], eax
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov edi, dword [esp + 0x1c]
push 0
dec edi
mov eax, dword [esp + 0x28]
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x28]
push eax
push edi
push esi
xor edi, edi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, 0xa
mov eax, dword [esp + 0x14]
cdq
idiv ecx
mov ecx, dword [esp + 0x20]
push 0
lea ebp, [ebx + eax]
lea eax, [edi - 4]
cmp eax, 1
sbb eax, eax
inc edi
and eax, 2
add eax, 2
sub ecx, eax
push ecx
push ebp
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x14], ecx
cmp edi, 9
jl 0x1001216d
mov eax, dword [esp + 0x20]
push 0
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
test edi, edi
je 0x1001223d
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
push 0
push eax
lea ecx, [ebx + 1]
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x28]
lea edx, [ebx + 1]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x24]
push 0
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x2c], 0
je 0x1001225b
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x30], 0
je 0x1001226d
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x10012278
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0xb4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx edi, ax
mov ebp, eax
push 0
mov eax, dword [esp + 0xb8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx eax, ax
shr ebp, 0x10
sub eax, edi
mov ecx, dword [esp + 0x34]
add ecx, 2
imul eax, ecx
movsx ecx, bp
cdq
sub ecx, edi
inc ecx
idiv ecx
add eax, ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
cmp edx, eax
jge 0x100122ca
mov dword [esp + 0x10], edx
push 0x62
mov eax, dword [0x100428cc]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edi, eax
test edi, edi
je 0x1001238b
lea eax, [esp + 0x58]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
push esi
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call ebp
mov ebx, eax
test ebx, ebx
je 0x10012384
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1001237d
sar dword [esp + 0x5c], 1
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esp + 0xb4]
jne 0x1001232d
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push 0xcc0020
mov ecx, dword [esp + 0x60]
push 0
push ebp
push ebx
push eax
push ecx
mov eax, 0xffffffff
sub eax, dword [esp + 0x78]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push eax
mov eax, 0xffffffff
sub eax, dword [esp + 0x78]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x10011f77
mov eax, 1
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx ecx, ax
shr eax, 0x10
mov dword [esp + 0x14], ecx
movsx ecx, ax
mov edi, ecx
mov dword [esp + 0x18], ecx
sub edi, dword [esp + 0x14]
inc edi
test edi, edi
jle 0x10011f58
mov eax, dword [esp + 0xb4]
push 0
push eax
mov ebx, 1
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx eax, ax
mov esi, eax
push 0x11
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10012418
mov ebx, edi
sar ebx, 3
test ebx, ebx
jne 0x10012418
mov ebx, 1
mov eax, dword [esp + 0xbc]
sub eax, 0x23
cmp eax, 4
ja case.0x10012427.38
jmp dword [eax*4 + 0x10012708]
mov esi, dword [esp + 0x18]
jmp case.0x10012427.38
mov esi, dword [esp + 0x14]
jmp case.0x10012427.38
mov esi, dword [esp + 0x10]
sub esi, ebx
jmp case.0x10012427.38
mov esi, dword [esp + 0x10]
add esi, ebx
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
add ebx, dword [0x1003e9e4]
sub ebp, dword [0x1003e9e4]
dec ebp
jmp 0x10012636
test byte [esp + 0xbc], 1
je 0x10011f58
cmp esi, 0x201
jne 0x100124b6
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esp + 0xb4]
je 0x100124a8
mov eax, dword [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0xb4]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx eax, ax
mov ecx, dword [esp + 0xb4]
push 4
mov dword [esp + 0x14], eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx ecx, ax
shr eax, 0x10
mov dword [esp + 0x14], ecx
movsx ecx, ax
mov edi, ecx
mov dword [esp + 0x18], ecx
sub edi, dword [esp + 0x14]
inc edi
test edi, edi
jg 0x100125e7
xor eax, eax
jmp 0x10011f77
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0xb4]
jne 0x10011f58
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
movsx ecx, ax
movsx esi, word [esp + 0xc0]
shr eax, 0x10
cmp ecx, esi
movsx eax, ax
jle 0x10012560
mov esi, ecx
cmp eax, esi
jge 0x10012566
mov esi, eax
mov eax, dword [esp + 0xb4]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0xb4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x10011f77
mov eax, dword [esp + 0xc0]
shr eax, 0x10
movsx edx, word [esp + 0xc0]
movsx ecx, ax
cmp ecx, edx
jge 0x100125c4
mov eax, edx
mov edx, ecx
mov ecx, eax
movzx esi, cx
movzx eax, dx
shl esi, 0x10
or esi, eax
mov eax, dword [esp + 0xb4]
push esi
push 4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, esi
jmp 0x10011f77
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xb4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
movsx ecx, word [esp + 0xc0]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
add ebx, dword [0x1003e9e4]
sub ebp, dword [0x1003e9e4]
dec ebp
sub ecx, ebx
jns 0x1001261d
xor ecx, ecx
mov esi, ebp
sub esi, ebx
dec esi
cmp ecx, esi
jl 0x10012628
mov ecx, esi
mov eax, edi
imul eax, ecx
cdq
idiv esi
mov esi, dword [esp + 0x14]
add esi, eax
cmp esi, dword [esp + 0x10]
jne 0x10012643
xor eax, eax
jmp 0x10011f77
cmp dword [esp + 0x14], esi
jle 0x1001264d
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jge 0x10012657
mov esi, dword [esp + 0x18]
sub ebp, ebx
mov eax, dword [esp + 0x10]
inc ebp
sub eax, dword [esp + 0x14]
imul eax, ebp
cdq
idiv edi
lea ecx, [ebx + eax]
mov eax, esi
sub eax, dword [esp + 0x14]
imul eax, ebp
cdq
idiv edi
lea edx, [ebx + eax]
cmp edx, ecx
jge 0x10012684
mov eax, ecx
mov ecx, edx
mov edx, eax
mov eax, dword [0x1003e9e4]
sub ecx, dword [0x1003e9e4]
add eax, edx
push 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
mov eax, dword [esp + 0xb8]
push ecx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x100126c9
xor eax, eax
jmp 0x10011f77
mov eax, dword [esp + 0xb4]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0xb4]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx eax, ax
shl eax, 0x10
or eax, 0x114
push eax
push 0x210
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
jmp 0x10011f77