Function at 0x46db10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x46db3a
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
call eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jns 0x46db53
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0xc], 0xffffffff
jne 0x46db66
cmp dword [esi + 8], 0xffffffff
mov ecx, ebx
cmovne ecx, dword [esi + 8]
mov dword [esi + 0xc], ecx
mov eax, dword [esi - 0x170]
lea ecx, [esi - 0x170]
push edi
push ebx
call dword [eax]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x46dd50
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x10c]
call edx
test al, al
je 0x46dd50
mov eax, dword [edi]
mov ecx, edi
push str.ListItem
call dword [eax + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x46dd50
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46dc19
lea ecx, [esi + 0x10]
push ebx
call fcn.00427d80
mov edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x18]
mov dword [ebp + 8], ecx
mov ecx, eax
cmp edx, 0xffffffff
je 0x46dc0f
push 0
call dword [ebp + 8]
test al, al
je 0x46dd50
cmp dword [esi + 8], ebx
jne 0x46dbf9
mov dword [esi + 8], 0xffffffff
push dword [ebp - 8]
lea ecx, [esi + 0x10]
call fcn.00428510
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 1
call dword [ebp + 8]
jmp 0x46dcf9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46dced
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi + 0xc]
mov ecx, ebx
cmp eax, ebx
mov edi, ebx
cmovg ecx, eax
cmovle edi, eax
mov dword [ebp - 4], ecx
cmp edi, ecx
jg 0x46dca5
nop dword [eax]
mov eax, dword [esi - 0x170]
lea ecx, [esi - 0x170]
push edi
call dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x46dc9f
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x10c]
call edx
test al, al
je 0x46dc9f
mov ecx, dword [ebp - 8]
push str.ListItem
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
je 0x46dc9f
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x46dc9f
push edi
lea ecx, [esi + 0x10]
call fcn.00427a20
inc edi
cmp edi, dword [ebp - 4]
jle 0x46dc50
lea edi, [esi - 0x6c0]
mov dword [esi + 8], ebx
push ebx
mov ecx, edi
call fcn.0046c690
cmp byte [ebp + 0xc], 0
je 0x46dcc7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x46dd45
push 0
push dword [esi + 0xc]
push ebx
push str.itemselect
push edi
call fcn.00430050
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x46dd50
push ebx
lea ecx, [esi + 0x10]
mov dword [esi + 8], ebx
call fcn.00427a20
push ebx
lea ecx, [esi - 0x6c0]
call fcn.0046c690
cmp byte [ebp + 0xc], 0
je 0x46dd25
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x128]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x46dd45
push 0
push 0
push ebx
push str.itemselect
lea eax, [esi - 0x6c0]
push eax
call fcn.00430050
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8