Function at 0x3016dec5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 8], ebx
mov esi, ecx
jne 0x3016df04
mov eax, dword [edi + 0xc]
sub eax, ebx
je 0x3016df13
dec eax
jne 0x3016df04
push dword [edi + 0x14]
mov ecx, dword [esi + 0x84]
call fcn.3016d0dc
cmp word [edi + 0x18], 0x1b
mov byte [edi + 4], 1
jne 0x3016df04
mov ecx, esi
call fcn.3016d630
push edi
mov ecx, esi
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::Element::OnInput_struct_NetUI::InputEvent__
pop edi
pop esi
pop ebx
leave
ret 4
mov dl, byte [esi + 0x7d]
test dl, dl
js 0x3016df1f
mov dword [ebp + 8], ebx
jmp 0x3016df32
mov ecx, dword [esi + 4]
mov eax, esi
jmp 0x3016df2b
mov eax, ecx
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x3016df26
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x10]
dec eax
dec eax
je 0x3016e0cc
dec eax
je 0x3016df61
sub eax, 4
jne 0x3016df04
lea eax, [esi + 0x92]
cmp byte [eax], bl
je 0x3016df53
mov byte [eax], bl
jmp 0x3016df04
test dl, 0x40
jne 0x3016e058
jmp 0x3016e051
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov byte [esi + 0x91], bl
mov byte [esi + 0x92], bl
je 0x3016df0c
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x18]
push eax
push dword [edi]
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::Element::MapElementPoint_class_NetUI::Element___struct_tagPOINT_const___struct_tagPOINT__
mov ecx, esi
call sym.OFFDIAG.exe_public:_int___thiscall_NetUI::Element::GetX_void_
mov ecx, esi
mov dword [ebp - 4], eax
call sym.OFFDIAG.exe_public:_int___thiscall_NetUI::Element::GetY_void_
mov ebx, eax
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 4]
add ebx, dword [edi + 0x30]
push eax
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetX_int_
push ebx
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetY_int_
mov ecx, dword [ebp + 8]
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::Element::GetHostingHWND_void_
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, ebx
je 0x3016e0a1
cmp byte [esi + 0x90], 0
jne 0x3016e0a8
push 1
push 0
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetWidthPixels_int__int_
push 1
push 0
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetHeightPixels_int__int_
or dword [ebp - 8], 0xffffffff
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
lea ebx, [esi + 0x84]
mov ecx, dword [ebx]
push eax
call fcn.3016ddc6
mov ecx, dword [ebx]
call fcn.3016cfc6
mov ecx, dword [ebx]
call fcn.3016d0af
mov ecx, esi
call fcn.3016dc58
test al, al
jne 0x3016e051
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
test ax, ax
jl 0x3016e061
push 2
call ebx
test ax, ax
jl 0x3016e061
mov ecx, esi
call fcn.3016d630
mov byte [edi + 4], 1
jmp 0x3016df04
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x3c]
mov byte [esi + 0x91], 1
mov byte [esi + 0x92], 1
call fcn.3015fb99
push dword [0x302619d8]
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Node::RemoveLocalValue_struct_NetUI::PropertyInfo_const__
push dword [0x302619dc]
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Node::RemoveLocalValue_struct_NetUI::PropertyInfo_const__
mov byte [esi + 0x90], 1
jmp 0x3016e0a8
mov byte [esi + 0x90], 0
push dword [edi + 0x14]
add esi, 0x84
mov ecx, dword [esi]
call fcn.3016d0dc
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.3016ddc6
mov byte [edi + 4], 1
jmp 0x3016df0c
mov byte [edi + 4], 1
cmp byte [esi + 0x91], bl
je 0x3016e0fc
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
test ax, ax
jl 0x3016e0f0
push 2
call ebx
test ax, ax
jge 0x3016e0fc
mov byte [esi + 0x91], 0
jmp 0x3016df0c
mov ecx, dword [esi + 0x84]
call fcn.3016cfc6
mov ecx, dword [esi + 0x84]
call fcn.3016d0af
test byte [esi + 0x7d], 0x40
jne 0x3016df0c
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x3016e132
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x18]
push eax
push dword [edi]
call sym.OFFDIAG.exe_public:_void___thiscall_NetUI::Element::MapElementPoint_class_NetUI::Element___struct_tagPOINT_const___struct_tagPOINT__
push 0
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetAlpha_unsigned_char_
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 0x84]
lea eax, [ebp - 0x10]
push eax
call fcn.3016d311
push 1
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Node::Destroy_bool_
jmp 0x3016df0c