Function at 0x422900
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44f41e
push eax
mov dword fs:[0], esp
sub esp, 0x80
push esi
mov esi, ecx
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x422df0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
push ebx
push ebp
push edi
push eax
push ecx
mov ecx, esi
call fcn.004227f0
mov edi, eax
test edi, edi
je 0x422962
mov edx, dword [edi]
mov eax, dword [esi + 0xf8]
cmp edx, eax
je 0x422962
mov dword [esi + 0x19c], 0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
mov bp, ax
push 0x10
and ebp, 0xc000
neg ebp
sbb ebp, ebp
neg ebp
call ebx
and eax, 0xc000
neg eax
sbb eax, eax
xor ebx, ebx
neg eax
cmp ebp, ebx
je 0x422a70
cmp edi, ebx
je 0x422dd8
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call fcn.004076b0
test eax, eax
je 0x422a3c
mov eax, dword [edi]
push ebx
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call fcn.00407690
mov ebp, dword [esi + 0xcc]
lea eax, [esi + 0xd0]
cmp ebp, eax
je 0x422a6a
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
cmp dword [edx], ecx
je 0x4229ed
mov ebp, dword [ebp + 4]
cmp ebp, eax
jne 0x4229d9
push edi
jmp 0x422dd1
mov eax, dword [esi + 0xcc]
cmp ebp, eax
jne 0x422a04
mov eax, dword [eax + 4]
mov dword [esi + 0xcc], eax
mov dword [eax], ebx
jmp 0x422a15
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [edx], eax
mov ecx, dword [esi + 0xdc]
dec ecx
cmp ebp, ebx
mov dword [esi + 0xdc], ecx
je 0x422a6a
mov ecx, ebp
call fcn.00406f90
push ebp
call fcn.00435865
add esp, 4
push edi
jmp 0x422dd1
mov ecx, dword [edi]
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call fcn.00407690
lea ecx, [esi + 0xcc]
lea eax, [esp + 0x14]
push edi
push eax
lea edx, [ecx + 4]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x24]
push edx
call fcn.00423de0
push edi
jmp 0x422dd1
cmp edi, ebx
je 0x422dc4
cmp eax, ebx
je 0x422b66
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x422b66
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x422b66
mov eax, dword [eax]
cmp eax, ebx
je 0x422b66
cmp dword [eax + 8], ebx
je 0x422b66
push ebx
mov ecx, esi
call fcn.00423060
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0xfc]
mov dword [esp + 0x14], eax
cmp edi, ecx
jle 0x422b16
lea ebp, [esi + 0xcc]
dec edi
lea ebx, [ebp + 4]
mov eax, dword [eax + 8]
push 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 8]
call fcn.00407690
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.00423de0
mov edx, dword [esp + 0x14]
mov ecx, edi
dec edi
mov eax, dword [edx]
mov edx, dword [esi + 0xfc]
cmp ecx, edx
mov dword [esp + 0x14], eax
jge 0x422ad1
jmp 0x422dd8
lea ebp, [esi + 0xcc]
inc edi
lea ebx, [ebp + 4]
mov edx, dword [eax + 8]
push 1
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call fcn.00407690
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.00423de0
mov ecx, dword [esp + 0x14]
mov edx, edi
inc edi
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 0xfc]
cmp edx, ecx
mov dword [esp + 0x14], eax
jle 0x422b20
jmp 0x422dd8
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call fcn.004076b0
test eax, eax
je 0x422ba4
push ebx
mov ecx, esi
mov dword [0x469bac], 1
call fcn.00423060
mov ecx, dword [0x470f14]
cmp dword [ecx + 0x1c], ebx
je 0x422dd8
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x422dd8
push ebx
mov ecx, esi
call fcn.00423060
mov dword [0x469bac], ebx
mov ecx, dword [edi]
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call fcn.00407690
lea ecx, [esi + 0xcc]
lea eax, [esp + 0x1c]
push edi
push eax
lea edx, [ecx + 4]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x28]
push edx
call fcn.00423de0
push edi
mov ecx, esi
call fcn.00422850
mov eax, dword [0x465e04]
mov dword [esp + 0x10], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov byte [esp + 0x98], 1
mov ecx, dword [eax + 8]
lea eax, [esp + 0x10]
push eax
mov edx, dword [ecx]
mov ecx, dword [edx + 8]
call fcn.00407740
lea ecx, [esp + 0x10]
call fcn.00432db3
lea ecx, [esp + 0x18]
call fcn.00435241
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call fcn.0043569a
mov ebp, eax
mov al, byte [ebp]
cmp al, 0x30
jl 0x422c59
cmp al, 0x39
jg 0x422c59
push eax
lea ecx, [esp + 0x1c]
call fcn.0043566d
inc ebp
inc ebx
cmp ebx, 5
jl 0x422c3d
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004356e9
mov edx, dword [esp + 0x18]
push edx
call fcn.0042a451
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x422c7a
or ecx, 0xffffffff
mov eax, ecx
xor edx, edx
shr eax, 4
div dword [0x470f20]
mov eax, dword [0x470f1c]
test eax, eax
je 0x422ca6
mov eax, dword [eax + edx*4]
test eax, eax
je 0x422ca6
cmp dword [eax + 8], ecx
je 0x422d9b
mov eax, dword [eax]
test eax, eax
jne 0x422c97
push 0x465ad8
mov ecx, 0x470edc
call fcn.004353f3
mov ecx, dword [0x470f14]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x422ccd
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [0x470f14]
push esi
push 0xbb
call fcn.00435a28
push esi
lea ecx, [esp + 0x40]
call fcn.0043cd7b
mov eax, dword [0x470f0c]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x9c], 2
call fcn.0043c6b5
mov eax, dword [0x470edc]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [0x470f14]
push 0
call fcn.00439536
add edi, 8
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x28]
sub eax, edx
sub eax, 5
jns 0x422d43
xor eax, eax
add edx, 5
push 0x40
push edx
mov edx, dword [esp + 0x2c]
add edx, 0xa
push edx
push eax
push ecx
mov ecx, dword [0x470f14]
push 0x4728a0
call fcn.004394e7
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 1
call fcn.0043cded
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 0
call fcn.004352b6
lea ecx, [esp + 0x10]
mov dword [esp + 0x98], 0xffffffff
call fcn.004352b6
jmp 0x422dd8
test eax, eax
je 0x422ca6
add eax, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.004353a3
lea eax, [esp + 0x10]
mov ecx, 0x470edc
push eax
call fcn.004353a3
jmp 0x422cb5
cmp eax, ebx
jne 0x422dd8
push ebx
mov ecx, esi
call fcn.00423060
push ebx
mov ecx, esi
call fcn.00422850
mov eax, dword [esi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.00436637
pop edi
pop ebp
pop ebx
mov ecx, esi
call fcn.0043959f
mov ecx, dword [esp + 0x84]
pop esi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc