Function at 0x4a8a50
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5d2da8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x138]
test eax, eax
je 0x4a8b98
mov ecx, dword [esi + 0xdc]
shr ecx, 0x13
test cl, 1
je 0x4a8b98
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call ebp
shr eax, 0x10
test al, 1
je 0x4a8b98
mov edi, dword [esp + 0x60]
cmp dword [edi + 4], 0x100
jne 0x4a8b84
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
push 0x10
sets bl
call esi
mov edx, dword [edi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87
test ax, ax
push edx
sets byte [esp + 0x27]
call edi
test al, 4
je 0x4a8afb
or eax, 3
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 8]
add ecx, 0xfffffff7
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
cmp ecx, 0x1f
ja case.0x4a8b20.10
movzx edx, byte [ecx + 0x4a8d14]
jmp dword [edx*4 + 0x4a8cf8]
test al, 2
je 0x4a8b2f
test bl, bl
je case.0x4a8b20.10
cmp byte [esp + 0x17], 0
mov byte [esp + 0x15], bl
sete byte [esp + 0x14]
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x1c]
call fcn.0049dfc0
cmp byte [esp + 0x14], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], 0
je 0x4a8c6f
or eax, 1
jmp 0x4a8c72
test al, 1
jne case.0x4a8b20.10
test bl, bl
jne case.0x4a8b20.10
mov byte [esp + 0x14], bl
jmp 0x4a8b42
test al, 1
jne case.0x4a8b20.10
test bl, bl
je 0x4a8b42
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
push edx
mov ecx, esi
call fcn.004a3900
test al, al
jne 0x4a8c68
cmp dword [esi + 0xc4], 0
je 0x4a8bb7
mov eax, dword [esp + 0x60]
cmp dword [eax + 4], 0x200
jne 0x4a8bb7
push eax
call fcn.004e11d0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 4
mov byte [esp + 0x14], 0
test al, 1
je 0x4a8bdc
test bl, bl
je case.0x4a8b20.10
mov byte [esp + 0x15], 1
jmp 0x4a8b42
xor esi, esi
test al, 0x10
je 0x4a8c19
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
call ebp
and eax, 0xb
cmp al, 0xb
jne 0x4a8c57
mov ecx, dword [edi]
push 0x68ea88
push ecx
call fcn.004a3a40
add esp, 4
push eax
call fcn.00495a20
add esp, 8
jmp 0x4a8c55
mov esi, dword [esp + 0x18]
test bl, bl
jne 0x4a8c4c
test al, 4
jne 0x4a8bb7
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
mov ecx, esi
call eax
test al, al
jne 0x4a8c4c
mov esi, dword [esi + 0x44]
mov eax, dword [esi + 0x138]
push 0
push 0
push 0x87
push eax
call edi
jmp 0x4a8c21
push esi
call fcn.004a6f40
add esp, 4
mov esi, eax
push esi
call fcn.004a3a00
add esp, 4
test al, al
je case.0x4a8b20.10
mov al, 1
jmp 0x4a8bb9
and eax, 0xfffffffe
cmp byte [esp + 0x15], 0
je 0x4a8c7e
or eax, 2
jmp 0x4a8c81
and eax, 0xfffffffd
cmp byte [esp + 0x16], 0
je 0x4a8c8d
or eax, 4
jmp 0x4a8c90
and eax, 0xfffffffb
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], esi
call fcn.0049d150
test al, al
je 0x4a8cd7
push 1
push 2
mov ecx, esi
call fcn.004a29a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x1c], vtable.wxObject.0
call fcn.00423980
mov al, 1
jmp 0x4a8bb9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x1c], vtable.wxObject.0
call fcn.00423980
jmp 0x4a8b84