Function at 0x471ff0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a8e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
xor edi, edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x98]
push ecx
push eax
mov dword [ebp - 0x9c], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
lea edx, [ebp - 0xc0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0xc0]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0046ff20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
jne 0x4720d2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0046fff0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
cmp eax, edi
je 0x4723b2
mov dword [ebp - 0xa0], edi
jmp 0x4723ab
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x54]
push eax
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x472162
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472160
mov edx, dword [esi + 4]
push 1
lea ecx, [ebp - 0x20]
push ecx
xor eax, eax
push edi
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x58]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
mov ecx, dword [ebp - 0x58]
push 0
push ecx
push 0xf
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
push 0
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
xor edi, edi
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx edx, ax
shr eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 4]
cwde
push ecx
push edx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x3c], edi
je 0x4721e0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
and eax, 3
push ecx
cmp al, 3
push edx
lea eax, [ebp - 0xc0]
je 0x4721af
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, edi
je 0x4721e0
xor ecx, ecx
cmp dword [esi + 0x40], edi
mov dword [ebp - 0x34], 1
setne cl
inc ecx
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4721e3
mov edi, 1
mov dword [ebp - 0x18], edi
jmp 0x4721e6
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
mov edx, dword [ebp - 0x10]
and edx, 3
cmp dl, 3
jne 0x472306
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x472306
mov eax, dword [esi + 0x64]
mov edx, dword [ebp - 0x58]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
push 0
push 0
push 0x66eba8
lea edi, [esi + 0x44]
push edi
push 2
push eax
mov eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ecx, dword [esi + 4]
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x472303
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push ecx
push edx
lea ecx, [esi + 4]
call fcn.00471890
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4722f7
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
push 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0xc]
push 1
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x70]
push eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp - 0x58]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
push 0x824
lea edx, [ebp - 0x28]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov edi, dword [ebp - 0x18]
xor ebx, ebx
cmp dword [esi + 0x34], ebx
je 0x47233b
mov esi, dword [esi + 0x6c]
cmp esi, ebx
je 0x47233b
cmp edi, ebx
je 0x47231d
lea eax, [ebx + 3]
jmp 0x472326
xor eax, eax
cmp dword [ebp - 0x34], ebx
setne al
inc eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
push ebx
push ecx
push eax
push 1
push edx
push esi
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x472359
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
neg edi
sbb edi, edi
and edi, 0x4200
or edi, 1
push edi
push 3
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
push edx
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0046fff0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x4723b2
mov dword [ebp - 0xa0], ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4