Function at 0x4a8070
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x6403c4]
sub esp, 0xc
push edi
xor edi, edi
cmp eax, edi
je 0x4a8388
call fcn.00508b70
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x4a8388
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, edi
sete al
push ebx
push ebp
push esi
mov ebp, eax
cmp dword [esp + 0x24], edi
je 0x4a80db
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
sub eax, 0x8000
neg eax
sbb eax, eax
inc eax
cmp eax, edi
je 0x4a80db
cmp dword [0x6403c8], edi
je 0x4a80d5
cmp dword [0x641ed8], edi
je 0x4a80ef
mov dword [esp + 0x14], edi
jmp 0x4a80f7
cmp dword [0x6403c8], edi
je 0x4a80ef
cmp dword [0x641ed8], edi
mov dword [esp + 0x14], edi
je 0x4a80f7
mov dword [esp + 0x14], 1
push 0xa
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esi, eax
cmp esi, edi
je 0x4a8385
cmp dword [esp + 0x14], edi
mov ebx, dword [sym.imp.USER32.dll_DeferWindowPos]
je 0x4a8165
mov edi, dword [0x6a0f38]
test edi, edi
je 0x4a81c3
mov ecx, dword [edi + 0x1e90]
cmp ecx, dword [esp + 0x18]
jne 0x4a8159
mov edx, dword [edi]
push edx
call fcn.0058ee70
add esp, 4
test eax, eax
je 0x4a8159
mov eax, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
mov edi, dword [edi + 0x21c0]
test edi, edi
jne 0x4a8123
jmp 0x4a81c3
mov ecx, dword [0x6a0f44]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a81c3
lea ebx, [ebx]
push edi
call fcn.0058ea30
add esp, 4
test eax, eax
je 0x4a81b4
mov edx, dword [esp + 0x18]
cmp dword [eax + 0x1e90], edx
jne 0x4a81b4
mov eax, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a8180
mov eax, dword [0x67b0c8]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4a82af
jmp 0x4a81e0
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
cmp eax, dword [esp + 0x18]
je 0x4a829d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a8242
mov edi, dword [0x6a0f38]
test edi, edi
je 0x4a829d
cmp dword [edi + 0x1e90], eax
jne 0x4a8236
mov ecx, dword [edi]
push ecx
call fcn.0058ee70
add esp, 4
test eax, eax
je 0x4a8232
mov edx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
mov eax, dword [esp + 0x10]
mov edi, dword [edi + 0x21c0]
test edi, edi
jne 0x4a8200
jmp 0x4a829d
mov eax, dword [0x6a0f44]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a8299
push edi
call fcn.0058ea30
add esp, 4
test eax, eax
je 0x4a828a
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0x1e90], ecx
jne 0x4a828a
mov edx, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a8256
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x819c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4a81d6
mov eax, dword [0x67b0c8]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4a837a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a8312
mov edi, dword [0x6a0f38]
test edi, edi
je 0x4a8364
mov eax, dword [edi + 0x18e0]
test eax, eax
je 0x4a8306
mov eax, dword [edi]
push eax
call fcn.0058ee70
add esp, 4
test eax, eax
je 0x4a8306
mov ecx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push ecx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
mov edi, dword [edi + 0x21c0]
test edi, edi
jne 0x4a82d6
jmp 0x4a8364
mov edx, dword [0x6a0f44]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4a8364
push edi
call fcn.0058ea30
add esp, 4
test eax, eax
je 0x4a8355
mov ecx, dword [eax + 0x18e0]
test ecx, ecx
je 0x4a8355
mov eax, dword [eax]
push 0x13
push 0
push 0
push 0
push 0
push ebp
push eax
push esi
call ebx
mov esi, eax
test esi, esi
je 0x4a8385
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4a8327
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x819c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4a82c0
test esi, esi
je 0x4a8385
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret