Function at 0x46ca10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x46ca2b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x40c
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jge 0x46ca91
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 8]
add ecx, 0x40c
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x20]
call sym.360pic.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 1]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x46ca8f
mov al, 1
jmp 0x46cd1f
jmp 0x46ca22
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x100
je 0x46cabf
cmp dword [ebp - 0x14], 0x104
je 0x46cc97
cmp dword [ebp - 0x14], 0x106
je 0x46cc1c
jmp 0x46cd1d
cmp dword [ebp + 0xc], 9
jne 0x46cc17
mov eax, dword [ebp - 8]
cmp dword [eax + 0x108], 0
je 0x46cb66
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 0x10c]
call eax
movzx ecx, al
test ecx, ecx
je 0x46cb66
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x46cb66
push str.RichEditUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.005214b3
add esp, 8
test eax, eax
je 0x46cb66
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x108]
call sym.360pic.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
movzx edx, al
test edx, edx
je 0x46cb66
xor al, al
jmp 0x46cd1f
mov eax, dword [ebp - 8]
cmp dword [eax + 0x108], 0
je 0x46cbea
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x108]
mov eax, dword [edx + 0x10c]
call eax
movzx ecx, al
test ecx, ecx
je 0x46cbea
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x46cbea
push str.WkeWebkitUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x108]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x108]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.005214b3
add esp, 8
test eax, eax
je 0x46cbea
xor al, al
jmp 0x46cd1f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x46cbff
mov byte [ebp - 2], 1
jmp 0x46cc03
mov byte [ebp - 2], 0
movzx edx, byte [ebp - 2]
push edx
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
mov al, 1
jmp 0x46cd1f
jmp 0x46cd1d
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00530936
add esp, 4
mov word [ebp - 0x1c], ax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x104]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x104]
mov eax, dword [edx]
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x2c], ecx
push 0x80000012
lea edx, [ebp - 0x1c]
push edx
push sym.360pic.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
mov ecx, dword [ebp - 0x28]
call dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46cc92
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x134]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
jmp 0x46cd1f
jmp 0x46cd1d
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x108], 0
je 0x46cd1d
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x58], 6
mov ax, word [ebp + 0xc]
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x11c]
mov eax, dword [ecx + 0x120]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
call fcn.00466c50
mov word [ebp - 0x42], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x34]
xor al, al
mov esp, ebp
pop ebp
ret 0x10