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

Disassembly:
sub esp, 0xc
cmp dword [0x512584], 5
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
jl 0x434840
mov eax, dword [esi + 0x820]
cmp word [eax], 0
jne 0x434820
lea eax, [esi + 0xd0a]
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.00449e4d
add esp, 0x18
cmp dword [0x505c0c], 0
je 0x434888
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
mov ebp, 0x8000
mov ecx, ebp
test cx, ax
jne 0x434868
push 2
call edi
test bp, ax
je 0x434888
push dword [0x505c30]
call fcn.00430d89
test eax, eax
je 0x434888
cmp eax, dword [esi + 8]
jne 0x434883
or dword [esp + 0x24], 0x11
jmp 0x434888
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 + 0xfe0], 0
mov dword [esp + 0x14], eax
mov ebx, edi
je 0x4348e0
call ebp
mov edi, eax
sub edi, dword [esi + 0xfdc]
cmp dword [0x512584], 5
jl 0x43490a
push edi
push dword [esi + 0xfe0]
push str._pTNI__JustArrivedRemoved_i_age_u
push 5
call fcn.00449e4d
add esp, 0x10
jmp 0x43490a
cmp dword [0x512584], 5
jl 0x434913
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x4348f8
mov eax, dword [eax + 0x40]
jmp 0x4348fa
xor eax, eax
push eax
push str._pTNI__JustArrivedRemoved0__nCompanionPorts_i
push 5
call fcn.00449e4d
add esp, 0xc
cmp edi, 0xffffffff
jne 0x434a25
cmp dword [0x505ce8], 0
je 0x434a25
mov eax, dword [esi + 0xfc4]
test eax, eax
je 0x434a25
cmp dword [eax + 0x40], 0
jle 0x434a25
test byte [esp + 0x24], 1
jne 0x434a25
push dword [0x506384]
call fcn.004317b2
test eax, eax
je 0x434a25
mov eax, dword [eax + 0xfc4]
test eax, eax
je 0x434a25
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x434a25
xor edx, edx
test ecx, ecx
jle 0x434a25
add eax, 0x30
cmp dword [eax], esi
je 0x43498d
inc edx
add eax, 4
cmp edx, ecx
jl 0x43497c
jmp 0x434a25
call ebp
mov edi, eax
sub edi, dword [0x506388]
cmp dword [0x512584], 5
jl 0x4349b7
push edi
lea eax, [esi + 0xd0a]
push eax
push str.companion_highlight_for__s___selAge_u
push 5
call fcn.00449e4d
add esp, 0x10
mov ecx, dword [0x505ce8]
mov eax, dword [0x505cd8]
xor edx, edx
inc edx
cmp ecx, edx
je 0x4349da
cmp ecx, 2
jne 0x434a25
mov ecx, dword [0x505cdc]
add ecx, eax
cmp edi, ecx
jae 0x434a25
mov ecx, dword [esi + 0xfc4]
cmp dword [ecx + 4], 2
mov ecx, dword [0x505c0c]
jne 0x4349f5
mov ebx, dword [ecx*4 + 0x505d0c]
jmp 0x4349fc
mov ebx, dword [ecx*4 + 0x505d14]
cmp edi, eax
sbb eax, eax
inc eax
inc eax
mov dword [esi + 0xfe4], eax
cmp dword [0x512584], 5
mov dword [0x505cd0], edx
jl 0x434a25
push str.set_g_AnyTreeItemColoredtrue___companion_
push 5
call fcn.00449e4d
pop ecx
pop ecx
cmp dword [0x505c0c], 0
jne 0x434a6e
test byte [esp + 0x24], 0x10
jne 0x434a9e
test byte [esp + 0x24], 1
je 0x434a9e
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
jne 0x434a6e
cmp dword [0x512584], 5
mov eax, dword [0x505d24]
mov dword [esp + 0x20], eax
jl 0x434a6e
push eax
push str.changed_default_bkcolor_to_0x_X_bc_selected_no_focused
push 5
call fcn.00449e4d
add esp, 0xc
cmp dword [0x505c0c], 1
jne 0x434a9e
test byte [esp + 0x24], 0x10
je 0x434a85
mov eax, dword [0x505d20]
jmp 0x434a91
test byte [esp + 0x24], 1
je 0x434a9e
mov eax, dword [0x505d28]
mov dword [esp + 0x20], eax
mov eax, dword [0x49dad0]
mov dword [esp + 0x14], eax
xor ebp, ebp
cmp dword [esi + 8], ebp
jne 0x434aac
xor eax, eax
jmp 0x434f52
cmp edi, 0xffffffff
jne 0x434ae6
lea eax, [esi + 0xfe8]
cmp dword [eax], ebp
je 0x434abd
mov dword [eax], ebp
add esi, 0xfe4
cmp dword [esi], ebp
je 0x434ac9
mov dword [esi], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x434aa5
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
jmp 0x434f4f
mov eax, dword [esp + 0x24]
and eax, 1
mov dword [esp + 0x18], eax
je 0x434b33
cmp dword [0x505ce0], ebp
jne 0x434b33
cmp dword [0x512584], 5
jl 0x434b12
push str._node_is_selected_and_bHighlightSelItemfalse____no_hilight
push 5
call fcn.00449e4d
pop ecx
pop ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx]
je 0x434aa5
mov dword [ecx], eax
cmp dword [0x505c0c], ebp
je 0x434f4f
mov eax, dword [0x49dad0]
jmp 0x434adb
cmp dword [0x505610], 5
jne 0x434b49
push 1
push dword [0x505c28]
call fcn.00427d3d
cmp dword [esi + 0xfe0], ebp
jne 0x434b5a
cmp dword [0x505ce8], 2
jne 0x434b83
mov eax, dword [0x505cd8]
cmp edi, eax
jae 0x434baa
cmp dword [0x512584], 5
jl 0x434d1e
push 0
push eax
push edi
push str._age___u____HighlightDuration___u______u__
push 5
call fcn.00449e4d
add esp, 0x14
push 5
pop ebp
cmp dword [0x512584], ebp
jl 0x434d1e
mov eax, dword [esi + 0xfcc]
test eax, eax
jne 0x434cd5
push str._pTNI__pDeviceInfo_is_NULL
jmp 0x434cea
mov ecx, dword [0x505cdc]
lea ebp, [ecx + eax]
cmp edi, ebp
jae 0x434c10
mov ecx, edi
sub ecx, eax
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [0x505cdc]
cmp dword [0x512584], 5
mov dword [esp + 0x10], eax
jl 0x434bee
push eax
push dword [0x505cdc]
push ecx
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u_____100_u__u_u__
push 5
call fcn.00449e4d
add esp, 0x1c
lea eax, [esi + 0xfe8]
cmp dword [eax], 1
jne 0x434c34
cmp dword [esi + 0x10], 8
mov dword [eax], 2
jne 0x434c34
push 1
mov ecx, esi
call fcn.0040abaa
jmp 0x434c34
cmp dword [0x512584], 5
mov dword [esp + 0x10], 0x64
jl 0x434c3f
push 0x64
push ebp
push edi
push str._age___u____HighlightDurationFadingDuration___u______u__
push 5
call fcn.00449e4d
add esp, 0x14
cmp dword [esp + 0x10], 0x64
jne 0x434b83
push str.set_pTNI__JustArrivedRemoved__JUST_0
push 4
call fcn.00449e4d
mov eax, dword [esp + 0x30]
xor edx, edx
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xfe0], edx
mov dword [esi + 0xfdc], edx
mov dword [esi + 0xfe4], edx
mov dword [esi + 0xfe8], edx
cmp ecx, dword [eax]
jne 0x434ca6
cmp dword [0x512584], 5
jl 0x434aa5
mov eax, dword [esi + 0x820]
cmp word [eax], dx
jne 0x434c91
lea eax, [esi + 0xd0a]
push eax
push str._fading_finished____unchanged_colors____return_false___s_
push 5
call fcn.00449e4d
add esp, 0xc
jmp 0x434aa5
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
cmp dword [0x512584], 5
jl 0x434f4f
push dword [eax]
push str._fading_finished____return_true_bc_crBack0x_X
push 5
call fcn.00449e4d
add esp, 0xc
jmp 0x434f4f
mov ecx, dword [0x508068]
push eax
call fcn.0040121c
test eax, eax
jne 0x434cf4
push str._pTNI__pDeviceInfo_is_invalid
push ebp
call fcn.00449e4d
pop ecx
pop ecx
jmp 0x434d1e
mov edi, dword [esi + 0xfcc]
mov ecx, dword [0x508068]
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.00449e4d
add esp, 0x14
mov eax, dword [0x505c0c]
cmp eax, 1
jg 0x434e43
xor edi, edi
cmp dword [esi + 0xfe0], edi
je 0x434e43
mov eax, dword [esi + 0xfcc]
cmp eax, edi
je 0x434d75
mov eax, dword [eax + 0x39e8]
cmp eax, edi
je 0x434d56
cmp dword [esi + 0x1004], edi
jne 0x434d87
push eax
call fcn.00448ce9
test eax, eax
jne 0x434d87
push dword [esi + 0xfcc]
mov ecx, dword [0x508068]
call fcn.004011ae
test eax, eax
jne 0x434d87
mov eax, dword [esi + 0xfcc]
cmp eax, edi
jne 0x434db3
cmp dword [esi + 0x1004], edi
je 0x434daf
cmp dword [0x512584], 5
jl 0x434d9e
push str._cyan
push 5
call fcn.00449e4d
pop ecx
pop ecx
mov eax, dword [0x505c0c]
mov ebx, dword [eax*4 + 0x505d04]
jmp 0x434e43
cmp eax, edi
je 0x434e20
mov ecx, dword [0x508068]
push eax
call fcn.0040121c
test eax, eax
je 0x434e20
mov esi, dword [esi + 0xfcc]
cmp dword [esi + 8], edi
je 0x434e20
cmp dword [esi + 0x39e8], edi
je 0x434dfb
cmp dword [0x512584], 5
jl 0x434ded
push str._yellow
push 5
call fcn.00449e4d
pop ecx
pop ecx
mov eax, dword [0x505c0c]
mov ebx, dword [eax*4 + 0x505cfc]
jmp 0x434e43
cmp dword [0x512584], 5
jl 0x434e12
push str._green
push 5
call fcn.00449e4d
pop ecx
pop ecx
mov eax, dword [0x505c0c]
mov ebx, dword [eax*4 + 0x505cec]
jmp 0x434e43
cmp dword [0x512584], 5
jl 0x434e37
push str._red
push 5
call fcn.00449e4d
pop ecx
pop ecx
mov eax, dword [0x505c0c]
mov ebx, dword [eax*4 + 0x505cf4]
cmp ebx, 0xffffffff
je 0x434aa5
test eax, eax
jne 0x434f04
cmp dword [0x505ce0], eax
je 0x434f04
push dword [esp + 0x24]
push str.A_uItemState0x_X
push 5
pop esi
push esi
call fcn.00449e4d
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x434f04
push 0x465d90
push esi
call fcn.00449e4d
pop ecx
pop ecx
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call fcn.004452d5
test eax, eax
je 0x434f04
cmp dword [0x512584], esi
jl 0x434eb6
push ebx
push str.make_dark_0x_08X
push esi
call fcn.00449e4d
add esp, 0xc
mov cl, bl
cmp bl, 0x96
jb 0x434ec0
sub cl, 0x16
mov eax, ebx
shr eax, 8
cmp al, 0x96
jb 0x434ecb
add al, 0xd4
shr ebx, 0x10
mov dl, bl
cmp dl, 0x96
jb 0x434ed8
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 [0x512584], 5
jl 0x434f04
push ebx
push str.made_dark_0x_08X
push 5
call fcn.00449e4d
add esp, 0xc
push dword [esp + 0x20]
push dword [esp + 0x14]
push ebx
call fcn.0042a23a
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [0x505c0c], 0
je 0x434f2c
mov eax, dword [0x49dad0]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
cmp dword [0x512584], 5
jl 0x434f4f
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.00449e4d
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10