Function at 0x30185452
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x10]
test eax, eax
mov esi, ecx
je 0x3018546f
cmp eax, 2
jne 0x301858ef
mov eax, dword [edi + 8]
cmp eax, dword [sym.OFFDIAG.exe_public:_static_void____stdcall_NetUI::SimpleButton::UIDContext_void_]
push ebx
jne 0x301854a1
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov ebx, dword [0x30265d50]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x301854f8
mov ecx, dword [edi + 4]
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Button::GetIsMenuButton_void_
test al, al
je 0x301854f8
mov eax, dword [edi + 8]
cmp eax, dword [sym.OFFDIAG.exe_public:_static_void____stdcall_NetUI::Button::UIDClick_void_]
jne 0x301858ee
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov ebx, dword [0x30268774]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
jne 0x301854f8
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov ebx, dword [0x30265d50]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x301858ee
mov ecx, dword [edi + 4]
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Button::GetIsMenuButton_void_
test al, al
je 0x301858ee
mov eax, dword [esi]
push esi
call dword [eax]
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 4]
mov dword [esi + 0xc], ecx
mov eax, dword [ecx]
mov ebx, dword [0x30268774]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, dword [esi + 0xc]
jne 0x30185549
mov eax, dword [ecx]
mov ebx, dword [0x30265d50]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x30185550
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Button::GetIsMenuButton_void_
test al, al
je 0x30185550
mov ecx, dword [esi + 0xc]
push 1
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::SimpleButton::SetIsPressed_bool_
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test al, al
je 0x3018588d
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
test byte [eax + 0x7d], 0x80
jne 0x30185574
and dword [ebp - 8], 0
jmp 0x3018557e
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x30185572
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov ebx, dword [0x30268774]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
jne 0x3018561d
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov ebx, dword [0x30265d50]
call dword [eax + 0x64]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x301855c2
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Button::GetIsMenuButton_void_
test al, al
jne 0x3018561d
mov eax, dword [edi + 8]
cmp eax, dword [sym.OFFDIAG.exe_public:_static_void____stdcall_NetUI::Button::UIDClick_void_]
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
xor ebx, ebx
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
je 0x3018560a
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x14]
push eax
push eax
push dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::Element::MapElementPoint_class_NetUI::Element___struct_tagPOINT_const___struct_tagPOINT__
mov ecx, dword [esi + 0xc]
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::Element::GetHostingHWND_void_
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebp - 0x24], ecx
inc ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jmp 0x3018578b
mov edi, dword [esi + 0xc]
mov eax, dword [0x30268774]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov ebx, edi
mov ecx, edi
mov dword [ebp - 4], ebx
call dword [eax + 0x64]
push dword [ebp - 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x30185695
push dword [0x3026875c]
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::Element::FindSelfOrAncestor_struct_NetUI::IClassInfo_const__
mov edi, eax
test edi, edi
jne 0x30185695
push dword [0x30268760]
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::Element::FindSelfOrAncestor_struct_NetUI::IClassInfo_const__
mov edi, eax
test edi, edi
je 0x3018567e
push dword [0x302677ec]
mov ecx, edi
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::Element::FindAncestor_struct_NetUI::IClassInfo_const__
mov dword [ebp - 4], eax
mov ebx, eax
jmp 0x30185695
push dword [0x30268768]
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::Element::FindSelfOrAncestor_struct_NetUI::IClassInfo_const__
mov edi, eax
test edi, edi
jne 0x30185695
mov edi, dword [esi + 0xc]
test ebx, ebx
je 0x3018570b
mov eax, dword [0x30268774]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x64]
push dword [ebp - 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, ebx
je 0x301856c1
push 1
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::DropButton::SetIsMenuDropped_bool_
jmp 0x3018570b
mov eax, dword [0x30265d50]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
call dword [eax + 0x64]
push dword [ebp - 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, ebx
je 0x301856e7
push 1
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Button::SetIsMenuDropped_bool_
jmp 0x3018570b
mov eax, dword [0x302677ec]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
call dword [eax + 0x64]
push dword [ebp - 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x3018570b
push 1
mov ecx, ebx
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::ListView::SetIsMenuDropped_bool_
push 0xc
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x3c]
call fcn.3015f7eb
mov ebx, dword [edi + 4]
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
je 0x30185771
push 0xc
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x3c]
call fcn.3015f7eb
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x24], eax
jg 0x30185747
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
jg 0x30185752
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
jl 0x3018575d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], eax
jl 0x30185768
mov dword [ebp - 0x18], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x3018572e
xor eax, eax
push 2
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, edi
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::Element::GetHostingHWND_void_
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x48]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
push 0x2a3
push dword [eax + 0x3c]
mov dword [ebp - 0xc], ebx
call fcn.3016152b
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x30185889
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x30185817
push dword [0x30262cb8]
mov ecx, ebx
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::Element::FindAncestor_struct_NetUI::IClassInfo_const__
mov ebx, eax
test ebx, ebx
je 0x30185814
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call sym.OFFDIAG.exe_public:_class_NetUI::Element____thiscall_NetUI::HWNDElement::ElementFromPoint_struct_tagPOINT_const__
test eax, eax
je 0x30185814
mov ecx, dword [ebp - 4]
push eax
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Node::IsDescendent_class_NetUI::Node__const
test al, al
jne 0x30185889
mov ebx, dword [ebp - 4]
mov eax, dword [0x30268774]
mov dword [ebp + 8], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x64]
push dword [ebp + 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, ebx
je 0x3018583f
push 0
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::DropButton::SetIsMenuDropped_bool_
jmp 0x30185889
mov eax, dword [0x30265d50]
mov dword [ebp + 8], eax
mov eax, dword [ebx]
call dword [eax + 0x64]
push dword [ebp + 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, ebx
je 0x30185865
push 0
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Button::SetIsMenuDropped_bool_
jmp 0x30185889
mov eax, dword [0x302677ec]
mov dword [ebp + 8], eax
mov eax, dword [ebx]
call dword [eax + 0x64]
push dword [ebp + 8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x30185889
push 0
mov ecx, ebx
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::ListView::SetIsMenuDropped_bool_
mov byte [edi + 0xc], 1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x3018589a
push eax
call fcn.3013b3ce
and dword [esi + 0x14], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov edi, dword [0x30268774]
call dword [eax + 0x64]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x20]
test al, al
mov ecx, dword [esi + 0xc]
jne 0x301858e1
mov eax, dword [ecx]
mov edi, dword [0x30265d50]
call dword [eax + 0x64]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x301858e8
mov ecx, dword [esi + 0xc]
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Button::GetIsMenuButton_void_
test al, al
je 0x301858e8
mov ecx, dword [esi + 0xc]
push 0
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::SimpleButton::SetIsPressed_bool_
mov eax, dword [esi]
push esi
call dword [eax + 4]
pop ebx
pop edi
pop esi
leave
ret 8