Function at 0x46a1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp byte [esi + 0x95], 0
je 0x46a25a
mov ecx, dword [esi + 0x90]
call fcn.00417810
test al, al
je 0x46a25a
cmp byte [0x56bc94], 0
jne 0x46a25a
push dword [ebp + 0xc]
mov byte [0x56bc94], 1
push dword [ebp + 8]
push edi
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x56bc94], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edi, ebx
shr edi, 0x10
mov dword [ebp - 0x24], edi
test bl, 8
jne 0x46a52f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x46a52f
test bl, 2
jne 0x46a52f
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp eax, 4
je 0x46a2f1
cmp eax, 5
je 0x46a2f1
cmp eax, 6
je 0x46a2f1
mov ecx, dword [esi]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
fld qword [0x55ddf0]
fucompp
fnstsw ax
test ah, 0x44
jp 0x46a2f1
mov ecx, dword [esi]
mov eax, dword [ecx]
test di, di
jle 0x46a2db
push 0
call dword [eax + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
call dword [eax + 0x68]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
cmp dword [0x56bcc0], 0
je 0x46a5bc
test bl, 0x20
jne 0x46a318
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x46a318
xor bl, bl
xor bh, bh
jmp 0x46a322
mov bl, 1
mov bh, bl
mov byte [0x56b081], bh
cmp dword [0x56bcc0], 0
jge 0x46a3f7
mov ecx, dword [esi]
test ecx, ecx
je 0x46a3f7
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x46a3f7
xor eax, eax
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
movzx eax, bh
xor eax, 1
mov dword [ebp - 0x1c], 2
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov ecx, dword [esi]
test bl, bl
je 0x46a3ba
test ecx, ecx
je 0x46a38c
mov eax, dword [ecx]
call dword [eax + 0x78]
mov esi, eax
jmp 0x46a38e
xor esi, esi
push 0x78
movsx eax, di
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov ecx, esi
push eax
call fcn.0047bac0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x46a3c7
mov eax, dword [ecx]
call dword [eax + 0x78]
mov esi, eax
jmp 0x46a3c9
xor esi, esi
push 1
push 0x78
movsx eax, di
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov ecx, esi
push eax
call fcn.0047bb40
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
test byte [ebp + 8], 4
jne 0x46a4fe
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x46a4fe
push 1
push dword [esi + 0x60]
movsx eax, di
add dword [esi + 0x338], eax
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [0x56bcc0]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x28], eax
cmp dword [esi + 0x338], ecx
jl 0x46a46d
nop
push 0
push 0
test bl, bl
je 0x46a44f
push 0x114
jmp 0x46a454
push 0x115
push dword [esi + 0x60]
call edi
mov ecx, dword [0x56bcc0]
sub dword [esi + 0x338], ecx
cmp dword [esi + 0x338], ecx
jge 0x46a440
neg ecx
cmp dword [esi + 0x338], ecx
jg 0x46a4a5
push 0
push 1
test bl, bl
je 0x46a486
push 0x114
jmp 0x46a48b
push 0x115
push dword [esi + 0x60]
call edi
mov eax, dword [0x56bcc0]
add dword [esi + 0x338], eax
neg eax
cmp dword [esi + 0x338], eax
jle 0x46a477
test bl, bl
jne 0x46a5bc
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
call fcn.004015f0
test al, al
jne 0x46a5bc
push 1
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, dword [ebp - 0x28]
jne 0x46a5bc
cmp word [ebp - 0x24], 0
mov ecx, dword [esi]
mov eax, dword [ecx]
jle 0x46a2db
push 1
call dword [eax + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
xor eax, eax
test di, di
push 0
setle al
add eax, 0x401
push eax
push 0x115
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x46a56e
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x46a56e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
test di, di
jns 0x46a57b
fld dword [0x55dcec]
jmp 0x46a581
fld dword [0x55ddb0]
mov ecx, dword [esi]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
fstp dword [esp]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [esi]
lea edx, [ebp - 0x34]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
push edx
mov eax, dword [ecx]
push ecx
fstp dword [esp]
call dword [eax + 0x30]
mov ecx, esi
call fcn.00462f30
test bl, 2
je 0x46a5bc
mov byte [esi + 0x130], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret