Function at 0x4c0c6c
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x80
mov eax, 0x511c7f
call fcn.004f41e2
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x448], esi
je 0x4c0c9d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4c0ecd
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
push eax
mov dword [ebp - 0x58], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebx + 0x448], 1
jne 0x4c0d00
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebx + 0x450]
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jle 0x4c0ed4
mov eax, dword [ebx + 0x44c]
mov dword [ebx + 0x448], 2
test eax, eax
jne 0x4c0cf9
push 0x7a
push dword [0x5a229c]
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebx + 0x44c], eax
test eax, eax
je 0x4c0d00
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx]
mov ecx, ebx
push esi
push 1
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [eax + 0x40]
mov edx, dword [ebx]
mov edi, eax
mov ecx, ebx
mov dword [ebp - 0x84], edi
call dword [edx + 0x34]
mov esi, eax
mov dword [ebp - 0x8c], esi
test edi, edi
js 0x4c0ec4
test esi, esi
js 0x4c0ec4
cmp edi, esi
je 0x4c0ec4
lea ecx, [ebp - 0x7c]
setl byte [ebp - 0x54]
call fcn.004d840a
xor edi, edi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], edi
call fcn.004d840a
mov dword [ebp - 0x80], edi
xor eax, eax
mov dword [ebp - 0x88], edi
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
mov byte [ebp - 4], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov edi, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x7c]
push eax
push edi
call fcn.004bf0a6
test al, al
je 0x4c0eb4
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.004bf0a6
test al, al
je 0x4c0eb4
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x68]
je 0x4c0eb4
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x44]
test al, al
je 0x4c0eb4
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
push edi
mov ecx, ebx
call dword [eax + 0x44]
test al, al
je 0x4c0eb4
mov ecx, dword [ebx + 8]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x78]
call fcn.004bec0a
test eax, eax
js 0x4c0e1b
mov edx, dword [ebx]
lea ecx, [ebp - 0x50]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x44]
test al, al
jne 0x4c0e2b
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
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 esi, dword [ebp - 0x8c]
mov al, byte [ebp - 0x54]
mov ecx, dword [ebx + 8]
xor al, 1
push esi
movzx eax, al
push eax
push dword [ebp - 0x68]
call fcn.004bec0a
test eax, eax
js 0x4c0e54
mov edx, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x44]
test al, al
jne 0x4c0e5e
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x20]
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 [ebp - 0x30]
cmp dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
cmovl eax, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
cmovl edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x50]
sub edx, eax
mov eax, dword [ebp - 0x38]
cmp edi, ecx
mov esi, dword [ebp - 0x48]
cmovl ecx, edi
cmp eax, esi
cmovl eax, esi
sub eax, ecx
cmp edx, eax
jge 0x4c0ea7
cmp byte [ebp - 0x54], 0
je 0x4c0ea0
lea eax, [edi + edx]
cmp dword [ebp - 0x5c], eax
jle 0x4c0ea7
jmp 0x4c0eb4
sub esi, edx
cmp dword [ebp - 0x5c], esi
jl 0x4c0eb4
push dword [ebp - 0x54]
push dword [ebp - 0x68]
call fcn.004d4beb
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004d84a5
lea ecx, [ebp - 0x7c]
call fcn.004d84a5
cmp dword [ebp + 8], 0x202
jne 0x4c0ed4
mov ecx, ebx
call fcn.004c0edc
call fcn.004f418c
ret 4