Function at 0x471cb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 0x11], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_GetParentToolbarView_qqrv
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x25
jg 0x471d17
je 0x471e06
cmp eax, 0x12
jg 0x471cfd
je 0x471daf
sub eax, 9
je 0x471d4a
sub eax, 4
je 0x471d66
jmp 0x471f79
sub eax, 0x1b
je 0x471dbb
add eax, 0xfffffff8
sub eax, 2
jb 0x471f42
jmp 0x471f79
cmp eax, 0x28
jg 0x471d37
je 0x471efe
sub eax, 0x26
je 0x471efe
dec eax
je 0x471e06
jmp 0x471f79
sub eax, 0x70
je 0x471f6a
sub eax, 9
je 0x471daf
jmp 0x471f79
push ebp
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
setge dl
mov eax, dword [ebp - 4]
call fcn.00471bb8
pop ecx
jmp 0x471f71
mov eax, dword [ebp - 4]
cmp dword [eax + 0x8c], 0
je 0x471da3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x32], 0
je 0x471da3
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_ClickSelectedItem_qqrr24Tb2item_TTBItemEventData
test al, al
je 0x471f71
mov eax, dword [ebp + 8]
mov byte [eax + 5], 1
jmp 0x471f71
mov eax, dword [ebp + 8]
mov byte [eax + 5], 1
jmp 0x471f71
mov eax, dword [ebp + 8]
mov byte [eax + 5], 1
jmp 0x471f71
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x471dd9
mov eax, dword [ebp + 8]
mov byte [eax + 5], 1
jmp 0x471f71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call sym.LookAtLan.exe__Tb2item_TTBView_CloseChildPopups_qqrv
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x51], 0
je 0x471f71
mov eax, dword [ebp - 0x10]
and byte [eax + 0x92], 0xbf
jmp 0x471f71
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jne 0x471e3b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x85], 1
jne 0x471e3b
mov dl, 1
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_OpenChildPopup_qqrxo
test al, al
je 0x471f71
mov eax, dword [ebp - 0xc]
or byte [eax + 0x92], 0x40
jmp 0x471f71
mov eax, dword [ebp - 8]
cmp word [eax], 0x25
jne 0x471eb2
cmp dword [ebp - 0xc], 0
je 0x471e94
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x85], 1
je 0x471e94
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x471e69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
cmp eax, dword [ebp - 0xc]
jne 0x471e84
push ebp
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00471bb8
pop ecx
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00471bf0
pop ecx
jmp 0x471f71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call sym.LookAtLan.exe__Tb2item_TTBView_CloseChildPopups_qqrv
jmp 0x471f71
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x471f71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call sym.LookAtLan.exe__Tb2item_TTBView_CloseChildPopups_qqrv
jmp 0x471f71
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x471ecc
mov dl, 1
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_OpenChildPopup_qqrxo
test al, al
jne 0x471f71
cmp dword [ebp - 0xc], 0
je 0x471f71
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x85], 1
je 0x471f71
push ebp
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00471bb8
pop ecx
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00471bf0
pop ecx
jmp 0x471f71
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jne 0x471f2c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x85], 1
je 0x471f2c
mov dl, 1
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_OpenChildPopup_qqrxo
test al, al
je 0x471f71
mov eax, dword [ebp - 0xc]
or byte [eax + 0x92], 0x40
jmp 0x471f71
push ebp
mov eax, dword [ebp - 8]
cmp word [eax], 0x28
sete dl
mov eax, dword [ebp - 4]
call fcn.00471bb8
pop ecx
jmp 0x471f71
mov eax, dword [ebp - 8]
cmp word [eax], 0x24
sete cl
xor edx, edx
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_NextSelectable_qqrp21Tb2item_TTBItemViewero
mov edx, eax
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_SetSelected_qqrp21Tb2item_TTBItemViewer
mov eax, dword [ebp - 4]
call sym.LookAtLan.exe__Tb2item_TTBView_ScrollSelectedIntoView_qqrv
jmp 0x471f71
push ebp
call fcn.00471c3c
pop ecx
mov eax, dword [ebp - 8]
mov word [eax], 0
mov esp, ebp
pop ebp
ret 4