Function at 0x4317a2
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x507a24], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
jl 0x4317d9
mov eax, dword [esi + 0x81c]
cmp word [eax], 0
jne 0x4317c5
lea eax, [esi + 0xcf6]
push dword [esp + 0x18]
push eax
push str.GetNodeBkColor__s__0x_08x_...
push 5
call fcn.00445f0b
add esp, 0x10
and dword [esp + 0x14], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
or edi, 0xffffffff
cmp dword [esi + 0xfe0], 0
push 2
pop ebx
je 0x43181e
call ebp
mov edi, eax
sub edi, dword [esi + 0xfdc]
cmp dword [0x507a24], 5
jl 0x431848
push edi
push dword [esi + 0xfe0]
push str._pTNI__JustArrivedRemoved_i_age_u
push 5
call fcn.00445f0b
add esp, 0x10
jmp 0x431848
cmp dword [0x507a24], 5
jl 0x431851
mov eax, dword [esi + 0xfb0]
test eax, eax
je 0x431836
mov eax, dword [eax + 0x40]
jmp 0x431838
xor eax, eax
push eax
push str._pTNI__JustArrivedRemoved0__nCompanionPorts_i
push 5
call fcn.00445f0b
add esp, 0xc
cmp edi, 0xffffffff
jne 0x4319b2
cmp dword [0x4fb26c], 0
je 0x431966
mov eax, dword [esi + 0xfb0]
test eax, eax
je 0x431966
cmp dword [eax + 0x40], 0
jle 0x431966
test byte [esp + 0x18], 1
jne 0x431966
push dword [0x4fb8e4]
call fcn.0042ed1a
test eax, eax
je 0x431966
mov eax, dword [eax + 0xfb0]
test eax, eax
je 0x431966
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x431966
xor edx, edx
test ecx, ecx
jle 0x431966
add eax, 0x30
cmp dword [eax], esi
je 0x4318cb
inc edx
add eax, 4
cmp edx, ecx
jl 0x4318ba
jmp 0x431966
call ebp
mov edi, eax
sub edi, dword [0x4fb8e8]
cmp dword [0x507a24], 4
jl 0x4318f5
push edi
lea eax, [esi + 0xcf6]
push eax
push str.companion_highlight_for__s___selAge_u
push 4
call fcn.00445f0b
add esp, 0x10
mov ecx, dword [0x4fb26c]
xor eax, eax
inc eax
cmp ecx, eax
je 0x431918
cmp ecx, ebx
jne 0x431961
mov ecx, dword [0x4fb25c]
mov edx, dword [0x4fb260]
add edx, ecx
cmp edi, edx
jae 0x431961
mov ecx, dword [esi + 0xfb0]
cmp dword [ecx + 4], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x4fb280]
je 0x431933
mov ecx, dword [0x4fb284]
mov dword [edx], ecx
cmp edi, dword [0x4fb25c]
sbb ecx, ecx
add ecx, ebx
mov dword [esi + 0xfe4], ecx
cmp dword [0x507a24], 5
mov dword [0x4fb254], eax
jl 0x431961
push str.set_g_AnyTreeItemColoredtrue___companion_
push 5
call fcn.00445f0b
pop ecx
pop ecx
cmp edi, 0xffffffff
jne 0x4319b2
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [0x4fb1c8]
je 0x43198e
test byte [esp + 0x18], 1
je 0x43198e
mov eax, dword [0x4fb288]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x431d90
lea eax, [esi + 0xfe8]
xor ecx, ecx
cmp dword [eax], ecx
je 0x43199e
mov dword [eax], ecx
jmp 0x431986
add esi, 0xfe4
xor eax, eax
cmp dword [esi], ecx
je 0x431d90
mov dword [esi], ecx
jmp 0x431988
mov eax, dword [esi + 8]
test eax, eax
je 0x431d8e
cmp eax, dword [0x4fb8e4]
jne 0x4319e7
cmp dword [0x4fb264], 0
jne 0x4319e7
cmp dword [0x507a24], 5
jl 0x43198e
push str._node_is_selected_and_bHighlightSelItemfalse____no_hilight
push 5
call fcn.00445f0b
pop ecx
pop ecx
jmp 0x43198e
cmp dword [0x4fabc0], 5
jne 0x4319fd
push 1
push dword [0x4fb1c0]
call fcn.00425da8
cmp dword [esi + 0xfe0], 0
jne 0x431a0e
cmp dword [0x4fb26c], ebx
jne 0x431a33
mov eax, dword [0x4fb25c]
cmp edi, eax
jae 0x431a50
cmp dword [0x507a24], 5
jl 0x431a33
push 0
push eax
push edi
push str._age___u____HighlightDuration___u______u__
push 5
call fcn.00445f0b
add esp, 0x14
cmp dword [esp + 0x18], 0x11
push 5
pop ebx
push 8
mov ebp, ebx
pop eax
jne 0x431b20
push 0xd
pop ebp
push 0xe
jmp 0x431b2c
mov ecx, dword [0x4fb260]
lea ebp, [ecx + eax]
push 0x64
pop ecx
cmp edi, ebp
jae 0x431ab9
mov ecx, edi
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [0x4fb260]
cmp dword [0x507a24], 5
mov dword [esp + 0x14], eax
jl 0x431a97
push eax
push dword [0x4fb260]
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u_____100_u__u_u__
push 5
call fcn.00445f0b
add esp, 0x1c
lea eax, [esi + 0xfe8]
cmp dword [eax], 1
jne 0x431ad8
cmp dword [esi + 0x10], 8
mov dword [eax], 2
jne 0x431ad8
push 1
mov ecx, esi
call fcn.0040a12e
jmp 0x431ad8
cmp dword [0x507a24], 5
mov dword [esp + 0x14], ecx
jl 0x431ae3
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u______u__
push 5
call fcn.00445f0b
add esp, 0x14
cmp dword [esp + 0x14], 0x64
jne 0x431a33
xor ecx, ecx
mov dword [esi + 0xfe0], ecx
mov dword [esi + 0xfe4], ecx
mov dword [esi + 0xfe8], ecx
cmp dword [0x507a24], 5
jl 0x431d8e
mov eax, dword [esi + 0x81c]
cmp word [eax], cx
jne 0x431b15
lea eax, [esi + 0xcf6]
push eax
push str._fading_finished____unchanged_colors____return_false___s_
jmp 0x431d84
cmp dword [esp + 0x18], 1
jne 0x431b2d
push 4
pop ebp
push 7
pop eax
cmp dword [0x507a24], ebx
jl 0x431ba9
push eax
push ebp
push dword [esp + 0x1c]
push str._fade__i_percent__TargetBackColorIdx_i_TargetForeColorIdx_i
push ebx
call fcn.00445f0b
add esp, 0x14
cmp dword [0x507a24], ebx
jl 0x431ba9
mov eax, dword [esi + 0xfc0]
test eax, eax
jne 0x431b6a
push str._pTNI__pDeviceInfo_is_NULL
push ebx
call fcn.00445f0b
pop ecx
pop ecx
jmp 0x431ba9
mov ecx, dword [0x4fd5c4]
push eax
call fcn.004011ae
test eax, eax
jne 0x431b81
push str._pTNI__pDeviceInfo_is_invalid
jmp 0x431b60
mov edi, dword [esi + 0xfc0]
mov eax, edi
push dword [eax + 0x10]
call fcn.00445178
push eax
push dword [edi + 0x39e4]
push dword [edi + 8]
push str._IsPresent_i_Prob_u_IsSrDev_i
push ebx
call fcn.00445f0b
add esp, 0x14
xor edi, edi
cmp dword [esi + 0xfe0], edi
je 0x431c9e
mov eax, dword [esi + 0xfc0]
cmp eax, edi
je 0x431bef
mov eax, dword [eax + 0x39e4]
cmp eax, edi
je 0x431bd3
cmp dword [esi + 0x1000], edi
jne 0x431c01
push eax
call fcn.0044515b
test eax, eax
jne 0x431c01
mov eax, dword [esi + 0xfc0]
push dword [eax + 0x10]
call fcn.00445178
test eax, eax
jne 0x431c01
mov eax, dword [esi + 0xfc0]
cmp eax, edi
jne 0x431c21
cmp dword [esi + 0x1000], edi
je 0x431c1d
cmp dword [0x507a24], ebx
jl 0x431c16
push str._cyan
push ebx
call fcn.00445f0b
pop ecx
pop ecx
mov eax, dword [0x4fb27c]
jmp 0x431c5e
cmp eax, edi
je 0x431c82
mov ecx, dword [0x4fd5c4]
push eax
call fcn.004011ae
test eax, eax
je 0x431c82
mov eax, dword [esi + 0xfc0]
cmp dword [eax + 8], edi
je 0x431c82
cmp dword [eax + 0x39e4], edi
je 0x431c66
cmp dword [0x507a24], ebx
jl 0x431c59
push str._yellow
push ebx
call fcn.00445f0b
pop ecx
pop ecx
mov eax, dword [0x4fb278]
mov ebx, dword [esp + 0x1c]
mov dword [ebx], eax
jmp 0x431ca2
cmp dword [0x507a24], ebx
jl 0x431c7b
push str._green
push ebx
call fcn.00445f0b
pop ecx
pop ecx
mov eax, dword [0x4fb270]
jmp 0x431c5e
cmp dword [0x507a24], ebx
jl 0x431c97
push str._red
push ebx
call fcn.00445f0b
pop ecx
pop ecx
mov eax, dword [0x4fb274]
jmp 0x431c5e
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push ebp
call edi
mov ebp, eax
mov eax, dword [esp + 0x18]
and eax, 0x11
cmp al, 0x11
jne 0x431d2a
push 0xe
call edi
mov ecx, eax
movzx edx, al
shr ecx, 8
shr eax, 0x10
movzx ecx, cl
movzx eax, al
cmp ecx, eax
mov edi, ecx
jg 0x431cd5
mov edi, eax
cmp edx, edi
jle 0x431cdd
mov eax, edx
jmp 0x431ce3
cmp ecx, eax
jle 0x431ce3
mov eax, ecx
cmp eax, 0xf0
jle 0x431d2a
mov edi, dword [esp + 0x1c]
movzx ebx, byte [edi]
mov eax, 0xc8
cmp ebx, eax
jl 0x431cfd
sub ebx, 0x16
movzx edx, byte [edi + 1]
cmp edx, eax
jl 0x431d08
sub edx, 0x2c
movzx ecx, byte [edi + 2]
cmp ecx, eax
jl 0x431d13
sub ecx, 0x21
movzx eax, cl
movzx ecx, dl
shl eax, 8
or eax, ecx
movzx ecx, bl
shl eax, 8
or eax, ecx
mov dword [edi], eax
mov ebx, edi
push ebp
push dword [esp + 0x18]
push dword [ebx]
call fcn.00428077
cmp dword [0x507a24], 5
mov edi, eax
jl 0x431d58
push edi
push ebp
push dword [esp + 0x1c]
push dword [ebx]
push str._bg0x_06X____i_____0x_06X_____0x_06X
push 5
call fcn.00445f0b
add esp, 0x18
cmp edi, dword [ebx]
je 0x431d63
mov dword [ebx], edi
jmp 0x431986
cmp dword [0x507a24], 5
jl 0x431d8e
mov eax, dword [esi + 0x81c]
cmp word [eax], 0
jne 0x431d7e
lea eax, [esi + 0xcf6]
push eax
push str._unchanged_colors____return_false___s_
push 5
call fcn.00445f0b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10