Function at 0x1004e76e
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x101425ce
call fcn.101237ae
mov ebx, ecx
push dword [ebp + 0x10]
mov eax, dword [ebx]
push dword [ebp + 0xc]
call dword [eax + 0x390]
mov ecx, dword [0x101a29ac]
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp ecx, ebx
je 0x1004e7c2
cmp dword [0x101a2958], 0
je 0x1004e7cb
mov dword [0x101a29ac], ebx
test ecx, ecx
je 0x1004e7c2
mov eax, dword [ecx + 0xbf4]
or dword [ecx + 0xbf4], 0xffffffff
push eax
call fcn.1004c6d8
cmp dword [0x101a2958], 0
jne 0x1004e7f9
push dword [ebx + 0x20]
call edi
push eax
call fcn.100114f7
push eax
push 0x101588a4
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x1004e7f9
push dword [ebx + 0x20]
call edi
push eax
call fcn.100114f7
mov ecx, eax
call fcn.10015f57
test esi, esi
jns 0x1004e878
or esi, 0xffffffff
mov dword [ebx + 0xbec], esi
cmp dword [0x101a2958], 0
je 0x1004e844
cmp dword [ebx + 0xb78], 0
jne 0x1004e844
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x1004e839
push eax
mov ecx, ebx
call fcn.1004c6d8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x3b0]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
test eax, eax
je 0x1004e863
call fcn.10020fb1
push dword [eax + 0xfc]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003a02e
jmp 0x1004ee24
push esi
mov ecx, ebx
call fcn.1004bf34
mov edi, eax
test edi, edi
je 0x1004ee24
mov edx, dword [ebx]
mov ecx, ebx
push esi
call dword [edx + 0x25c]
and dword [0x101a2960], 0
cmp dword [0x101a2968], 0
je 0x1004e8eb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x420]
test eax, eax
je 0x1004e8eb
cmp dword [0x101a2958], 0
jne 0x1004e901
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1004e8eb
mov dword [0x101a2960], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], esi
mov dword [0x101a29ac], ebx
cmp dword [0x101a2958], 0
jne 0x1004e901
cmp dword [0x101a2960], 0
je 0x1004ecd8
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x1004ecd8
cmp dword [ebx + 0xbb8], ecx
jne 0x1004ecd8
mov eax, dword [ebx + 0xbf4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
push ecx
push esi
mov ecx, ebx
mov dword [ebx + 0xbf4], esi
call dword [eax + 0x36c]
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x1004e955
push eax
mov ecx, ebx
call fcn.1004c6d8
push dword [ebx + 0xbf4]
mov ecx, ebx
call fcn.1004bf34
mov edx, eax
xor ecx, ecx
test edx, edx
mov dword [ebx + 0xd0c], edx
setne cl
test ecx, ecx
jne 0x1004e97a
call fcn.10004bd5
mov eax, dword [ebp + 8]
mov ecx, edx
and eax, 8
mov dword [ebx + 0xba0], eax
mov eax, dword [edx]
call dword [eax + 0x60]
test eax, eax
jne 0x1004e9b7
and dword [ebx + 0xd0c], eax
or dword [ebx + 0xbf4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x1004ee24
push eax
mov ecx, ebx
call fcn.1004c6d8
jmp 0x1004ee24
push esi
mov ecx, ebx
call fcn.1004c6d8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebx + 0xd0c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x1004ea54
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x18]
push eax
call fcn.10132f84
pop ecx
cmp eax, 6
jg 0x1004ea54
cmp dword [0x101a2960], 0
jne 0x1004ea54
mov ecx, dword [ebx + 0xd0c]
lea edi, [ebx + 0xcdc]
mov dword [ebx + 0xba4], 1
lea esi, [ecx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
je 0x1004ea29
push 2
push 2
lea eax, [ebx + 0xcdc]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.100114f7
mov dword [ebx + 0xd04], eax
call fcn.10020fb1
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1004edf4
mov ecx, dword [ebx + 0xd0c]
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
je 0x1004eccc
mov ecx, dword [ebx + 0xd0c]
mov eax, dword [ecx]
call dword [eax + 0x74]
test eax, eax
je 0x1004eccc
lea ecx, [ebp - 0x64]
call fcn.100c6bac
mov ecx, dword [ebx + 0xd0c]
lea edx, [ebp - 0x64]
and dword [ebp - 4], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push dword [edi + 0x20]
call dword [eax + 0x418]
and dword [0x101a2a70], 0
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xcf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xcf8], eax
cmp dword [0x101a2960], 0
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x24], eax
je 0x1004ead4
mov dword [0x101a2958], 1
push 0x101a2a28
lea eax, [ebp - 0x20]
push eax
push 3
lea ecx, [ebp - 0x64]
call fcn.100c75b6
push dword [ebp - 0x24]
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1004eb1a
cmp dword [0x101a2960], eax
je 0x1004eb0d
mov dword [0x101a2958], eax
mov dword [0x101a2960], eax
mov dword [0x101a29ac], eax
lea ecx, [ebp - 0x64]
call fcn.100c6c19
jmp 0x1004ee24
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
and dword [ebp - 0x28], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [0x101a2a70], 0
je 0x1004ec95
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1004ec95
cmp edi, 1
je 0x1004ec7a
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x1004ec7a
cmp dword [0x101a2a6c], eax
jne 0x1004ec7a
mov eax, dword [ebx]
push edi
push ecx
mov ecx, ebx
call dword [eax + 0x37c]
test eax, eax
je 0x1004ec7a
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.1004a2fc
push eax
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3e4]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call edi
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x2d4]
push dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.100114f7
test eax, eax
je 0x1004ec0b
cmp dword [eax + 0x20], 0
je 0x1004ec0b
push dword [ebx + 0x20]
call esi
push eax
call fcn.100114f7
push 0x505
push 0
push 0
push dword [eax + 0x20]
call edi
cmp dword [0x101a2960], 0
jne 0x1004ec2c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20c]
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call edi
push dword [ebx + 0x20]
call esi
push eax
call fcn.100114f7
push 0x1015b5d4
mov ecx, eax
call fcn.10008d68
test eax, eax
je 0x1004eca6
push dword [ebx + 0x20]
call esi
push eax
call fcn.100114f7
push dword [eax + 0x20]
call esi
push eax
call fcn.100114f7
push eax
push 0x1019b63c
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x1004eca6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x210]
jmp 0x1004eca6
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x1004eca6
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1004eca6
mov eax, dword [ebx]
mov ecx, ebx
push esi
mov dword [ebx + 0xbf0], esi
call dword [eax + 0x3b0]
and dword [ebx + 0xd0c], 0
lea ecx, [ebp - 0x64]
or dword [ebx + 0xcf4], 0xffffffff
or dword [ebx + 0xcf8], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.100c6c19
jmp 0x1004edf4
and dword [ebx + 0xd0c], 0
jmp 0x1004edf4
push esi
mov ecx, ebx
mov dword [ebx + 0xbec], esi
call fcn.10052edc
test dword [edi + 0x24], 0x40000
je 0x1004ed0b
push 0x1019bb68
mov ecx, edi
call fcn.10008d68
test eax, eax
jne 0x1004ed0b
or dword [ebx + 0xbec], 0xffffffff
jmp 0x1004ee24
or dword [edi + 0x24], 0x20000
mov ecx, ebx
push esi
call fcn.1004c6d8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
mov ecx, ebx
push dword [edi + 0x20]
call dword [eax + 0x418]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov edx, dword [edi]
mov ecx, edi
push 0
push ebx
mov dword [ebp - 0x30], eax
call dword [edx + 0x20]
test eax, eax
je 0x1004eddf
and dword [ebp - 0x24], 0
lea ecx, [ebx + 0xc3c]
push 0
push edi
call fcn.10016eb2
test eax, eax
je 0x1004ed6b
and dword [edi + 0x24], 0xfffdffff
jmp 0x1004ed72
mov dword [ebp - 0x24], 1
mov eax, dword [ebx]
mov ecx, ebx
or dword [ebx + 0xbec], 0xffffffff
or dword [ebx + 0xbf0], 0xffffffff
push 0xffffffffffffffff
call dword [eax + 0x3b0]
push esi
mov ecx, ebx
call fcn.1004c6d8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x24], 0
jne 0x1004edf4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
cmp dword [ebp - 0x30], eax
je 0x1004edf4
push esi
mov ecx, ebx
call fcn.100496c5
mov edi, eax
test edi, edi
jle 0x1004edf4
mov esi, dword [sym.imp.USER32.dll_NotifyWinEvent]
push edi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x800a
call esi
push edi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x8005
call esi
jmp 0x1004edf4
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.100114f7
mov dword [ebx + 0xd04], eax
cmp dword [0x101a2960], 0
je 0x1004ee24
and dword [0x101a2960], 0
and dword [0x101a29ac], 0
push 0
call fcn.10051a90
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.10123758
ret 0xc