Function at 0x422a40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xf0]
push edi
call edx
test al, al
mov eax, dword [ebp + 8]
jne 0x422a8a
mov ecx, dword [eax]
cmp ecx, 8
jle 0x422a8a
cmp ecx, 0x13
jge 0x422a8a
mov ecx, dword [esi + 0x6c]
push eax
test ecx, ecx
je 0x422e8b
mov edx, dword [ecx]
mov eax, dword [edx + 0x148]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax]
cmp ecx, 0x15
jne 0x422aa1
mov byte [esi + 0x1c2], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x14
jne 0x422ab6
mov byte [esi + 0x1c2], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 3
jne case.0x422ad6.19
movzx ecx, word [eax + 0x14]
add ecx, 0xffffffee
cmp ecx, 0x2f
ja case.0x422ad6.19
movzx ecx, byte [ecx + 0x422ec0]
jmp dword [ecx*4 + 0x422e9c]
call fcn.004229a0
mov edi, eax
sub edi, 1
mov dword [esp + 0x10], edi
js 0x422b4f
mov edx, dword [esi + 0x5dc]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x5dc]
mov ecx, ebx
call eax
cmp dword [esp + 0x10], eax
jge 0x422b4f
mov edx, dword [ebx]
mov eax, dword [edx]
push edi
mov ecx, ebx
call eax
mov ebx, eax
test ebx, ebx
je 0x422b47
mov edx, dword [ebx]
mov eax, dword [edx + 0xd4]
mov ecx, ebx
call eax
test al, al
je 0x422b47
mov edx, dword [ebx]
mov eax, dword [edx + 0xe0]
mov ecx, ebx
call eax
test al, al
je 0x422b47
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
push str.ListItem
mov ecx, ebx
call eax
test eax, eax
jne 0x422b4f
dec edi
add dword [esp + 0x10], 1
jns 0x422aed
mov edx, dword [esi + 0x63c]
mov eax, dword [edx + 0x4c]
lea ebx, [esi + 0x63c]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
test al, al
je 0x422b9e
test edi, edi
jge 0x422ba8
mov edx, dword [esi + 0x5dc]
mov eax, dword [edx + 0xc]
add esi, 0x5dc
mov ecx, esi
call eax
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [edx + 8]
dec edi
push 1
push edi
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
test edi, edi
setle cl
dec ecx
and edi, ecx
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 1
push edi
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004229f0
mov edx, dword [esi + 0x5dc]
lea edi, [esi + 0x5dc]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, edi
inc ebx
mov dword [esp + 0x10], 0
call eax
test eax, eax
jle 0x422c46
cmp dword [esp + 0x10], 0
jl 0x422c46
mov edx, dword [edi]
mov eax, dword [edx]
push ebx
mov ecx, edi
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x422c32
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xd4]
call eax
test al, al
je 0x422c32
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
test al, al
je 0x422c32
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.ListItem
call eax
test eax, eax
jne 0x422c46
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
inc dword [esp + 0x10]
mov ecx, edi
inc ebx
call eax
cmp dword [esp + 0x10], eax
jl 0x422be4
mov edx, dword [esi + 0x63c]
mov eax, dword [edx + 0x4c]
add esi, 0x63c
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, edi
test al, al
je 0x422c91
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
call eax
xor edx, edx
lea ecx, [ebx + 1]
cmp ecx, eax
setg dl
push 1
mov ecx, esi
dec edx
and ebx, edx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
call edx
lea ecx, [ebx + 1]
cmp ecx, eax
jle 0x422cab
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov ebx, eax
dec ebx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
push ebx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x1c4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0x1c8]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x658]
mov edx, dword [eax + 0x5dc]
lea ecx, [eax + 0x5dc]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jle 0x422e92
mov edx, dword [esi + 0x63c]
mov eax, dword [edx + 8]
lea ecx, [esi + 0x63c]
push 1
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x658]
mov edx, dword [eax + 0x5dc]
lea ecx, [eax + 0x5dc]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jle 0x422e92
mov edi, dword [esi + 0x63c]
lea ebx, [esi + 0x63c]
mov esi, dword [esi + 0x658]
mov edx, dword [esi + 0x5dc]
mov eax, dword [edx + 0xc]
lea ecx, [esi + 0x5dc]
push 1
add edi, 8
call eax
mov edx, dword [edi]
dec eax
push eax
mov ecx, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x641], 0
jne 0x422e92
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x422e92
mov edx, dword [esi + 0x63c]
mov eax, dword [edx + 0x48]
lea ecx, [esi + 0x63c]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [eax + 0x18]
sub ecx, 0
je 0x422e38
sub ecx, 1
jne case.0x422ad6.19
cmp byte [esi + 0x640], cl
je 0x422e23
cmp byte [esi + 0x641], cl
je 0x422e23
cmp dword [esi + 0x648], ecx
jg 0x422dea
xor eax, eax
jmp 0x422df2
mov ecx, dword [esi + 0x644]
mov eax, dword [ecx]
mov edi, dword [esi + 0x63c]
lea ebx, [esi + 0x63c]
push 1
add edi, 8
push 1
inc eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x1a4]
mov ecx, esi
call eax
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x1c0]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x640], 0
je 0x422e75
cmp byte [esi + 0x641], 0
je 0x422e75
cmp dword [esi + 0x648], 0
jg 0x422e57
xor eax, eax
jmp 0x422e5f
mov eax, dword [esi + 0x644]
mov eax, dword [eax]
mov edi, dword [esi + 0x63c]
lea ebx, [esi + 0x63c]
push 1
add edi, 8
push 0
dec eax
jmp 0x422e06
mov eax, dword [esi]
mov edx, dword [eax + 0x1bc]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
mov ecx, esi
call fcn.00458670
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4