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

Disassembly:
cmp dword [0x506bac], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
jl 0x43149b
push dword [esp + 0x18]
push dword [esi + 0x81c]
push str.GetNodeBkColor__s___u_...
push 5
call fcn.004453fb
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebp, ebp
or edi, 0xffffffff
mov dword [esp + 0x14], ebp
cmp dword [esi + 0xfe0], ebp
je 0x4314dd
call ebx
mov edi, eax
sub edi, dword [esi + 0xfdc]
cmp dword [0x506bac], 5
jl 0x4314f4
push edi
push dword [esi + 0xfe0]
push str._pTNI__JustArrivedRemoved_i_arT_u
push 5
call fcn.004453fb
add esp, 0x10
jmp 0x4314f4
cmp dword [0x506bac], 5
jl 0x4314fd
push str._pTNI__JustArrivedRemoved0
push 5
call fcn.004453fb
pop ecx
pop ecx
cmp edi, 0xffffffff
jne 0x431612
cmp dword [0x4fa1ec], ebp
je 0x4315e5
mov eax, dword [esi + 0xfb0]
cmp eax, ebp
je 0x4315e5
cmp dword [eax + 0x40], ebp
jle 0x4315e5
test byte [esp + 0x18], 1
jne 0x4315e5
push dword [0x4fa864]
call fcn.0042e9e9
cmp eax, ebp
je 0x4315e5
mov eax, dword [eax + 0xfb0]
cmp eax, ebp
je 0x4315e5
mov ecx, dword [eax + 0x40]
cmp ecx, ebp
je 0x4315e5
xor edx, edx
cmp ecx, ebp
jle 0x4315e5
add eax, 0x30
cmp dword [eax], esi
je 0x431572
inc edx
add eax, 4
cmp edx, ecx
jl 0x431564
jmp 0x4315e5
call ebx
mov edi, eax
sub edi, dword [0x4fa868]
cmp dword [0x506bac], 4
jl 0x43159c
push edi
lea eax, [esi + 0xcf6]
push eax
push str.companion_highlight_for__s___T_u
push 4
call fcn.004453fb
add esp, 0x10
mov eax, dword [0x4fa1ec]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4315be
cmp eax, 2
jne 0x4315e0
mov eax, dword [0x4fa1e0]
mov edx, dword [0x4fa1dc]
add eax, edx
cmp edi, eax
jae 0x4315e0
mov eax, dword [esi + 0xfb0]
cmp dword [eax + 4], 2
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4fa200]
je 0x4315d8
mov eax, dword [0x4fa204]
mov dword [edx], eax
mov dword [esi + 0xfe4], ecx
cmp edi, 0xffffffff
jne 0x431612
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [0x4fa148]
je 0x4318ec
test byte [esp + 0x18], 1
je 0x4318ec
mov eax, dword [0x4fa208]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x4318e7
cmp dword [esi + 8], ebp
je 0x4318ec
cmp dword [0x4f9b48], 5
jne 0x431631
push 1
push dword [0x4fa140]
call fcn.00425a34
cmp dword [esi + 0xfe0], ebp
jne 0x431642
cmp dword [0x4fa1ec], 2
jne 0x431672
mov ecx, dword [0x4fa1dc]
cmp edi, ecx
jb 0x431672
mov ebx, dword [0x4fa1e0]
lea eax, [ebx + ecx]
cmp edi, eax
jae 0x43166a
mov eax, edi
sub eax, ecx
imul eax, eax, 0x64
xor edx, edx
div ebx
mov dword [esp + 0x14], eax
jmp 0x431672
mov dword [esp + 0x14], 0x64
mov ebx, dword [esp + 0x18]
push 5
pop ebp
push 8
pop eax
cmp ebx, 0x11
jne 0x431688
push 0xd
pop ebp
push 0xe
jmp 0x431692
cmp ebx, 1
jne 0x431693
push 4
pop ebp
push 7
pop eax
cmp dword [0x506bac], 4
jl 0x4316b1
push eax
push ebp
push dword [esp + 0x1c]
push str._fade__i_percent__TargetBackColorIdx_i_TargetForeColorIdx_i
push 4
call fcn.004453fb
add esp, 0x14
xor edi, edi
cmp dword [0x506bac], 5
jl 0x431718
mov eax, dword [esi + 0xfc0]
cmp eax, edi
jne 0x4316cd
push str._pTNI__pDeviceInfo_is_NULL
jmp 0x4316e2
mov ecx, dword [0x4fc544]
push eax
call fcn.004011ae
test eax, eax
jne 0x4316ed
push str._pTNI__pDeviceInfo_is_invalid
push 5
call fcn.004453fb
pop ecx
pop ecx
jmp 0x431718
mov edi, dword [esi + 0xfc0]
mov eax, edi
push dword [eax + 0x10]
call fcn.004447b9
push eax
push dword [edi + 0x39e4]
push dword [edi + 8]
push str._IsPresent_i_Prob_u_IsSrDev_i
push 5
call fcn.004453fb
add esp, 0x14
xor edi, edi
cmp dword [esi + 0xfe0], edi
je 0x431811
mov eax, dword [esi + 0xfc0]
cmp eax, edi
je 0x43175c
mov eax, dword [eax + 0x39e4]
cmp eax, edi
je 0x431740
cmp dword [esi + 0xffc], edi
jne 0x43176e
push eax
call fcn.0044479c
test eax, eax
jne 0x43176e
mov eax, dword [esi + 0xfc0]
push dword [eax + 0x10]
call fcn.004447b9
test eax, eax
jne 0x43176e
mov eax, dword [esi + 0xfc0]
cmp eax, edi
jne 0x431790
cmp dword [esi + 0xffc], edi
je 0x43178c
cmp dword [0x506bac], 5
jl 0x431785
push str._cyan
push 5
call fcn.004453fb
pop ecx
pop ecx
mov eax, dword [0x4fa1fc]
jmp 0x43180b
cmp eax, edi
je 0x4317ef
mov ecx, dword [0x4fc544]
push eax
call fcn.004011ae
test eax, eax
je 0x4317ef
mov eax, dword [esi + 0xfc0]
cmp dword [eax + 8], edi
je 0x4317ef
cmp dword [eax + 0x39e4], edi
je 0x4317d1
cmp dword [0x506bac], 5
jl 0x4317ca
push str._yellow
push 5
call fcn.004453fb
pop ecx
pop ecx
mov eax, dword [0x4fa1f8]
jmp 0x43180b
cmp dword [0x506bac], 5
jl 0x4317e8
push str._green
push 5
call fcn.004453fb
pop ecx
pop ecx
mov eax, dword [0x4fa1f0]
jmp 0x43180b
cmp dword [0x506bac], 5
jl 0x431806
push str._red
push 5
call fcn.004453fb
pop ecx
pop ecx
mov eax, dword [0x4fa1f4]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x14], 0x64
jne 0x431824
mov dword [esi + 0xfe0], edi
mov dword [esi + 0xfe4], edi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push ebp
call esi
and ebx, 0x11
mov edi, eax
cmp bl, 0x11
jne 0x4318ab
push 0xe
call esi
mov ecx, eax
movzx edx, al
shr ecx, 8
shr eax, 0x10
movzx ecx, cl
movzx eax, al
cmp ecx, eax
mov esi, ecx
jg 0x431854
mov esi, eax
cmp edx, esi
jle 0x43185c
mov eax, edx
jmp 0x431862
cmp ecx, eax
jle 0x431862
mov eax, ecx
cmp eax, 0xf0
jle 0x4318ab
mov ebp, dword [esp + 0x1c]
movzx ebx, byte [ebp]
mov eax, 0xc8
cmp ebx, eax
jl 0x43187d
sub ebx, 0x16
movzx edx, byte [ebp + 1]
cmp edx, eax
jl 0x431888
sub edx, 0x2c
movzx ecx, byte [ebp + 2]
cmp ecx, eax
jl 0x431893
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 [ebp], eax
jmp 0x4318af
mov ebp, dword [esp + 0x1c]
push edi
push dword [esp + 0x18]
push dword [ebp]
call fcn.00427d03
cmp dword [0x506bac], 4
mov esi, eax
jl 0x4318df
push esi
push edi
push dword [esp + 0x1c]
push dword [ebp]
push str._bg0x_06X____i_____0x_06X_____0x_06X
push 4
call fcn.004453fb
add esp, 0x18
cmp esi, dword [ebp]
je 0x4318ec
mov dword [ebp], esi
xor eax, eax
inc eax
jmp 0x4318ee
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10