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

Disassembly:
sub esp, 0xc
cmp dword [0x515894], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
jl 0x436a1e
mov eax, dword [esi + 0x824]
cmp word [eax], 0
jne 0x4369fe
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.0044c79b
add esp, 0x18
cmp dword [0x508d08], 0
je 0x436a66
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
mov ebp, 0x8000
mov ecx, ebp
test cx, ax
jne 0x436a46
push 2
call edi
test bp, ax
je 0x436a66
push dword [0x508d2c]
call fcn.004328a1
test eax, eax
je 0x436a66
cmp eax, dword [esi + 8]
jne 0x436a61
or dword [esp + 0x24], 0x11
jmp 0x436a66
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 + 0xfe8], 0
mov dword [esp + 0x14], eax
mov ebx, edi
je 0x436abe
call ebp
mov edi, eax
sub edi, dword [esi + 0xfe4]
cmp dword [0x515894], 5
jl 0x436ae8
push edi
push dword [esi + 0xfe8]
push str._pTNI__JustArrivedRemoved_i_age_u
push 5
call fcn.0044c79b
add esp, 0x10
jmp 0x436ae8
cmp dword [0x515894], 5
jl 0x436af1
mov eax, dword [esi + 0xfc8]
test eax, eax
je 0x436ad6
mov eax, dword [eax + 0x40]
jmp 0x436ad8
xor eax, eax
push eax
push str._pTNI__JustArrivedRemoved0__nCompanionPorts_i
push 5
call fcn.0044c79b
add esp, 0xc
cmp edi, 0xffffffff
jne 0x436c03
cmp dword [0x508de8], 0
je 0x436c03
mov eax, dword [esi + 0xfc8]
test eax, eax
je 0x436c03
cmp dword [eax + 0x40], 0
jle 0x436c03
test byte [esp + 0x24], 1
jne 0x436c03
push dword [0x50968c]
call fcn.004335db
test eax, eax
je 0x436c03
mov eax, dword [eax + 0xfc8]
test eax, eax
je 0x436c03
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x436c03
xor edx, edx
test ecx, ecx
jle 0x436c03
add eax, 0x30
cmp dword [eax], esi
je 0x436b6b
inc edx
add eax, 4
cmp edx, ecx
jl 0x436b5a
jmp 0x436c03
call ebp
mov edi, eax
sub edi, dword [0x509690]
cmp dword [0x515894], 5
jl 0x436b95
push edi
lea eax, [esi + 0xd0e]
push eax
push str.companion_highlight_for__s___selAge_u
push 5
call fcn.0044c79b
add esp, 0x10
mov ecx, dword [0x508de8]
mov eax, dword [0x508dd8]
xor edx, edx
inc edx
cmp ecx, edx
je 0x436bb8
cmp ecx, 2
jne 0x436c03
mov ecx, dword [0x508ddc]
add ecx, eax
cmp edi, ecx
jae 0x436c03
mov ecx, dword [esi + 0xfc8]
cmp dword [ecx + 4], 2
mov ecx, dword [0x508d08]
jne 0x436bd3
mov ebx, dword [ecx*4 + 0x508e0c]
jmp 0x436bda
mov ebx, dword [ecx*4 + 0x508e14]
cmp edi, eax
sbb eax, eax
inc eax
inc eax
mov dword [esi + 0xfec], eax
cmp dword [0x515894], 5
mov dword [0x508dd0], edx
jl 0x436c03
push str.set_g_AnyTreeItemColoredtrue___companion_
push 5
call fcn.0044c79b
pop ecx
pop ecx
cmp dword [0x508d08], 0
jne 0x436c4c
test byte [esp + 0x24], 0x10
jne 0x436c7c
test byte [esp + 0x24], 1
je 0x436c7c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jne 0x436c4c
cmp dword [0x515894], 5
mov eax, dword [0x508e24]
mov dword [esp + 0x20], eax
jl 0x436c4c
push eax
push str.changed_default_bkcolor_to_0x_X_bc_selected_no_focused
push 5
call fcn.0044c79b
add esp, 0xc
cmp dword [0x508d08], 1
jne 0x436c7c
test byte [esp + 0x24], 0x10
je 0x436c63
mov eax, dword [0x508e20]
jmp 0x436c6f
test byte [esp + 0x24], 1
je 0x436c7c
mov eax, dword [0x508e28]
mov dword [esp + 0x20], eax
mov eax, dword [0x4a0ad4]
mov dword [esp + 0x14], eax
xor ebp, ebp
cmp dword [esi + 8], ebp
jne 0x436c8a
xor eax, eax
jmp 0x43714e
cmp edi, 0xffffffff
jne 0x436cc4
lea eax, [esi + 0xff0]
cmp dword [eax], ebp
je 0x436c9b
mov dword [eax], ebp
add esi, 0xfec
cmp dword [esi], ebp
je 0x436ca7
mov dword [esi], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x436c83
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
jmp 0x43714b
mov eax, dword [esp + 0x24]
and eax, 1
mov dword [esp + 0x18], eax
je 0x436d11
cmp dword [0x508de0], ebp
jne 0x436d11
cmp dword [0x515894], 5
jl 0x436cf0
push str._node_is_selected_and_bHighlightSelItemfalse____no_hilight
push 5
call fcn.0044c79b
pop ecx
pop ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x436c83
mov dword [ecx], eax
cmp dword [0x508d08], ebp
je 0x43714b
mov eax, dword [0x4a0ad4]
jmp 0x436cb9
cmp dword [esi + 0xfe8], ebp
jne 0x436d22
cmp dword [0x508de8], 2
jne 0x436d4b
mov eax, dword [0x508dd8]
cmp edi, eax
jae 0x436d72
cmp dword [0x515894], 5
jl 0x436ee6
push 0
push eax
push edi
push str._age___u____HighlightDuration___u______u__
push 5
call fcn.0044c79b
add esp, 0x14
push 5
pop ebp
cmp dword [0x515894], ebp
jl 0x436ee6
mov eax, dword [esi + 0xfd0]
test eax, eax
jne 0x436e9d
push str._pTNI__pDeviceInfo_is_NULL
jmp 0x436eb2
mov ecx, dword [0x508ddc]
lea ebp, [ecx + eax]
cmp edi, ebp
jae 0x436dd8
mov ecx, edi
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [0x508ddc]
cmp dword [0x515894], 5
mov dword [esp + 0x10], eax
jl 0x436db6
push eax
push dword [0x508ddc]
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u_____100_u__u_u__
push 5
call fcn.0044c79b
add esp, 0x1c
lea eax, [esi + 0xff0]
cmp dword [eax], 1
jne 0x436dfc
cmp dword [esi + 0x14], 8
mov dword [eax], 2
jne 0x436dfc
push 1
mov ecx, esi
call fcn.0040b3b9
jmp 0x436dfc
cmp dword [0x515894], 5
mov dword [esp + 0x10], 0x64
jl 0x436e07
push 0x64
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u______u__
push 5
call fcn.0044c79b
add esp, 0x14
cmp dword [esp + 0x10], 0x64
jne 0x436d4b
push str.set_pTNI__JustArrivedRemoved__JUST_0
push 4
call fcn.0044c79b
mov eax, dword [esp + 0x30]
xor edx, edx
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xfe8], edx
mov dword [esi + 0xfe4], edx
mov dword [esi + 0xfec], edx
mov dword [esi + 0xff0], edx
cmp ecx, dword [eax]
jne 0x436e6e
cmp dword [0x515894], 5
jl 0x436c83
mov eax, dword [esi + 0x824]
cmp word [eax], dx
jne 0x436e59
lea eax, [esi + 0xd0e]
push eax
push str._fading_finished____unchanged_colors____return_false___s_
push 5
call fcn.0044c79b
add esp, 0xc
jmp 0x436c83
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp dword [0x515894], 5
jl 0x43714b
push dword [eax]
push str._fading_finished____return_true_bc_crBack0x_X
push 5
call fcn.0044c79b
add esp, 0xc
jmp 0x43714b
mov ecx, dword [0x50b370]
push eax
call fcn.0040121c
test eax, eax
jne 0x436ebc
push str._pTNI__pDeviceInfo_is_invalid
push ebp
call fcn.0044c79b
pop ecx
pop ecx
jmp 0x436ee6
mov edi, dword [esi + 0xfd0]
mov ecx, dword [0x50b370]
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.0044c79b
add esp, 0x14
mov eax, dword [0x508d08]
xor edi, edi
cmp eax, 1
jg 0x43700b
cmp dword [esi + 0xfe8], edi
je 0x43700b
mov eax, dword [esi + 0xfd0]
cmp eax, edi
je 0x436f3d
mov eax, dword [eax + 0x39f4]
cmp eax, edi
je 0x436f1e
cmp dword [esi + 0x100c], edi
jne 0x436f4f
push eax
call fcn.0044b624
test eax, eax
jne 0x436f4f
push dword [esi + 0xfd0]
mov ecx, dword [0x50b370]
call fcn.004011ae
test eax, eax
jne 0x436f4f
mov eax, dword [esi + 0xfd0]
cmp eax, edi
jne 0x436f7b
cmp dword [esi + 0x100c], edi
je 0x436f77
cmp dword [0x515894], 5
jl 0x436f66
push str._cyan
push 5
call fcn.0044c79b
pop ecx
pop ecx
mov eax, dword [0x508d08]
mov ebx, dword [eax*4 + 0x508e04]
jmp 0x43700b
cmp eax, edi
je 0x436fe8
mov ecx, dword [0x50b370]
push eax
call fcn.0040121c
test eax, eax
je 0x436fe8
mov esi, dword [esi + 0xfd0]
cmp dword [esi + 8], edi
je 0x436fe8
cmp dword [esi + 0x39f4], edi
je 0x436fc3
cmp dword [0x515894], 5
jl 0x436fb5
push str._yellow
push 5
call fcn.0044c79b
pop ecx
pop ecx
mov eax, dword [0x508d08]
mov ebx, dword [eax*4 + 0x508dfc]
jmp 0x43700b
cmp dword [0x515894], 5
jl 0x436fda
push str._green
push 5
call fcn.0044c79b
pop ecx
pop ecx
mov eax, dword [0x508d08]
mov ebx, dword [eax*4 + 0x508dec]
jmp 0x43700b
cmp dword [0x515894], 5
jl 0x436fff
push str._red
push 5
call fcn.0044c79b
pop ecx
pop ecx
mov eax, dword [0x508d08]
mov ebx, dword [eax*4 + 0x508df4]
cmp ebx, 0xffffffff
je 0x436c83
cmp eax, edi
jne 0x4370cd
cmp dword [0x508de0], edi
je 0x4370cd
push dword [esp + 0x24]
push str.A_uItemState0x_X
push 5
pop esi
push esi
call fcn.0044c79b
add esp, 0xc
cmp dword [esp + 0x18], edi
je 0x4370cd
push 0x4682c8
push esi
call fcn.0044c79b
pop ecx
pop ecx
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.00447b93
test eax, eax
je 0x4370cd
cmp dword [0x515894], esi
jl 0x43707d
push ebx
push str.make_dark_0x_08X
push esi
call fcn.0044c79b
add esp, 0xc
mov cl, bl
cmp bl, 0x96
jb 0x437087
sub cl, 0x16
mov eax, ebx
shr eax, 8
cmp al, 0x96
jb 0x437092
add al, 0xd4
shr ebx, 0x10
mov dl, bl
cmp dl, 0x96
jb 0x43709f
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 [0x515894], 5
jl 0x4370cb
push ebx
push str.made_dark_0x_08X
push 5
call fcn.0044c79b
add esp, 0xc
xor edi, edi
push dword [esp + 0x20]
push dword [esp + 0x14]
push ebx
call fcn.0042b561
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [0x508d08], edi
je 0x4370f4
mov eax, dword [0x4a0ad4]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
cmp dword [0x515894], 5
jl 0x437117
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.0044c79b
add esp, 0x18
cmp dword [0x508d14], edi
jne 0x43714b
push 1
push dword [0x508d24]
call fcn.0042894c
mov eax, dword [0x4a0af0]
push 0x430f81
add eax, 0x64
push eax
push 0x92025971
push dword [0x508d24]
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