Function at 0x45a5e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dda30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1050
call fcn.004d9670
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx + 4]
push edi
add eax, 0xfffffdff
xor ecx, ecx
cmp eax, 7
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
ja case.0x45a627.515
jmp dword [eax*4 + 0x45a850]
mov ecx, esi
call fcn.0045b550
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x11
mov dword [esi + 0xb410], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x45a627.515
mov eax, dword [esi + 0x6b7c]
push edi
push eax
call fcn.00461ca0
add esp, 8
test eax, eax
jne case.0x45a627.515
mov dword [esi + 0xb420], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb40c], eax
jmp case.0x45a627.515
cmp dword [0x5f4534], ecx
je 0x45a6b6
cmp dword [0x5f4530], ecx
je 0x45a6b6
cmp dword [0x5f4538], ecx
je 0x45a6b6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov word [ebp - 0x1060], cx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x105e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x5f4544]
test eax, eax
je case.0x45a627.515
lea ecx, [ebp - 0x1060]
push 0x824
push ecx
mov ecx, esi
call fcn.0045a2a0
test eax, eax
je 0x45a720
cmp word [ebp - 0x1060], 0
je 0x45a720
lea edx, [ebp - 0x1060]
push edx
call fcn.00461230
add esp, 4
test eax, eax
je 0x45a735
mov dword [ebx + 4], 0x201
mov dword [esi + 0xb41c], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
lea ecx, [ebp - 0x1060]
push 1
push ecx
mov ecx, esi
call dword [eax + 0xe0]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0xb41c], ecx
je case.0x45a627.515
cmp dword [0x5f4544], ecx
je case.0x45a627.515
mov dword [esi + 0xb41c], ecx
mov dword [ebx + 4], 0x202
jmp case.0x45a627.515
push ecx
mov ecx, esi
call fcn.0045a240
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
cmp eax, 0x201
je 0x45a79b
cmp eax, 0x204
jne 0x45a80b
mov eax, dword [esi + 0x3ae8]
test eax, eax
jne 0x45a80b
mov ecx, esi
call fcn.0045b550
cmp eax, dword [ebx]
jne 0x45a80b
mov eax, dword [0x5f68a8]
test eax, eax
jne 0x45a7cd
mov ecx, dword [0x5f68a0]
test ecx, ecx
jne 0x45a7cd
mov ecx, dword [0x5f68a4]
test ecx, ecx
je 0x45a80b
mov edx, dword [0x5f68a4]
mov ecx, dword [0x5f68a0]
push edx
mov edx, dword [ebx + 4]
push ecx
push eax
mov eax, dword [esi + 0x6b7c]
push edx
push eax
mov dword [ebp - 4], 0
call fcn.00464840
add esp, 0x14
jmp 0x45a804
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x90d4]
test ecx, ecx
je 0x45a839
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x45a839
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push ebx
call fcn.00480a60
mov eax, dword [ebp + 8]
test eax, eax
mov eax, 1
jne 0x45a83c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4