Function at 0x1004b110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x2d4], edi
jle 0x1004b162
nop dword [eax + eax]
mov eax, dword [esi + 0x2d0]
lea edx, [esp + 0x13]
mov byte [esp + 0x13], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax]
cmp byte [esp + 0x13], 0
jne 0x1004b337
inc edi
cmp edi, dword [esi + 0x2d4]
jl 0x1004b130
sub ebx, 0x100
je 0x1004b29a
sub ebx, 4
je 0x1004b1df
sub ebx, 2
jne 0x1004b28f
cmp dword [esi + 0xe0], ebx
je 0x1004b28f
push dword [ebp + 0xc]
mov dword [esp + 0x18], ebx
call fcn.102760ca
mov ecx, dword [esi + 0xe0]
lea edx, [esp + 0x18]
add esp, 4
mov word [esp + 0x14], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push sym.nsInstall.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0x110]
mov esi, eax
test esi, esi
je 0x1004b28f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x104]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x1004b28f
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov word [esp + 0x2c], ax
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xf8]
push 0x11
mov dword [esp + 0x24], 0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x1c], 6
mov dword [esp + 0x2c], eax
call ebx
test ax, ax
mov ecx, 8
push 2
cmovs edi, ecx
call ebx
test ax, ax
jns 0x1004b249
or edi, 2
push 1
call ebx
test ax, ax
jns 0x1004b255
or edi, 1
push 0x10
call ebx
test ax, ax
jns 0x1004b261
or edi, 4
push 0x12
call ebx
test ax, ax
jns 0x1004b26d
or edi, 0x20
mov word [esp + 0x2e], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x1004b28f
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x1004b31e
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
cmp eax, sym.nsInstall.dll_public_virtual:_bool___thiscall_DuiLib::CControlUI::IsVisible_void_const
jne 0x1004b342
cmp byte [ecx + 0x1b4], 0
je 0x1004b31e
cmp byte [ecx + 0x1b5], 0
je 0x1004b31e
mov ecx, dword [esi + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
cmp eax, sym.nsInstall.dll_public_virtual:_bool___thiscall_DuiLib::CControlUI::IsEnabled_void_const
jne 0x1004b348
mov al, byte [ecx + 0x1b6]
test al, al
je 0x1004b31e
mov ecx, dword [esi + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.10262e5e
add esp, 8
test eax, eax
je 0x1004b31e
mov eax, dword [esi + 0xe4]
cmp byte [eax + 0x699], 0
jne 0x1004b28f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.nsInstall.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call eax
test al, al
jmp 0x1004b2cd
call eax
jmp 0x1004b2ea