Function at 0x46ca21
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
push ebx
mov ebx, ecx
mov ecx, dword [eax]
push esi
push edi
cmp ecx, 0xd
je 0x46cc77
cmp ecx, 0xf
je 0x46cc77
cmp ecx, 3
je 0x46cae2
cmp ecx, 0x12
jne 0x46cb15
movzx ecx, word [eax + 0x18]
xor edx, edx
sub ecx, edx
je 0x46caae
dec ecx
jne 0x46cb15
cmp byte [ebx + 0x4f8], dl
je 0x46ca9f
cmp byte [ebx + 0x971], dl
je 0x46ca9f
push edx
mov ecx, ebx
call fcn.0046c5f0
push eax
call fcn.0046c564
push 1
push 1
inc eax
mov edx, dword [ebx]
mov esi, dword [ebx + 0x4f4]
push eax
mov ecx, ebx
call dword [edx + 0x15c]
jmp 0x46cc4a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x170]
jmp 0x46cd2e
cmp byte [ebx + 0x4f8], dl
je 0x46cad3
cmp byte [ebx + 0x971], dl
je 0x46cad3
push edx
mov ecx, ebx
call fcn.0046c5f0
push eax
call fcn.0046c564
push 1
push 0
dec eax
jmp 0x46ca89
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x16c]
jmp 0x46cd2e
movzx ecx, word [eax + 0x14]
sub ecx, 0x21
je 0x46cc68
dec ecx
je 0x46cc59
dec ecx
je 0x46cc17
dec ecx
je 0x46cbf2
dec ecx
dec ecx
je 0x46cbaf
dec ecx
dec ecx
je 0x46cb54
sub ecx, 0x19
je 0x46cb22
push eax
mov ecx, ebx
call fcn.0046368d
jmp 0x46cd2e
cmp byte [ebx + 0x971], 0
jne 0x46cd2e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46cd2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
jmp 0x46cd2e
mov ecx, dword [ebx + 0x984]
sub ecx, dword [ebx + 0x980]
sar ecx, 2
test ecx, ecx
je 0x46cd2e
mov ecx, ebx
call fcn.0046c6c2
lea esi, [eax + 1]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
mov ecx, dword [ebx + 0x508]
add ecx, 0x4a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x46cba4
lea ecx, [ebx + 0x4a0]
jmp 0x46cc3e
lea ecx, [ebx + 0x4f4]
mov eax, dword [ecx]
push esi
jmp 0x46cbea
mov ecx, dword [ebx + 0x984]
sub ecx, dword [ebx + 0x980]
sar ecx, 2
test ecx, ecx
je 0x46cd2e
mov ecx, ebx
call fcn.0046c667
lea esi, [eax - 1]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
lea ecx, [ebx + 0x4f4]
mov eax, dword [ecx]
push 1
test esi, esi
jg 0x46cbac
push 0
call dword [eax + 8]
jmp 0x46cd2e
mov ecx, dword [ebx + 0x508]
add ecx, 0x4a0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x46cd2e
lea ecx, [ebx + 0x4f4]
mov eax, dword [ecx]
push 1
jmp 0x46cbe8
mov ecx, dword [ebx + 0x508]
add ecx, 0x4a0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x46cd2e
mov ecx, dword [ebx + 0x508]
add ecx, 0x4a0
push 1
mov eax, dword [ecx]
mov esi, dword [ebx + 0x4f4]
call dword [eax + 0xc]
dec eax
push eax
lea ecx, [ebx + 0x4f4]
call dword [esi + 8]
jmp 0x46cd2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x178]
jmp 0x46cd2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x174]
jmp 0x46cd2e
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 0x508]
add ecx, 0x4a0
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov byte [ebp + 0xb], 0
call dword [eax + 0xc]
test eax, eax
jle 0x46cd24
mov ecx, dword [ebx + 0x508]
push dword [ebp - 4]
add ecx, 0x4a0
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
mov eax, dword [esi]
push str.ListItem
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x46cd05
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x46cd05
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov esi, eax
mov eax, dword [ebp - 0xc]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x1c], eax
jg 0x46cd05
cmp dword [ebp - 0x14], eax
jl 0x46cd05
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jg 0x46cd05
cmp dword [ebp - 0x10], eax
jl 0x46cd05
mov byte [ebp + 0xb], 1
mov ecx, dword [ebx + 0x508]
inc dword [ebp - 4]
add ecx, 0x4a0
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp - 4], eax
jl 0x46cca4
cmp byte [ebp + 0xb], 0
jne 0x46cd2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
pop edi
pop esi
pop ebx
leave
ret 4