Function at 0x451000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
jmp 0x45101b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x194
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 4], eax
jge 0x451077
mov byte [ebp - 9], 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x194
call sym.Setup.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 9]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
call eax
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x451075
mov al, 1
jmp 0x45126c
jmp 0x451012
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x100
je 0x4510a5
cmp dword [ebp - 0x40], 0x104
je 0x4511ea
cmp dword [ebp - 0x40], 0x106
je 0x451172
jmp 0x45126a
cmp dword [ebp + 0xc], 9
jne 0x45116d
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x10c], 0
je 0x45114c
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x10c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10c]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x45114c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10c]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x10c]
mov edx, dword [eax]
mov eax, dword [edx + 0xd4]
call eax
movzx ecx, al
test ecx, ecx
je 0x45114c
push str.RichEditUI
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10c]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x10c]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.00430842
add esp, 8
test eax, eax
je 0x45114c
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x10c]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
movzx edx, al
test edx, edx
je 0x45114c
xor al, al
jmp 0x45126c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
setge cl
movzx edx, cl
push edx
mov ecx, dword [ebp - 0x38]
call sym.Setup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
mov al, 1
jmp 0x45126c
jmp 0x45126a
xor eax, eax
mov word [ebp - 0x10], ax
xor ecx, ecx
mov word [ebp - 0xe], cx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ba9fc
add esp, 4
mov word [ebp - 0x10], ax
push 0x80000012
lea eax, [ebp - 0x10]
push eax
push sym.Setup.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x108]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x108]
mov edx, dword [edx]
mov eax, dword [edx + 0xfc]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4511e5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
jmp 0x45126c
jmp 0x45126a
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x10c], 0
je 0x45126a
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], 6
mov ax, word [ebp + 0xc]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x124]
mov eax, dword [ecx + 0x128]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
call fcn.00451280
mov word [ebp - 0x1e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10c]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x10c]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10