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

Disassembly:
sub esp, 0xc
cmp dword [0x5168ac], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
jl 0x43748e
mov eax, dword [esi + 0x824]
cmp word [eax], 0
jne 0x43746e
lea eax, [esi + 0xd0e]
mov ecx, dword [esp + 0x2c]
push dword [ecx]
mov ecx, dword [esp + 0x2c]
push dword [ecx]
push dword [esp + 0x2c]
push eax
push str.GetNodeColors__s__0x_08x__0x_06X__0x_06X_...
push 5
call fcn.0044d31e
add esp, 0x18
cmp dword [0x50a120], 0
je 0x4374d6
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
mov ebp, 0x8000
mov ecx, ebp
test cx, ax
jne 0x4374b6
push 2
call edi
test bp, ax
je 0x4374d6
push dword [0x50a144]
call fcn.004331d7
test eax, eax
je 0x4374d6
cmp eax, dword [esi + 8]
jne 0x4374d1
or dword [esp + 0x24], 0x11
jmp 0x4374d6
and dword [esp + 0x24], 0xffffffee
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
and dword [esp + 0x10], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
or edi, 0xffffffff
cmp dword [esi + 0xfec], 0
mov dword [esp + 0x14], eax
mov ebx, edi
je 0x43752e
call ebp
mov edi, eax
sub edi, dword [esi + 0xfe8]
cmp dword [0x5168ac], 5
jl 0x437558
push edi
push dword [esi + 0xfec]
push str._pTNI__JustArrivedRemoved_i_age_u
push 5
call fcn.0044d31e
add esp, 0x10
jmp 0x437558
cmp dword [0x5168ac], 5
jl 0x437561
mov eax, dword [esi + 0xfc8]
test eax, eax
je 0x437546
mov eax, dword [eax + 0x40]
jmp 0x437548
xor eax, eax
push eax
push str._pTNI__JustArrivedRemoved0__nCompanionPorts_i
push 5
call fcn.0044d31e
add esp, 0xc
cmp edi, 0xffffffff
jne 0x437673
cmp dword [0x50a208], 0
je 0x437673
mov eax, dword [esi + 0xfc8]
test eax, eax
je 0x437673
cmp dword [eax + 0x40], 0
jle 0x437673
test byte [esp + 0x24], 1
jne 0x437673
push dword [0x50aaa8]
call fcn.00433f11
test eax, eax
je 0x437673
mov eax, dword [eax + 0xfc8]
test eax, eax
je 0x437673
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x437673
xor edx, edx
test ecx, ecx
jle 0x437673
add eax, 0x30
cmp dword [eax], esi
je 0x4375db
inc edx
add eax, 4
cmp edx, ecx
jl 0x4375ca
jmp 0x437673
call ebp
mov edi, eax
sub edi, dword [0x50aaac]
cmp dword [0x5168ac], 5
jl 0x437605
push edi
lea eax, [esi + 0xd0e]
push eax
push str.companion_highlight_for__s___selAge_u
push 5
call fcn.0044d31e
add esp, 0x10
mov ecx, dword [0x50a208]
mov eax, dword [0x50a1f8]
xor edx, edx
inc edx
cmp ecx, edx
je 0x437628
cmp ecx, 2
jne 0x437673
mov ecx, dword [0x50a1fc]
add ecx, eax
cmp edi, ecx
jae 0x437673
mov ecx, dword [esi + 0xfc8]
cmp dword [ecx + 4], 2
mov ecx, dword [0x50a120]
jne 0x437643
mov ebx, dword [ecx*4 + 0x50a22c]
jmp 0x43764a
mov ebx, dword [ecx*4 + 0x50a234]
cmp edi, eax
sbb eax, eax
inc eax
inc eax
mov dword [esi + 0xff0], eax
cmp dword [0x5168ac], 5
mov dword [0x50a1ec], edx
jl 0x437673
push str.set_g_AnyTreeItemColoredtrue___companion_
push 5
call fcn.0044d31e
pop ecx
pop ecx
cmp dword [0x50a120], 0
jne 0x4376bc
test byte [esp + 0x24], 0x10
jne 0x4376ec
test byte [esp + 0x24], 1
je 0x4376ec
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jne 0x4376bc
cmp dword [0x5168ac], 5
mov eax, dword [0x50a244]
mov dword [esp + 0x20], eax
jl 0x4376bc
push eax
push str.changed_default_bkcolor_to_0x_X_bc_selected_no_focused
push 5
call fcn.0044d31e
add esp, 0xc
cmp dword [0x50a120], 1
jne 0x4376ec
test byte [esp + 0x24], 0x10
je 0x4376d3
mov eax, dword [0x50a240]
jmp 0x4376df
test byte [esp + 0x24], 1
je 0x4376ec
mov eax, dword [0x50a248]
mov dword [esp + 0x20], eax
mov eax, dword [0x4a1adc]
mov dword [esp + 0x14], eax
xor ebp, ebp
cmp dword [esi + 8], ebp
jne 0x4376fa
xor eax, eax
jmp 0x437bbe
cmp edi, 0xffffffff
jne 0x437734
lea eax, [esi + 0xff4]
cmp dword [eax], ebp
je 0x43770b
mov dword [eax], ebp
add esi, 0xff0
cmp dword [esi], ebp
je 0x437717
mov dword [esi], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x4376f3
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
jmp 0x437bbb
mov eax, dword [esp + 0x24]
and eax, 1
mov dword [esp + 0x18], eax
je 0x437781
cmp dword [0x50a200], ebp
jne 0x437781
cmp dword [0x5168ac], 5
jl 0x437760
push str._node_is_selected_and_bHighlightSelItemfalse____no_hilight
push 5
call fcn.0044d31e
pop ecx
pop ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x4376f3
mov dword [ecx], eax
cmp dword [0x50a120], ebp
je 0x437bbb
mov eax, dword [0x4a1adc]
jmp 0x437729
cmp dword [esi + 0xfec], ebp
jne 0x437792
cmp dword [0x50a208], 2
jne 0x4377bb
mov eax, dword [0x50a1f8]
cmp edi, eax
jae 0x4377e2
cmp dword [0x5168ac], 5
jl 0x437956
push 0
push eax
push edi
push str._age___u____HighlightDuration___u______u__
push 5
call fcn.0044d31e
add esp, 0x14
push 5
pop ebp
cmp dword [0x5168ac], ebp
jl 0x437956
mov eax, dword [esi + 0xfd0]
test eax, eax
jne 0x43790d
push str._pTNI__pDeviceInfo_is_NULL
jmp 0x437922
mov ecx, dword [0x50a1fc]
lea ebp, [ecx + eax]
cmp edi, ebp
jae 0x437848
mov ecx, edi
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [0x50a1fc]
cmp dword [0x5168ac], 5
mov dword [esp + 0x10], eax
jl 0x437826
push eax
push dword [0x50a1fc]
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u_____100_u__u_u__
push 5
call fcn.0044d31e
add esp, 0x1c
lea eax, [esi + 0xff4]
cmp dword [eax], 1
jne 0x43786c
cmp dword [esi + 0x14], 8
mov dword [eax], 2
jne 0x43786c
push 1
mov ecx, esi
call fcn.0040b6a5
jmp 0x43786c
cmp dword [0x5168ac], 5
mov dword [esp + 0x10], 0x64
jl 0x437877
push 0x64
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u______u__
push 5
call fcn.0044d31e
add esp, 0x14
cmp dword [esp + 0x10], 0x64
jne 0x4377bb
push str.set_pTNI__JustArrivedRemoved__JUST_0
push 4
call fcn.0044d31e
mov eax, dword [esp + 0x30]
xor edx, edx
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xfec], edx
mov dword [esi + 0xfe8], edx
mov dword [esi + 0xff0], edx
mov dword [esi + 0xff4], edx
cmp ecx, dword [eax]
jne 0x4378de
cmp dword [0x5168ac], 5
jl 0x4376f3
mov eax, dword [esi + 0x824]
cmp word [eax], dx
jne 0x4378c9
lea eax, [esi + 0xd0e]
push eax
push str._fading_finished____unchanged_colors____return_false___s_
push 5
call fcn.0044d31e
add esp, 0xc
jmp 0x4376f3
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp dword [0x5168ac], 5
jl 0x437bbb
push dword [eax]
push str._fading_finished____return_true_bc_crBack0x_X
push 5
call fcn.0044d31e
add esp, 0xc
jmp 0x437bbb
mov ecx, dword [0x50c78c]
push eax
call fcn.0040121c
test eax, eax
jne 0x43792c
push str._pTNI__pDeviceInfo_is_invalid
push ebp
call fcn.0044d31e
pop ecx
pop ecx
jmp 0x437956
mov edi, dword [esi + 0xfd0]
mov ecx, dword [0x50c78c]
push edi
call fcn.004011ae
push eax
push dword [edi + 0x39f4]
push dword [edi + 8]
push str._IsPresent_i_Prob_u_IsSrDev_i
push ebp
call fcn.0044d31e
add esp, 0x14
mov eax, dword [0x50a120]
xor edi, edi
cmp eax, 1
jg 0x437a7b
cmp dword [esi + 0xfec], edi
je 0x437a7b
mov eax, dword [esi + 0xfd0]
cmp eax, edi
je 0x4379ad
mov eax, dword [eax + 0x39f4]
cmp eax, edi
je 0x43798e
cmp dword [esi + 0x1010], edi
jne 0x4379bf
push eax
call fcn.0044c1a7
test eax, eax
jne 0x4379bf
push dword [esi + 0xfd0]
mov ecx, dword [0x50c78c]
call fcn.004011ae
test eax, eax
jne 0x4379bf
mov eax, dword [esi + 0xfd0]
cmp eax, edi
jne 0x4379eb
cmp dword [esi + 0x1010], edi
je 0x4379e7
cmp dword [0x5168ac], 5
jl 0x4379d6
push str._cyan
push 5
call fcn.0044d31e
pop ecx
pop ecx
mov eax, dword [0x50a120]
mov ebx, dword [eax*4 + 0x50a224]
jmp 0x437a7b
cmp eax, edi
je 0x437a58
mov ecx, dword [0x50c78c]
push eax
call fcn.0040121c
test eax, eax
je 0x437a58
mov esi, dword [esi + 0xfd0]
cmp dword [esi + 8], edi
je 0x437a58
cmp dword [esi + 0x39f4], edi
je 0x437a33
cmp dword [0x5168ac], 5
jl 0x437a25
push str._yellow
push 5
call fcn.0044d31e
pop ecx
pop ecx
mov eax, dword [0x50a120]
mov ebx, dword [eax*4 + 0x50a21c]
jmp 0x437a7b
cmp dword [0x5168ac], 5
jl 0x437a4a
push str._green
push 5
call fcn.0044d31e
pop ecx
pop ecx
mov eax, dword [0x50a120]
mov ebx, dword [eax*4 + 0x50a20c]
jmp 0x437a7b
cmp dword [0x5168ac], 5
jl 0x437a6f
push str._red
push 5
call fcn.0044d31e
pop ecx
pop ecx
mov eax, dword [0x50a120]
mov ebx, dword [eax*4 + 0x50a214]
cmp ebx, 0xffffffff
je 0x4376f3
cmp eax, edi
jne 0x437b3d
cmp dword [0x50a200], edi
je 0x437b3d
push dword [esp + 0x24]
push str.A_uItemState0x_X
push 5
pop esi
push esi
call fcn.0044d31e
add esp, 0xc
cmp dword [esp + 0x18], edi
je 0x437b3d
push 0x469308
push esi
call fcn.0044d31e
pop ecx
pop ecx
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.00448702
test eax, eax
je 0x437b3d
cmp dword [0x5168ac], esi
jl 0x437aed
push ebx
push str.make_dark_0x_08X
push esi
call fcn.0044d31e
add esp, 0xc
mov cl, bl
cmp bl, 0x96
jb 0x437af7
sub cl, 0x16
mov eax, ebx
shr eax, 8
cmp al, 0x96
jb 0x437b02
add al, 0xd4
shr ebx, 0x10
mov dl, bl
cmp dl, 0x96
jb 0x437b0f
add dl, 0xdf
movzx ebx, dl
shl ebx, 8
movzx eax, al
or ebx, eax
movzx eax, cl
shl ebx, 8
or ebx, eax
cmp dword [0x5168ac], 5
jl 0x437b3b
push ebx
push str.made_dark_0x_08X
push 5
call fcn.0044d31e
add esp, 0xc
xor edi, edi
push dword [esp + 0x20]
push dword [esp + 0x14]
push ebx
call fcn.0042baa2
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [0x50a120], edi
je 0x437b64
mov eax, dword [0x4a1adc]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
cmp dword [0x5168ac], 5
jl 0x437b87
push dword [ecx]
push dword [esp + 0x24]
push dword [esp + 0x18]
push ebx
push str._bg0x_06X____i_____0x_06X_____0x_06X
push 5
call fcn.0044d31e
add esp, 0x18
cmp dword [0x50a12c], edi
jne 0x437bbb
push 1
push dword [0x50a13c]
call fcn.00428d35
mov eax, dword [0x4a1af8]
push 0x43187b
add eax, 0x64
push eax
push 0x92025971
push dword [0x50a13c]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10