Function at 0x43e920
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
js 0x43eb38
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
and eax, 0x8000
push 0x11
mov dword [ebp - 4], eax
call esi
and eax, 0x8000
mov dword [ebp - 8], eax
jne 0x43e976
cmp dword [ebp - 4], 0
jne 0x43e976
mov eax, dword [ebx]
mov ecx, ebx
push 1
push 0
push edi
mov eax, dword [eax + 0xc]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx - 0x560]
lea edi, [ebx - 0x560]
mov edx, dword [eax + 0x150]
cmp eax, vtable.ui::ListBox.0
jne 0x43eb43
mov eax, dword [edi + 0x33c]
mov esi, dword [edi + 0x338]
sub eax, esi
mov ecx, dword [ebp + 8]
sar eax, 2
cmp ecx, eax
jae 0x43e9b0
mov esi, dword [esi + ecx*4]
jmp 0x43e9b2
xor esi, esi
test esi, esi
je 0x43eb38
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x43eb38
mov eax, dword [esi]
mov eax, dword [eax + 0x9c]
cmp eax, method.ui::LabelTemplate_class_ui::Control_.virtual_156
jne 0x43eb51
mov al, byte [esi + 0x85]
test al, al
je 0x43eb38
push 0
push 0x5b93c8
push 0x5b880c
push 0
push esi
call sub.msvcrt.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43eb38
cmp dword [ebp - 8], 0
je 0x43ea7f
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov edx, dword [esi]
cmp edx, vtable.ui::ListContainerElement.2.0
jne 0x43eb5a
mov al, byte [esi - 0x4c]
test al, al
mov ecx, esi
push 1
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
mov eax, dword [esi]
cmp eax, vtable.ui::ListContainerElement.2.0
jne 0x43eb68
mov al, byte [esi - 0x4c]
test al, al
je 0x43eb2d
mov ecx, dword [ebx - 0x540]
test ecx, ecx
je 0x43eb2d
push dword [ebp - 8]
push dword [ebx + 8]
push 0x2a
push edi
call fcn.00427160
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 4], 0
je 0x43eb2d
mov eax, dword [ebx + 8]
mov edx, eax
mov ecx, dword [ebp + 8]
cmp eax, ecx
cmovge edx, ecx
mov dword [ebp - 8], edx
mov edx, ecx
cmovge edx, eax
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
cmp eax, vtable.ui::ListBox.0
jne 0x43eb74
mov eax, dword [edi + 0x33c]
sub eax, dword [edi + 0x338]
sar eax, 2
xor esi, esi
mov dword [ebp - 4], eax
test eax, eax
jle 0x43eb15
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x150]
test eax, eax
je 0x43eb0d
push 0
push 0x5b93c8
push 0x5b880c
push 0
push eax
call sub.msvcrt.dll___RTDynamicCast
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x43eb0d
cmp esi, dword [ebp - 8]
jl 0x43eb04
cmp esi, dword [ebp - 0xc]
jg 0x43eb04
push 1
push 1
jmp 0x43eb08
push 1
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
inc esi
cmp esi, ebx
jl 0x43eac8
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx - 0x540]
test ecx, ecx
je 0x43eb2d
push dword [ebx + 8]
push dword [ebp + 8]
push 0x2a
push edi
call fcn.00427160
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
mov ecx, edi
call edx
mov esi, eax
jmp 0x43e9b2
mov ecx, esi
call eax
jmp 0x43e9e4
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
jmp 0x43ea30
mov eax, dword [eax + 0x18]
mov ecx, esi
call eax
jmp 0x43ea50
mov ecx, edi
call dword [eax + 0x15c]
jmp 0x43eabd