Function at 0x471c20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551630
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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 dword [ebp - 0x84], edi
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x472049
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp + 8]
call fcn.00417f10
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movups xmm0, xmmword [ebp - 0x40]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push dword [ebp + 8]
movups xmmword [ebp - 0x30], xmm0
call esi
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, 0xd
mov dword [ebp - 0x7c], ecx
cmp eax, 0x60
je 0x471ce8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x597440]
divsd xmm0, qword [0x597448]
addsd xmm0, qword [0x597410]
cvttsd2si ecx, xmm0
mov dword [ebp - 0x7c], ecx
cmp byte [ebp + 0xc], 0
je 0x471cfd
mov eax, 0xfffffffc
sub eax, ecx
add dword [ebp - 0x38], eax
sub dword [ebp - 0x28], ecx
jmp 0x471d06
lea eax, [ecx + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x47200a
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ValidateRect]
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00417d90
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
push dword [ebp - 0x70]
push 0x135
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [edi], 0
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x80], eax
je 0x471d6b
push dword [edi + 4]
push dword [ebp - 0x70]
call esi
lea eax, [ebp - 0x8c]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x70]
movlpd qword [ebp - 0x8c], xmm0
call dword [sym.imp.GDI32.dll_GetBrushOrgEx]
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x7c]
push 0
push dword [ebp - 0x88]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
push dword [ebp - 0x80]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_FillRect]
push 0
push 0
push 0x31
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x71], 0
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x471df7
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x70]
call esi
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x71], 1
movzx eax, byte [ebp + 0x10]
movups xmm0, xmmword [ebp - 0x40]
mov esi, dword [ebp - 0x78]
shl eax, 0x11
add eax, 0x10
movups xmmword [ebp - 0x20], xmm0
cmp dword [esi - 4], 1
mov dword [ebp - 0x7c], eax
jle 0x471e26
push dword [esi - 0xc]
lea ecx, [ebp - 0x78]
call fcn.004141b0
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
push 0
or eax, 0x400
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push esi
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_DrawTextExW]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x471e5e
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
add dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
cmp byte [ebp + 0xc], 0
je 0x471e85
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
sub edi, edx
sub edi, dword [ebp - 0x40]
add edi, dword [ebp - 0x38]
mov eax, edi
sub eax, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x18], edx
cmp dword [esi - 4], 1
jle 0x471e99
push dword [esi - 0xc]
lea ecx, [ebp - 0x78]
call fcn.004141b0
mov esi, dword [ebp - 0x78]
push 0
push dword [ebp - 0x7c]
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push esi
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_DrawTextExW]
cmp byte [ebp - 0x71], 0
je 0x471ec0
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dl, byte [edi + 8]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test dl, dl
jne 0x471ee5
push 9
call ecx
mov ecx, 0x8000
test cx, ax
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
seta dl
mov byte [edi + 8], dl
mov al, byte [edi + 9]
test al, al
jne 0x471f3c
push 0x26
call ecx
mov ecx, 0x8000
test cx, ax
ja 0x471f34
push 0x28
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
ja 0x471f34
push 0x25
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
ja 0x471f34
push 0x27
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
ja 0x471f34
xor al, al
jmp 0x471f36
mov al, 1
mov dl, byte [edi + 8]
mov byte [edi + 9], al
test dl, dl
jne 0x471f48
test al, al
je 0x471ffc
mov edi, dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x471ffc
movups xmm1, xmmword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, edi
sub edx, dword [ebp - 0x2c]
movaps xmm0, xmm1
psrldq xmm0, 0xc
movd ecx, xmm0
movaps xmm0, xmm1
movups xmmword [ebp - 0x50], xmm1
psrldq xmm0, 4
mov dword [ebp - 0x14], ecx
movd eax, xmm0
psrldq xmm1, 0xc
sub ecx, eax
movd eax, xmm1
cmp ecx, edx
cmovg eax, edi
sub edi, eax
mov dword [ebp - 0x80], eax
xor eax, eax
test edi, edi
mov edi, dword [ebp - 0x48]
setg al
xor ecx, ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x2c]
test eax, eax
mov eax, dword [ebp - 0x50]
setg cl
sub eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x84], ecx
test eax, eax
mov eax, dword [ebp - 0x28]
setg dl
sub eax, edi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x4c]
setg cl
sub eax, dword [ebp - 0x84]
sub dword [ebp - 0x50], edx
add edi, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x48], edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00417ce0
jmp 0x47200d
mov esi, dword [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47202c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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 0xc
push 0x80004005
call fcn.004143a0
int3