Function at 0x4e0210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57797d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], eax
xorps xmm0, xmm0
mov eax, dword [edi]
push ecx
mov ecx, edi
movups xmmword [ebp - 0x20], xmm0
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
mov esi, eax
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x60], esi
push eax
push dword [ebp - 0x64]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
call fcn.004e0170
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push ecx
mov dword [ebp - 0x58], 0
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, eax
mov eax, dword [ebp - 0x5c]
test ecx, ecx
je 0x4e02c2
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push ecx
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x4e02e2
mov eax, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
call fcn.004df1b0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov eax, esi
and eax, 4
mov dword [ebp - 0x78], eax
je 0x4e030f
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x6c]
sub eax, esi
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x70]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x54]
sar edx, 1
add ecx, eax
add edx, dword [ebp - 0x1c]
add esi, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
and esi, 1
je 0x4e038e
mov eax, dword [edi]
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [ebp - 0x50], xmm0
mov eax, dword [eax + 8]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call edx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x48]
push 0
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
neg eax
mov edx, dword [ebp - 0x34]
neg ecx
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], eax
sub dword [ebp - 0x58], edx
sub ecx, eax
push dword [ebp - 0x58]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 4]
push dword [ebp - 0x74]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
mov ecx, dword [ebp - 0x7c]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x7c], ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00409540
add eax, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x5c], eax
mov edx, dword [edx + 0x80]
call edx
test al, al
jne 0x4e03f2
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x5c], eax
shl esi, 0x11
mov ecx, edi
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
sub eax, esi
sub eax, dword [ebp - 0x20]
sub eax, 5
mov dword [ebp - 0x28], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
or edx, 0x400
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004e13a0
mov eax, dword [ebp - 0x20]
add esp, 0x14
lea ecx, [eax + 5]
add ecx, esi
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0x58], ecx
je 0x4e0472
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
sub ecx, esi
sub ecx, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffb
add eax, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi]
mov ecx, edi
push 0
mov eax, dword [eax + 0x2c]
call eax
mov esi, dword [ebp - 0x64]
mov ecx, esi
mov edx, dword [ebp - 0x60]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004e13a0
mov al, byte [edi + 0x80]
add esp, 0x14
test al, al
jne 0x4e04e2
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
seta al
mov byte [edi + 0x80], al
test al, al
je 0x4e0530
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x70]
call eax
test al, al
je 0x4e0530
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x80]
call eax
test al, al
je 0x4e0530
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x4e0530
movups xmm0, xmmword [ebp - 0x30]
push 1
push 1
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e054f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x4e0560
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x74]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052df57
mov esp, ebp
pop ebp
ret 4