Function at 0x456040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561e59
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x10]
lea esi, [ebx - 0xc]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], esi
cmp eax, 0xf
jne 0x4560a8
push 1
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
push edi
mov ecx, esi
call fcn.0045b180
jmp 0x45621a
cmp eax, 0x14
jne 0x456157
push 1
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, ebx
call dword [eax + 0x228]
cmp dword [esi + 0x188], 0
mov eax, dword [ebx]
jne 0x4560f9
push ebx
call dword [eax + 0x1ac]
cmp eax, 0xffffff
je 0x456149
mov ecx, dword [edi]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [ecx + 0x70]
mov edi, dword [ebp - 0x5c]
mov dword [edi], 1
jmp 0x456223
push 1
push ebx
call dword [eax + 0x1c0]
push eax
call dword [sym.imp.soui4.dll_public:_static_int___cdecl_SOUI::SState2Index::GetDefIndex_unsigned_long_int__bool_]
mov ecx, dword [ebx]
add esp, 8
mov edi, eax
push ebx
call dword [ecx + 0xb4]
test eax, eax
mov eax, 1
cmovne edi, eax
mov eax, dword [esi + 0x188]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [esi + 0x188]
xor ecx, ecx
cmp edi, eax
lea eax, [ebp - 0x20]
cmovl ecx, edi
mov esi, dword [edx]
push ecx
push eax
mov eax, dword [ebp - 0x64]
push eax
push edx
call dword [esi + 0x58]
mov edi, dword [ebp - 0x5c]
mov dword [edi], 1
jmp 0x456223
cmp eax, 0x100
jne 0x456258
push 1
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
xor ecx, ecx
movzx edi, di
test esi, esi
mov eax, ebx
cmove eax, ecx
lea ecx, [ebp - 0x58]
push eax
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::EventKeyDown::constructor_struct_SOUI::IObject__]
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
shr ecx, 0x10
mov dword [ebp - 0x28], ecx
mov ecx, ebx
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], edi
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SWindow::FireEvent_class_SOUI::SEvtArgs__]
cmp dword [ebp - 0x24], 0
je 0x4561bd
push dword [esi + 0x514]
mov eax, dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
mov ecx, ebx
call eax
jmp 0x45620a
cmp edi, 0xd
jne 0x4561ec
test dword [esi + 0x49c], 0x1000
jne 0x4561ec
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4561ec
push dword [esi + 0x514]
mov eax, dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
mov ecx, ebx
call eax
jmp 0x45620a
mov eax, dword [esi + 0x4b0]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x80]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.soui4.dll_public_virtual:_void___thiscall_SOUI::EventKeyDown::destructor_void_]
mov edi, dword [ebp - 0x5c]
mov dword [edi], 0
mov esi, dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SWindow::IsMsgHandled_void_const]
mov ecx, ebx
call esi
test eax, eax
je 0x456306
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x20a
jne 0x4562fd
push 1
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SWindow::SetMsgHandled_int_]
mov eax, dword [ebp - 0x60]
movsx ecx, ax
shr eax, 0x10
movsx ebx, ax
mov eax, dword [ebp - 0x64]
push ebx
push ecx
mov ecx, dword [ebp - 0x68]
shr edi, 0x10
movzx esi, ax
push edi
push esi
lea ecx, [ecx + 4]
call dword [sym.imp.soui4.dll_protected:_int___thiscall_SOUI::SRichEdit::OnMouseWheel_unsigned_int__short_int__class_SOUI::CPoint_]
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp dword [ebp - 0x68], ecx
cmove eax, ecx
lea ecx, [ebp - 0xa8]
push eax
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SEvtArgs::constructor_struct_SOUI::IObject__]
mov dword [ebp - 0xa8], 0x596ba0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 1
movsx eax, cx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x6c]
mov ecx, ebx
push eax
mov dword [ebp - 0x7c], esi
mov word [ebp - 0x78], di
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SWindow::FireEvent_class_SOUI::SEvtArgs__]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.soui4.dll_public_virtual:_void___thiscall_SOUI::SEvtArgs::destructor_void_]
mov edi, dword [ebp - 0x5c]
mov dword [edi], esi
jmp 0x456223
mov esi, dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SWindow::IsMsgHandled_void_const]
mov edi, dword [ebp - 0x5c]
mov ecx, ebx
call esi
test eax, eax
jne 0x456235
push edi
push dword [ebp - 0x60]
mov ecx, ebx
push dword [ebp - 0x64]
push dword [ebp + 8]
call dword [sym.imp.soui4.dll_protected_virtual:_int___thiscall_SOUI::SEdit::ProcessSwndMessage_unsigned_int__unsigned_int__long_int__long_int__]
jmp 0x45623a