Function at 0x433706
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ecx
push ecx
cmp dword [0x50da14], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
jl 0x43374b
mov eax, dword [esi + 0x820]
cmp word [eax], 0
jne 0x43372b
lea eax, [esi + 0xd0a]
mov ecx, dword [esp + 0x28]
push dword [ecx]
mov ecx, dword [esp + 0x28]
push dword [ecx]
push dword [esp + 0x28]
push eax
push str.GetNodeColors__s__0x_08x__0x_06X__0x_06X_...
push 5
call fcn.004487a4
add esp, 0x18
cmp dword [0x5010a4], 0
je 0x433793
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
mov ebp, 0x8000
mov ecx, ebp
test cx, ax
jne 0x433773
push 2
call edi
test bp, ax
je 0x433793
push dword [0x5010c4]
call fcn.0042fea3
test eax, eax
je 0x433793
cmp eax, dword [esi + 8]
jne 0x43378e
or dword [esp + 0x20], 0x10
jmp 0x433793
and dword [esp + 0x20], 0xfffffffe
mov eax, dword [esp + 0x24]
mov ebx, dword [eax]
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
and dword [esp + 0x1c], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
or edi, 0xffffffff
cmp dword [esi + 0xfe0], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
je 0x4337e9
call ebp
mov edi, eax
sub edi, dword [esi + 0xfdc]
cmp dword [0x50da14], 5
jl 0x433813
push edi
push dword [esi + 0xfe0]
push str._pTNI__JustArrivedRemoved_i_age_u
push 5
call fcn.004487a4
add esp, 0x10
jmp 0x433813
cmp dword [0x50da14], 5
jl 0x43381c
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x433801
mov eax, dword [eax + 0x40]
jmp 0x433803
xor eax, eax
push eax
push str._pTNI__JustArrivedRemoved0__nCompanionPorts_i
push 5
call fcn.004487a4
add esp, 0xc
cmp edi, 0xffffffff
jne 0x433932
cmp dword [0x501180], 0
je 0x433932
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x433932
cmp dword [eax + 0x40], 0
jle 0x433932
test byte [esp + 0x20], 1
jne 0x433932
push dword [0x501818]
call fcn.004308cc
test eax, eax
je 0x433932
mov eax, dword [eax + 0xfc4]
test eax, eax
je 0x433932
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x433932
xor edx, edx
test ecx, ecx
jle 0x433932
add eax, 0x30
cmp dword [eax], esi
je 0x433896
inc edx
add eax, 4
cmp edx, ecx
jl 0x433885
jmp 0x433932
call ebp
mov edi, eax
sub edi, dword [0x50181c]
cmp dword [0x50da14], 5
jl 0x4338c0
push edi
lea eax, [esi + 0xd0a]
push eax
push str.companion_highlight_for__s___selAge_u
push 5
call fcn.004487a4
add esp, 0x10
mov edx, dword [0x501180]
mov ecx, dword [0x501170]
xor eax, eax
inc eax
cmp edx, eax
je 0x4338e4
cmp edx, 2
jne 0x433932
mov edx, dword [0x501174]
add edx, ecx
cmp edi, edx
jae 0x433932
mov edx, dword [esi + 0xfc4]
cmp dword [edx + 4], 2
mov edx, dword [0x5010a4]
jne 0x4338ff
mov edx, dword [edx*4 + 0x5011a4]
jmp 0x433906
mov edx, dword [edx*4 + 0x5011ac]
cmp edi, ecx
sbb ecx, ecx
inc ecx
inc ecx
mov dword [esi + 0xfe4], ecx
cmp dword [0x50da14], 5
mov dword [esp + 0x14], edx
mov dword [0x501164], eax
jl 0x433932
push str.set_g_AnyTreeItemColoredtrue___companion_
push 5
call fcn.004487a4
pop ecx
pop ecx
cmp dword [0x5010a4], 0
jne 0x43397e
test byte [esp + 0x20], 0x10
jne 0x4339ac
test byte [esp + 0x20], 1
je 0x4339ac
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x24]
cmp eax, dword [ecx]
jne 0x43397e
cmp dword [0x50da14], 5
mov eax, dword [0x5010a4]
mov ebx, dword [eax*4 + 0x5011bc]
jl 0x43397e
push ebx
push str.changed_default_bkcolor_to_0x_X_bc_selected_no_focused
push 5
call fcn.004487a4
add esp, 0xc
cmp dword [0x5010a4], 1
jne 0x4339ac
test byte [esp + 0x20], 0x10
je 0x433996
mov ebx, dword [0x5011b8]
jmp 0x4339a3
test byte [esp + 0x20], 1
je 0x4339ac
mov ebx, dword [0x5011c0]
mov eax, dword [0x498ad0]
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp dword [esi + 8], ebp
jne 0x4339ba
xor eax, eax
jmp 0x433d85
cmp edi, 0xffffffff
jne 0x4339f0
lea eax, [esi + 0xfe8]
cmp dword [eax], ebp
je 0x4339cb
mov dword [eax], ebp
add esi, 0xfe4
cmp dword [esi], ebp
je 0x4339d7
mov dword [esi], ebp
mov eax, dword [esp + 0x24]
cmp ebx, dword [eax]
je 0x4339b3
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jmp 0x433d82
test byte [esp + 0x20], 1
je 0x433a33
cmp dword [0x501178], ebp
jne 0x433a33
cmp dword [0x50da14], 5
jl 0x433a16
push str._node_is_selected_and_bHighlightSelItemfalse____no_hilight
push 5
call fcn.004487a4
pop ecx
pop ecx
mov eax, dword [esp + 0x24]
cmp ebx, dword [eax]
je 0x4339b3
mov dword [eax], ebx
cmp dword [0x5010a4], ebp
je 0x433d82
mov eax, dword [0x498ad0]
jmp 0x4339e5
cmp dword [0x500aa8], 5
jne 0x433a49
push 1
push dword [0x5010bc]
call fcn.004273c3
cmp dword [esi + 0xfe0], ebp
jne 0x433a5a
cmp dword [0x501180], 2
jne 0x433a83
mov eax, dword [0x501170]
cmp edi, eax
jae 0x433aaa
cmp dword [0x50da14], 5
jl 0x433c14
push 0
push eax
push edi
push str._age___u____HighlightDuration___u______u__
push 5
call fcn.004487a4
add esp, 0x14
push 5
pop ebp
cmp dword [0x50da14], ebp
jl 0x433c14
mov eax, dword [esi + 0xfcc]
test eax, eax
jne 0x433bcb
push str._pTNI__pDeviceInfo_is_NULL
jmp 0x433be0
mov ecx, dword [0x501174]
lea ebp, [ecx + eax]
cmp edi, ebp
jae 0x433b10
mov ecx, edi
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [0x501174]
cmp dword [0x50da14], 5
mov dword [esp + 0x1c], eax
jl 0x433aee
push eax
push dword [0x501174]
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u_____100_u__u_u__
push 5
call fcn.004487a4
add esp, 0x1c
lea eax, [esi + 0xfe8]
cmp dword [eax], 1
jne 0x433b34
cmp dword [esi + 0x10], 8
mov dword [eax], 2
jne 0x433b34
push 1
mov ecx, esi
call fcn.0040a7ba
jmp 0x433b34
cmp dword [0x50da14], 5
mov dword [esp + 0x1c], 0x64
jl 0x433b3f
push 0x64
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u______u__
push 5
call fcn.004487a4
add esp, 0x14
cmp dword [esp + 0x1c], 0x64
jne 0x433a83
push str.set_pTNI__JustArrivedRemoved__JUST_0
xor edi, edi
push 4
mov dword [esi + 0xfe0], edi
call fcn.004487a4
mov eax, dword [esp + 0x2c]
pop ecx
mov dword [esi + 0xfe4], edi
mov dword [esi + 0xfe8], edi
pop ecx
cmp ebx, dword [eax]
jne 0x433b9c
cmp dword [0x50da14], 5
jl 0x4339b3
mov eax, dword [esi + 0x820]
cmp word [eax], di
jne 0x433b87
lea eax, [esi + 0xd0a]
push eax
push str._fading_finished____unchanged_colors____return_false___s_
push 5
call fcn.004487a4
add esp, 0xc
jmp 0x4339b3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [eax], ebx
mov dword [edx], ecx
cmp dword [0x50da14], 5
jl 0x433d82
push dword [eax]
push str._fading_finished____return_true_bc_crBack0x_X
push 5
call fcn.004487a4
add esp, 0xc
jmp 0x433d82
mov ecx, dword [0x5034fc]
push eax
call fcn.0040121c
test eax, eax
jne 0x433bea
push str._pTNI__pDeviceInfo_is_invalid
push ebp
call fcn.004487a4
pop ecx
pop ecx
jmp 0x433c14
mov edi, dword [esi + 0xfcc]
mov ecx, dword [0x5034fc]
push edi
call fcn.004011ae
push eax
push dword [edi + 0x39e8]
push dword [edi + 8]
push str._IsPresent_i_Prob_u_IsSrDev_i
push ebp
call fcn.004487a4
add esp, 0x14
xor edi, edi
cmp dword [0x5010a4], 1
jg 0x433d3a
cmp dword [esi + 0xfe0], edi
je 0x433d3a
mov eax, dword [esi + 0xfcc]
cmp eax, edi
je 0x433c6a
mov eax, dword [eax + 0x39e8]
cmp eax, edi
je 0x433c4b
cmp dword [esi + 0x1004], edi
jne 0x433c7c
push eax
call fcn.004475f9
test eax, eax
jne 0x433c7c
push dword [esi + 0xfcc]
mov ecx, dword [0x5034fc]
call fcn.004011ae
test eax, eax
jne 0x433c7c
mov eax, dword [esi + 0xfcc]
cmp eax, edi
jne 0x433ca8
cmp dword [esi + 0x1004], edi
je 0x433ca4
cmp dword [0x50da14], 5
jl 0x433c93
push str._cyan
push 5
call fcn.004487a4
pop ecx
pop ecx
mov eax, dword [0x5010a4]
mov esi, dword [eax*4 + 0x50119c]
jmp 0x433d3e
cmp eax, edi
je 0x433d15
mov ecx, dword [0x5034fc]
push eax
call fcn.0040121c
test eax, eax
je 0x433d15
mov esi, dword [esi + 0xfcc]
cmp dword [esi + 8], edi
je 0x433d15
cmp dword [esi + 0x39e8], edi
je 0x433cf0
cmp dword [0x50da14], 5
jl 0x433ce2
push str._yellow
push 5
call fcn.004487a4
pop ecx
pop ecx
mov eax, dword [0x5010a4]
mov esi, dword [eax*4 + 0x501194]
jmp 0x433d3e
cmp dword [0x50da14], 5
jl 0x433d07
push str._green
push 5
call fcn.004487a4
pop ecx
pop ecx
mov eax, dword [0x5010a4]
mov esi, dword [eax*4 + 0x501184]
jmp 0x433d3e
cmp dword [0x50da14], 5
jl 0x433d2c
push str._red
push 5
call fcn.004487a4
pop ecx
pop ecx
mov eax, dword [0x5010a4]
mov esi, dword [eax*4 + 0x50118c]
jmp 0x433d3e
mov esi, dword [esp + 0x14]
push ebx
push dword [esp + 0x20]
push esi
call fcn.0042983b
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
cmp dword [0x5010a4], edi
je 0x433d62
mov eax, dword [0x498ad0]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
cmp dword [0x50da14], 5
jl 0x433d82
push dword [ecx]
push ebx
push dword [esp + 0x24]
push esi
push str._bg0x_06X____i_____0x_06X_____0x_06X
push 5
call fcn.004487a4
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x10