Function at 0x4a24a0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x562218
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x114], 0
mov edi, dword [esp + 0x54]
je 0x4a2722
mov eax, dword [ebp]
mov edx, dword [eax + 0xb0]
call edx
test eax, 0x80000
je 0x4a2722
cmp dword [edi + 4], 0x100
jne case.0x4a255c.10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
push 0x10
setl bl
call esi
push 0
push 0
test ax, ax
mov eax, dword [edi]
push 0x87
push eax
setl byte [esp + 0x26]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
je 0x4a2532
or eax, 3
mov ecx, dword [edi + 8]
add ecx, 0xfffffff7
mov byte [esp + 0x54], 1
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 1
cmp ecx, 0x1f
ja case.0x4a255c.10
movzx ecx, byte [ecx + 0x4a2774]
jmp dword [ecx*4 + 0x4a2758]
test al, 2
je 0x4a256f
test bl, bl
je case.0x4a255c.10
cmp byte [esp + 0x16], 0
mov byte [esp + 0x14], bl
sete byte [esp + 0x54]
mov byte [esp + 0x15], 1
jmp 0x4a266e
test al, 1
jne case.0x4a255c.10
test bl, bl
jne case.0x4a255c.10
mov byte [esp + 0x54], bl
jmp 0x4a266e
test al, 1
jne case.0x4a255c.10
test bl, bl
je 0x4a266e
jmp case.0x4a255c.10
mov byte [esp + 0x54], 0
test al, 1
je 0x4a25c6
test bl, bl
je case.0x4a255c.10
mov byte [esp + 0x14], 1
jmp 0x4a266e
test al, 4
je 0x4a25dc
test bl, bl
je 0x4a273d
xor esi, esi
test al, 0x10
je 0x4a2605
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xb
cmp al, 0xb
jne 0x4a2601
mov eax, dword [edi]
push eax
call fcn.0049f800
add esp, 4
mov esi, eax
xor bl, bl
jmp 0x4a263b
push 0x5ec8bc
push ebp
call fcn.004a9310
add esp, 4
push eax
call fcn.00493bb0
add esp, 8
test eax, eax
je 0x4a266e
push 0x5ecc84
mov ecx, eax
call fcn.0049dde0
push eax
call fcn.00493bb0
mov bl, byte [esp + 0x1f]
add esp, 8
mov esi, eax
test esi, esi
je 0x4a2666
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
mov ecx, esi
call eax
test al, al
je 0x4a2666
mov edx, dword [esi]
mov eax, dword [edx + 0x264]
push 0
push 0
mov ecx, esi
call eax
mov al, 1
jmp 0x4a273f
test bl, bl
je case.0x4a255c.10
lea ecx, [esp + 0x18]
call fcn.00494510
cmp byte [esp + 0x54], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], 0
je 0x4a268f
or eax, 1
jmp 0x4a2692
and eax, 0xfffffffe
cmp byte [esp + 0x14], 0
je 0x4a269e
or eax, 2
jmp 0x4a26a1
and eax, 0xfffffffd
cmp byte [esp + 0x15], 0
je 0x4a26ad
or eax, 4
jmp 0x4a26b0
and eax, 0xfffffffb
mov ecx, dword [ebp + 0x5c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x18]
push eax
call edx
test al, al
je 0x4a26f3
push 1
push 2
mov ecx, ebp
call fcn.0049e430
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], vtable.wxObject.0
call fcn.00461690
mov al, 1
jmp 0x4a273f
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], vtable.wxObject.0
call fcn.00461690
mov eax, dword [ebp + 0x114]
push edi
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4a265f
cmp dword [ebp + 0xb4], 0
je 0x4a273d
cmp dword [edi + 4], 0x200
jne 0x4a273d
push edi
call fcn.004d35c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4