Function at 0x4cee37
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d23f9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ebx, ebx
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
push dword [ebp + 8]
lea esi, [esp + 0x40]
mov dword [esp + 0x1c], eax
call fcn.004025ab
mov dword [esp + 0x80], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x80], 1
lea eax, [esp + 0x20]
push eax
mov esi, edi
call fcn.004ced35
mov esi, eax
mov dword [esp + 0x14], esi
call fcn.00402552
mov dword [esp + 0x24], eax
call fcn.00402532
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.004cfe9f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
and eax, 4
mov dword [esp + 0x28], eax
je 0x4ceefb
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
sub eax, esi
sub eax, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [esp + 0x48]
add ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
add eax, esi
and edx, 1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], edx
je 0x4cef4a
lea esi, [esp + 0x64]
mov ecx, edi
call fcn.004cf2ff
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
sub ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x18]
push ecx
push dword [esp + 0x70]
lea esi, [esp + 0x48]
push dword [esp + 0x70]
call fcn.00402572
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0041808f
mov byte [esp + 0x80], 2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
test al, al
jne 0x4cefa0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
cmp dword [esp + 0x24], ebx
je 0x4cefb6
mov dword [esp + 0x18], 0x20010
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
sub eax, esi
sub eax, dword [esp + 0x44]
push ebx
sub eax, 5
mov dword [esp + 0x60], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
call dword [eax + 0x24]
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
or ecx, 0x400
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d03a6
mov eax, dword [esp + 0x58]
add esp, 0x14
lea ecx, [esi + eax + 5]
cmp dword [esp + 0x28], ebx
je 0x4cf025
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x5c]
sub ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x4c]
lea ecx, [ecx + eax - 5]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
add eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x48]
push eax
push ecx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x24]
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
call fcn.004d03a6
add esp, 0x14
cmp byte [edi + 0x6c], bl
jne 0x4cf08f
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov byte [edi + 0x6c], al
cmp al, bl
je 0x4cf0d9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
test al, al
je 0x4cf0d9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x74]
test al, al
je 0x4cf0d9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
test al, al
je 0x4cf0d9
lea esi, [esp + 0x54]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
push 1
lea eax, [esp + 0x34]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x1c]
call fcn.004029ae
mov byte [esp + 0x80], bl
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x4cf0ff
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x20], ebx
or dword [esp + 0x80], 0xffffffff
push dword [esp + 0x3c]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4