Function at 0x4b61a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x552757
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5b2920]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x5b2920]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp ebx, 0x100
mov esi, ecx
jne 0x4b6331
mov eax, dword [ebp + 0xc]
cmp eax, 0x41
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
je 0x4b6204
cmp eax, 0x61
jne 0x4b623b
push 0x11
call edi
test ax, ax
jns 0x4b623b
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov eax, 1
jmp 0x4b6394
cmp dword [ebp + 0xc], 0xd
jne 0x4b6384
mov edx, dword [0x5c2b44]
cmp dword [edx + 0x2d0], 1
push 0x11
jne 0x4b6303
call edi
test ax, ax
jns 0x4b62c3
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x4b6270
mov eax, dword [esi + 0x20]
push 1
push 0x102
push 0x102
push eax
lea ecx, [esp + 0x58]
push ecx
call edi
cmp eax, 1
je 0x4b6270
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004edd60
test eax, eax
je 0x4b6231
push 0
push 0
push 0xf5
push 0x86c8
mov ecx, eax
call fcn.004f3889
mov ecx, esi
call fcn.004f3ab0
xor eax, eax
jmp 0x4b6394
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0x5697bc
push 1
push 0xc2
push edx
call edi
mov eax, 1
jmp 0x4b6394
call edi
test ax, ax
js 0x4b62c3
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov eax, dword [esi + 0x20]
push 1
push 0x102
push 0x102
push eax
lea ecx, [esp + 0x58]
push ecx
call edi
cmp eax, 1
je 0x4b6310
jmp 0x4b628c
cmp ebx, 0x7b
jne 0x4b6358
cmp dword [esi + 0x84], 0
je 0x4b6384
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
push edx
call eax
lea eax, [ebx - 0x7a]
jmp 0x4b6394
cmp ebx, 0x111
jne 0x4b63ba
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004c7030
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0050fe87
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 5
jne 0x4b6410
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004c7030
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x48]
push edx
push 0
mov edi, eax
mov eax, dword [esi + 0x20]
push 0xb2
push eax
call ebx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x48]
push ecx
push 0
mov eax, 0xf
add dword [esp + 0x50], eax
add dword [esp + 0x54], eax
sub dword [esp + 0x58], eax
push 0xb3
push edx
call ebx
mov eax, edi
jmp 0x4b6394
cmp ebx, 0xf
jne 0x4b6384
push esi
lea ecx, [esp + 0x68]
call fcn.004ea3b5
xor edi, edi
lea eax, [esp + 0x20]
mov dword [esp + 0x130], edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x38]
call fcn.004e9d36
mov byte [esp + 0x130], 1
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ea204
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], vtable.CBitmap.0
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ea4cb
mov ecx, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x34]
call fcn.004ea686
mov byte [esp + 0x130], 3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.004ea550
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.004ea4bd
mov eax, dword [eax + 4]
lea edx, [esp + 0xbc]
push edx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [esp + 0x14], edi
mov edi, vtable.CFont.0
mov dword [esp + 0xbc], 0xc
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x134], 4
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x14]
call fcn.004ea4cb
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
call fcn.004ea5a3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x68]
call fcn.004ea5a3
mov ecx, dword [esp + 0x3c]
push 4
push ecx
push 0x318
mov ecx, esi
call fcn.004ebd7d
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push edx
push esi
push ebx
sub eax, edx
push eax
sub ecx, esi
push ecx
push edx
mov edx, dword [esp + 0x84]
push esi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x30]
call fcn.004ea51e
lea ecx, [esp + 0x38]
call fcn.004ea268
lea ecx, [esp + 0x10]
call fcn.004ea51e
mov byte [esp + 0x130], 3
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00424150
mov byte [esp + 0x130], 2
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CBrush.0
call fcn.00424150
mov byte [esp + 0x130], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CBitmap.0
call fcn.00424150
lea ecx, [esp + 0x38]
mov byte [esp + 0x130], 0
call fcn.004ea27e
lea ecx, [esp + 0x64]
mov dword [esp + 0x130], 0xffffffff
call fcn.004ea409
mov eax, 1
jmp 0x4b6394