Function at 0x46b436
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c3dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1c8]
and dword [ebp - 0x18], 0
mov ecx, esi
mov edi, eax
call fcn.00414b0b
mov ebx, dword [ebp + 8]
and eax, 0x400000
push 0x25
mov dword [ebp - 0x1c], eax
pop eax
je 0x46b4b6
cmp ebx, eax
jne 0x46b4af
push 0x27
pop ebx
mov eax, ebx
sub eax, 0x26
je 0x46b4e1
sub eax, 1
je 0x46b62d
sub eax, 1
je 0x46b5fe
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
test eax, eax
jne 0x46b7c7
mov ecx, esi
call fcn.0040fdc0
jmp 0x46b7c7
cmp ebx, 0x27
jne 0x46b4b6
mov ebx, eax
cmp ebx, eax
ja 0x46b477
je 0x46b5bb
cmp ebx, 0xd
je 0x46b4e8
cmp ebx, 0x1b
je 0x46b5ad
cmp ebx, 0x20
jbe 0x46b490
cmp ebx, 0x22
jbe 0x46b590
cmp ebx, 0x24
ja 0x46b490
mov dword [ebp - 0x18], 1
cmp dword [0x5cdec0], 0
jne 0x46b4fc
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
cmp dword [ebp - 0x18], 0
je 0x46b7c7
cmp dword [esi + 0xf7c], 0
je 0x46b7ae
mov eax, dword [edi + 0xbf0]
test eax, eax
js 0x46b7ae
push eax
mov ecx, edi
call fcn.0044c22b
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x46b542
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x354]
test eax, eax
je 0x46b7ae
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [edi + 0xd4c]
mov eax, dword [ecx + 0x58]
cmp eax, dword [ebp - 0x10]
jge 0x46b6fa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
sub eax, dword [ebp - 0x10]
cdq
idiv ecx
dec eax
jmp 0x46b71f
cmp dword [esi + 0xf80], 0
je 0x46b490
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x400]
jmp 0x46b506
mov dword [esi + 0x1164], 1
push 1
jmp 0x46b5f2
mov ecx, esi
call fcn.0046a573
test eax, eax
je 0x46b5d5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x398]
jmp 0x46b7c7
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x46b7c7
mov eax, dword [ecx]
call dword [eax + 0x70]
test eax, eax
je 0x46b7c7
push 0
mov ecx, esi
call fcn.00469299
jmp 0x46b7c7
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46b4e1
cmp dword [edi + 0xd68], 0
jne 0x46b4e1
mov ecx, esi
call fcn.0046d7de
jmp 0x46b7c7
push 0
call fcn.0044c1ca
and dword [0x5cf2d8], 0
mov ecx, esi
mov ebx, eax
call fcn.0046a5c4
mov edi, eax
test edi, edi
je 0x46b69b
cmp dword [edi + 0x20], 0xffffffff
je 0x46b664
cmp dword [edi + 0x20], 0
je 0x46b664
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe0]
test eax, eax
je 0x46b69b
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0xcc]
test eax, eax
je 0x46b69b
cmp dword [edi + 0x8c], 0
je 0x46b6ef
mov ecx, esi
call fcn.0046a5c4
cmp eax, edi
jne 0x46b6ef
mov ecx, dword [edi + 0x8c]
push 0
push 0
push 0x24
call fcn.0046b436
jmp 0x46b6ef
mov ecx, esi
call fcn.0046a573
mov edi, eax
test edi, edi
je 0x46b6c4
push 0x5c3710
mov ecx, edi
call fcn.0040a407
test eax, eax
jne 0x46b6c4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x39c]
jmp 0x46b6ef
mov ecx, esi
call fcn.0046a529
test eax, eax
je 0x46b6ef
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
push 0
sete cl
lea ecx, [ecx*2 + 0x25]
push ecx
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x5cf2d8], ebx
jmp 0x46b7c7
mov eax, dword [ecx + 0x60]
cmp eax, dword [ebp - 8]
jle 0x46b7ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
sub eax, dword [ebp - 8]
cdq
idiv ecx
inc eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x46b7ae
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x354]
mov ecx, eax
mov eax, dword [esi + 0x14c]
cdq
idiv ecx
add ebx, dword [ebp - 0x18]
lea edx, [eax - 2]
jns 0x46b74b
xor ecx, ecx
jmp 0x46b74d
mov ecx, ebx
mov eax, dword [edi + 0xc48]
sub eax, edx
dec eax
cmp ecx, eax
jge 0x46b762
test ebx, ebx
jns 0x46b764
xor ebx, ebx
jmp 0x46b764
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0046d563
push 0
mov ecx, esi
call fcn.00468e86
cmp dword [esi + 0xf80], 0
je 0x46b7a1
lea ecx, [esi + 0xfb8]
test ecx, ecx
je 0x46b7a1
cmp dword [ecx + 0x20], 0
je 0x46b7a1
push 1
push ebx
push 2
push dword [esi + 0xfd8]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x46b7ae
test eax, eax
je 0x46b7ae
push 0
mov ecx, esi
call fcn.00468e86
cmp dword [edi + 0xd80], 0
je 0x46b7c7
mov eax, dword [esi]
mov ecx, esi
push dword [edi + 0xbf0]
call dword [eax + 0x204]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005235c9
mov esp, ebp
pop ebp
ret 0xc