Function at 0x1004c270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x114]
mov edi, dword [ebp + 8]
test al, al
jne 0x1004c2b1
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x1004c2b1
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x1004c2a5
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x1004c4d6
mov ecx, esi
call fcn.10046944
jmp 0x1004c4d6
cmp dword [edi], 0x13
jne 0x1004c2db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c4d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.1004e1ee
jmp 0x1004c4d6
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x1004c30b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c30b
cmp word [edi + 0x14], bx
jne 0x1004c30b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.1004e1ee
jmp 0x1004c4d5
cmp dword [edi], ebx
jne 0x1004c368
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c4d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x1004c33f
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.1001d87e
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
js 0x1004c357
push 0x10
call ebx
test ax, ax
jns 0x1004c3af
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x1004c4d5
push edi
jmp 0x1004c3d1
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x1004c3e1
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x1004c3e1
cmp dword [edi], 0xf
jne 0x1004c3e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c4d5
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ax, ax
js 0x1004c3c1
push 0x10
call edi
test ax, ax
js 0x1004c3c1
lea ecx, [esi + 0x6c0]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x1004c4d5
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x1004c4d5
push 0
mov eax, dword [ecx]
push dword [esi + 0x6c4]
call dword [eax + 0x10]
jmp 0x1004c4d5
cmp dword [edi], 0xe
jne 0x1004c407
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c4d5
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x1004c4b1
cmp dword [edi], 0xb
jne 0x1004c447
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x1004c4d5
or dword [esi + 0x6cc], 8
mov ecx, esi
call fcn.1004e1ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x1004c4d5
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x1004c4b1
cmp dword [edi], 0xa
jne 0x1004c47d
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x1004c4d5
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x6cc], eax
call fcn.1004e1ee
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x1004c4d5
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
jmp 0x1004c4b1
cmp dword [edi], 0x1b
jne 0x1004c491
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x1004c4b1
cmp dword [edi], 0x14
jne 0x1004c4bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x1004c4bc
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
mov ecx, dword [esi + 0x44]
push esi
call fcn.1001d87e
jmp 0x1004c4d5
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x1004c4ce
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x1004c4d5
mov ecx, esi
call fcn.1002aa2a
pop ebx
pop edi
pop esi
pop ebp
ret 4