Function at 0x4d8f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5d0074]
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 [edi]
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push ecx
mov ecx, edi
mov dword [ebp - 0x60], esi
movups xmmword [ebp - 0x30], xmm0
call dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [ebp - 0x54], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], 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.004d8ee0
mov esi, eax
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x64], esi
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x4d902e
mov dword [esi + 8], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x4d9049
mov dword [esi + 8], eax
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.004d7d70
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
and eax, 4
mov dword [ebp - 0x7c], eax
je 0x4d9077
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x6c]
sub eax, esi
sub eax, dword [ebp - 0x2c]
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 - 0x2c]
add esi, edx
mov dword [ebp - 0x40], eax
and dword [ebp - 0x5c], 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
je 0x4d90ee
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 esi, dword [ebp - 0x34]
neg ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], eax
sub esi, edx
sub ecx, eax
push esi
push ecx
push edx
push eax
mov eax, dword [ebp - 0x64]
push dword [eax + 4]
push dword [ebp - 0x78]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
mov ecx, dword [ebp - 0x80]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x80], ecx
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0040be70
add eax, 0x10
mov dword [ebp - 0x58], 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 esi, eax
mov dword [ebp - 0x54], eax
mov edx, dword [edx + 0x80]
call edx
test al, al
jne 0x4d9151
mov esi, dword [edi + 0x28]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x5c]
mov ecx, edi
shl eax, 0x11
add eax, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x30]
sub eax, 5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], 0
mov eax, dword [eax + 0x2c]
call eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
or eax, 0x400
mov dword [ebp - 0x64], eax
call fcn.00490fe0
test al, al
je 0x4d91cb
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
test eax, eax
je 0x4d91cb
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x20]
push 0
push dword [ebp - 0x74]
push esi
mov esi, dword [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004da270
add esp, 0x14
jmp 0x4d91e7
push dword [ebp - 0x74]
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x60]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004da1d0
add esp, 0x10
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x70]
lea ecx, [edx + 5]
add ecx, eax
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x60], ecx
je 0x4d9210
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, dword [ebp - 0x28]
sub ecx, edx
add eax, 0xfffffffb
add eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
mov dword [ebp - 0x60], eax
call fcn.00490fe0
test al, al
je 0x4d9270
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
test eax, eax
je 0x4d9270
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
push 0
push dword [ebp - 0x60]
mov ecx, esi
push dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004da270
add esp, 0x14
jmp 0x4d928b
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004da1d0
add esp, 0x10
mov al, byte [edi + 0x80]
test al, al
jne 0x4d92b2
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 0x4d9300
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x70]
call eax
test al, al
je 0x4d9300
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x80]
call eax
test al, al
je 0x4d9300
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x4d9300
movups xmm0, xmmword [ebp - 0x20]
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 - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d931f
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 0x4d9330
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x78]
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.00520c02
mov esp, ebp
pop ebp
ret 4