Function at 0x43d887
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
push str.ColorDrop
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
push 1
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
setl cl
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call edi
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call ebx
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebp - 0xc], 0
mov ecx, 0x679328
mov dword [ebp - 8], ecx
jmp 0x43d915
mov ecx, dword [ebp - 8]
mov ax, word [esi + 0x20]
cmp ax, 0xffff
je 0x43d935
movsx edx, ax
mov eax, dword [ecx]
sub eax, dword [edx*4 + 0x679328]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x43d939
and dword [ebp - 0x14], 0
mov eax, dword [ecx]
sub eax, dword [esi + 0x1c]
neg eax
sbb eax, eax
inc eax
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
jne 0x43d955
test eax, eax
jne 0x43d955
and dword [ebp - 0x10], eax
jmp 0x43d95c
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
push esi
call fcn.0043d74b
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call fcn.0043da80
add dword [ebp - 8], 4
add esp, 0x24
inc dword [ebp - 0xc]
cmp word [ebp - 0xc], 0x10
jl 0x43d912
push 0x10
call edi
push eax
call ebx
and dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x58
push eax
movsx ecx, word [esi + 8]
push dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x59
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x14
call edi
push eax
call ebx
inc dword [ebp - 0x28]
inc dword [ebp - 0x20]
mov edi, eax
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ax, word [esi + 0x20]
mov ecx, dword [0x679368]
cmp ax, 0xffff
je 0x43da19
movsx eax, ax
xor edx, edx
cmp ecx, dword [eax*4 + 0x679328]
sete dl
mov edi, edx
jmp 0x43da1b
xor edi, edi
cmp ecx, dword [esi + 0x1c]
jne 0x43da2b
cmp dword [ebp - 0x10], 0
jne 0x43da2b
push 1
pop ecx
jmp 0x43da2d
xor ecx, ecx
movsx eax, word [esi + 8]
sub eax, dword [esi + 0x14]
push 0x60
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x14]
add edx, eax
pop eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov edx, dword [esi + 0x18]
push ecx
push edi
add edx, eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x2c]
push dword [esi + 0x10]
push eax
push dword [ebp - 4]
call fcn.0043dc2e
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret