Function at 0x4cecc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x84], edx
jne 0x4cf128
mov eax, dword [ebp + 0xc]
mov ecx, 1
cmp eax, 0x86
jne 0x4ced10
mov dword [edi + 0x300], ecx
mov dword [ebx], ecx
jmp 0x4cf107
cmp eax, 0x14
jne 0x4ced22
mov dword [edi + 0x300], ecx
mov dword [ebx], ecx
jmp 0x4cf107
cmp eax, 0x83
jne 0x4ced3f
push edx
mov dword [edi + 0x300], ecx
mov ecx, edi
push esi
call fcn.004cda70
mov dword [ebx], eax
jmp 0x4cf107
cmp eax, 0x46
jne 0x4ced80
cmp dword [edi + 0x2d8], 0
je 0x4ced71
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x4ced71
cmp dword [edi + 0x2b4], 0
mov eax, ecx
mov dword [ebp - 0xc], eax
je 0x4ced71
mov dword [edx + 0x10], ecx
mov ecx, dword [edi + 0x2b4]
mov dword [edx + 0x14], ecx
mov dword [edi + 0x300], 0
jmp 0x4cf101
cmp eax, 0x24
jne 0x4ceed9
push 0
push dword [edi + 4]
mov dword [edi + 0x300], ecx
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x4cf101
xor ecx, ecx
mov dword [ebp - 0x50], 0x28
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [edi + 0x2b0]
mov cl, 0x20
mov edx, dword [edi + 0x2b4]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0
call fcn.0055c3c0
cmp dword [edi + 0x2d4], 0
lea ecx, [ebp - 0x60]
mov esi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x3c]
cmove eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
call esi
cmp dword [edi + 0x2d4], 0
je 0x4cee3b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
jmp 0x4cee5a
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push eax
lea eax, [ebp - 0x24]
push eax
call esi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x10]
cdq
xor eax, edx
sub eax, edx
mov dword [ecx + 0x10], eax
mov eax, esi
sub eax, dword [ebp - 0x20]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x84], edx
js 0x4cee99
mov eax, edx
jmp 0x4cee9c
sub eax, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 8]
sub eax, esi
js 0x4ceeaa
mov edx, eax
jmp 0x4ceeaf
mov edx, esi
sub edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
cmp dword [ebp - 0x84], 0
cmovge edx, dword [ebp - 0x84]
sub esi, dword [ebp - 8]
test eax, eax
mov dword [ecx + 0x20], edx
cmovns esi, eax
mov dword [ecx + 0x24], esi
jmp 0x4cf101
cmp eax, 5
jne 0x4cef9c
mov dword [edi + 0x300], ecx
cmp esi, 1
je 0x4ced71
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ced71
cmp esi, 2
jne 0x4cef45
cmp dword [edi + 0x2d4], 0
jne 0x4cef45
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfeffffff
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
lea ecx, [edi + 4]
call fcn.0044d0b0
mov dword [edi + 0x300], 0
jmp 0x4cf101
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push dword [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [edi + 0x300], 0
jmp 0x4cf101
cmp eax, 0x100
jne 0x4cf000
push dword [edi + 4]
mov dword [edi + 0x300], ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4cf101
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4ced71
cmp esi, 0x1b
jne 0x4cefd6
push 0
push 2
jmp 0x4cefe3
cmp esi, 0xd
jne 0x4ced71
push 0
push 1
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x300], 0
jmp 0x4cf101
cmp eax, 0x10
jne 0x4cf01c
push 0
push 2
push 0x111
mov dword [edi + 0x300], ecx
push dword [edi + 4]
jmp 0x4cf0fb
cmp eax, 0x20a
jne 0x4cf079
mov dword [edi + 0x300], ecx
movsx ecx, dx
shr edx, 0x10
movsx eax, dx
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_GetScrollPos]
movzx edx, ax
mov eax, dword [ebp - 8]
shr eax, 0x10
movsx ecx, ax
sar ecx, 0x1f
and ecx, 1
shl edx, 0x10
add ecx, 2
or edx, ecx
push edx
push 0x115
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 1
jmp 0x4cf107
cmp eax, 7
jne 0x4cf086
mov dword [edi + 0x300], ecx
jmp 0x4cf101
cmp eax, 0x111
jne 0x4cf128
movzx eax, si
cmp cx, ax
jne 0x4cf0b9
mov eax, dword [edi + 4]
mov dword [edi + 0x300], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0x3e8
push 0x4e
mov dword [ebp - 0x28], eax
push eax
jmp 0x4cf0ed
mov ecx, 2
cmp cx, ax
jne 0x4cf128
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x28]
push eax
push 0x3e8
push 0x4e
mov dword [edi + 0x300], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 2
push ecx
mov dword [ebp - 0x18], 0x5ba110
mov dword [ebp - 0x24], 0x3e8
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 0
cmp dword [edi + 0x300], 0
je 0x4cf128
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x18